INTERACT FORUM
More => Old Versions => Media Center 16 (Development Ended) => Topic started by: steviewonders on September 06, 2011, 01:59:30 pm
-
Hi. I've looked at the options for creating a custom field but it's much too technical for me. How would i be able to create a field that separates lossy and lossless formats? My audio files are a mixture of flac, wav, wma and mp3 if that's of any relevance. Thanks for any help.
-
Welcome to the forum. Just create a new field. It will work for any filetype.
-
What details should i put in the options? I'm trying to get flac and wav grouped in the heading lossless and mp3 and wma under lossy.
-
Start simply; you don't need to create a new field, as you can use existing data.
Create a new expression column in a panes view. Enter the following as the expression:
If(Regex([File Type], /#^(flac|wav)$#/), Lossless, Lossy)
It looks for file types flac or wav, and outputs the label Lossless, otherwise it outputs the label Lossy. Add more lossless types as necessary, each separated by the | character as above.
If you're not sure how to add a new column to a panes view, let us know...
-
Thank you very much!!!! My music library is now organised exactly how i want it.