Music Banter - View Single Post - Foobar2000 - Support and Discussions
View Single Post
Old 03-26-2010, 10:30 AM   #77 (permalink)
Guybrush
Juicious Maximus III
 
Guybrush's Avatar
 
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
Default

Quote:
Originally Posted by noise View Post
could you past the code for that artist filter here? i want to take a look at it
There is no code aside from the sort script really. If you look at the screenshot up there, the filter that shows artist only has "artist" in it

I'll change it to %<artist>% now, though. That's what I'd like it to be.

edit :

My sorting script looks like this : $swapprefix(%artist%) $if(%release year%,%release year%,%date%) %album% $if(%disc number%,$left(%disc number%,2),) %tracknumber% %title%

%release year% is a tag I've made which is used when present instead of date. The reason is if I have a "best of the 80s" album released in 2009, I'd set the %release date% to 2009 and hope to tag each song with the original date which is sometime in the 80s. The reason I'm using the left 2 disc numbers is that I sometimes write disc numbers like this "2 - Bonus Disc" (or have in the past anyways), so that's to make sure I only fetch numbers.


more edit :

My Library Tree sorting script looks like this : $swapprefix(%album artist%) $if(%debut%,0,1) $if(%release year%,%release year%,%date%) %album% $if(%disc number%,$left(%disc number%,2),) %tracknumber% %title%

It's much the same except it makes doubly sure anything tagged as debut comes first. This is to sort out conflicts where an artist has a second release the same year as the debut.


edit yet again :

Ugh, I see filters won't accept "%<artist>%" .. That's losing a really neat functionality there!
__________________
Something Completely Different
Guybrush is offline   Reply With Quote