PDA

View Full Version : Automatically listing every OC ReMix in foobar2k


pantra
07-22-2010, 06:17 PM
This is a custom pattern for foobar2000 which is supposed to list every song in your library related to ocremix by only querying metadata and not relying on paths, filenames, directory structures and so on. But since apparently not all remixes conform to ocremixes id3-specs (http://ocremix.org/info/Detailed_ID3v2_Tag_Specification) this is a bit cheesy and not exactly super scientific. I thought I'd share this anyway since there might actually be another person out there who finds this useful. :-D

So what I came up with is this:

$puts(x,$meta(album))$puts(y,$meta(www))$if($or($s trstr($get(x),ocremix),$strstr($get(y),ocremix)),% original album%)

Well, what is it for? It checks for the substring ocremix in both the album- and www-tag. I found these to be the two criteria that hit home with all ocr-related 2155 flacs and mp3s I have (the Kong in Concert album and the SSF II Turbo HD Soundtrack both being examples for not having ocremix as part of their album title, but having it as part of the www-tag). Anyway, if the query finds the ocremix substring in one of these tags, it outputs the files by value of the original-album-tag, which is supposed to be the remixes original game title. This last part is just a preference of mine, you can as well put in whatever you want, like say %title% if you want the files to be listed by... well, title. :wink:

So if you're interested and want to give this a try, you could start by going to "file/preferences/display/default user interface/playlist view" and create a custom column or grouping scheme. Name the entry something like "OC ReMixes: Game Title" and put in the pattern listed above.

http://dl.dropbox.com/u/518674/fb2k_ocr_prefs.jpg

What I find most comfortable is having a tab with the Facets media library viewer component open, which has a column with my custom pattern. This gives you an alphabetical list with only the game titles. When a game is selected, all corresponding tracks are automatically sent to a new Facet playlist.

http://dl.dropbox.com/u/518674/fb2k_ocr_facet.jpg

That's pretty much all there is to it. Please let me know if you find this useful or if you have suggestions for a more polished pattern.

Schwaltzvald
07-22-2010, 06:20 PM
This is rather fascinating, gonna have to give it a try soon as I head back from work. :D