|
Register | Blogging | Today's Posts | Search |
|
Thread Tools | Display Modes |
01-30-2010, 07:56 AM | #1 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
Foobar2000 - Support and Discussions
I know I'm not the only one who's learning Foobar2000 these days. It's not super easy to those who know nothing of scripting and so on, so let's get our heads together in this thread and see if we can solve our problems.
If there's anything, ask away! I installed Foobar only yesterday, but it is coming together quite nicely. It takes a little while, but I'm figuring stuff out. However, there are a few problems. Number 1 is that I have a problem with playlist sorting. I have a library tree which is set up with different filters or queries if you want. One shows all Mixed Artists Compilation albums (%album artist% IS Various artists). A problem I had when I first did this was that it was sorting by artist, then albums. However, I managed to sort out that by fiddling with the playlist sorting rules. I rewrote it to this : Code:
$if2(%album artist%,<Various Artists>) [ - %album%] I added a line so that my playlist sorting follows this script : Code:
$if2(%album artist%,<Various Artists>) [ - %album%] $if(%disc number% ISNOT empty,CD %disc number%) However, the problem comes when I'm looking at albums which do not have multiple discs. The level of the sorting hierarchy is still there, but since it has no information to sort by, it shows up as just a line basically. You can see the problem here. Check out the top album - under the line with the band and the album title, there's another line. I would like to be able to have a conditional sorting hierarchy where that line doesn't show if the %disc number% tag is empty! Can anyone help?
__________________
Something Completely Different |
01-30-2010, 08:13 AM | #2 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
Ah, nevermind!
I just did this all in one line : Code:
$if2(%album artist%,<Various Artists>) [ - %album%] $if(%disc number% ISNOT empty,- CD %disc number%)
__________________
Something Completely Different |
01-30-2010, 08:19 AM | #3 (permalink) |
thirsty ears
Join Date: Sep 2009
Location: Boulder
Posts: 742
|
edit - too late! anyway i'll leave my post:
as far as i know, the existence of a line cannot be conditional. your best bet is to put it all on one line. by the way, you can also use this syntax which will return the first value if the tag is present, and the second (in this case null) value if it is empty: $if(%disc number%,CD %disc number%,) here is the script i use, and the result for multi-disc albums Code:
$puts(sep,$transition(' '$trim($repeat('―',2)),$rgb(200,200,200),$rgb(200,200,200))) $rgb(60,100,60)%album artist% $get(sep) $rgb(164,180,134) '['%date%'] ' $puts(normal,$rgb(60,100,60)) $puts(light,$rgb(164,180,134)) $puts(bright,$rgb(205,135,52)) $get(normal) $replace(%album%, '(',$get(light)'(', ')',')'$get(normal), '[',$get(bright)'[', ']',']'$get(normal), 'EP',$get(bright)'[EP]', '12"',$get(bright)'[12"]', '7"',$get(bright)'[7"]') $if(%discnumber%, $get(sep)$rgb(0,0,255) Disc %discnumber% ,)
__________________
my flac collection |
01-30-2010, 08:46 AM | #4 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
Strange, I tried out your script, but it splits up my compilation albums. I can't see why as it organizes by %album artist% first which is Various Artists on all my compilation albums
edit : Ah, nevermind. It was the date tag! edit 2 : By the way, can I have conditions in my library tree? Compilation albums are like this : Code:
%album%\Disc %disc number%
However, if the %disc number% is empty, this happens :
I'd like it to be conditional so that CDs only come up if the %disc number% tag has a value. It's not a biggie, but why not? edit again : Sorry, I'm figuring out stuff on my own again .. :p Code:
%album%\$if(%disc number% PRESENT, Disc %disc number%)
__________________
Something Completely Different |
01-30-2010, 09:24 AM | #5 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
I've run into another problem which I can't figure out. All my soundtracks and compilations are sorting nicely, but with one exception. Blade Runner just won't and I can't for the life of me figure out why
Screenshot Any ideas?
__________________
Something Completely Different |
01-30-2010, 09:36 AM | #6 (permalink) |
thirsty ears
Join Date: Sep 2009
Location: Boulder
Posts: 742
|
ok firstly, you can use square brackets [] to make things only show up if they are present
so [Disc %disc number%] will only appear if the tag is filled. for sorting on your blade runner - it might have to do with the option in the Library Tree dialog where you can tell the component how to sort files when it sends them to the playlist.
__________________
my flac collection |
01-30-2010, 09:41 AM | #7 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
Ah, nice tip .. Thanks again
__________________
Something Completely Different |
01-30-2010, 09:59 AM | #8 (permalink) |
thirsty ears
Join Date: Sep 2009
Location: Boulder
Posts: 742
|
did you fix the blade runner issue?
sometimes if i just remove the tag then fill it out again it will fix little issues like that...
__________________
my flac collection |
01-30-2010, 10:26 AM | #9 (permalink) |
Juicious Maximus III
Join Date: Nov 2008
Location: Scabb Island
Posts: 6,525
|
No, I couldn't find the cause of it. I tried removing nearly all the tags and so on and then retag, but - same issue. I also noticed conflicting album arts could perhaps cause something like that, so I removed that as well and so on .. What I did is I gave up and redownloaded the whole thing.
__________________
Something Completely Different |
01-30-2010, 12:28 PM | #10 (permalink) |
thirsty ears
Join Date: Sep 2009
Location: Boulder
Posts: 742
|
ok now i have a question for you
how do you keep your comps and soundtracks from showing up in your Albums/EPs/Singles area?
__________________
my flac collection |
|