Help - Search - Members - Calendar
Full Version: How to separate albums with lines?
Hydrogenaudio Forums > Hosted Forums > foobar2000 > General - (fb2k)
Bake
Hi,

I'm new in foobar and I have a little question.

I want to separate my albums in the playlist with lines. I copied this code from azrael mod:


CODE



|$if($not(%singletrack%),$if($or($stricmp(%_playlist_number%,1),$stricmp($num(%tracknumber%,2),01)),$rgb(0,180,40)),)|



This works but I want this lines only in my VA and Albums playlists. If I add a song with tracknumber 01 in my Singles playlist, the line is also there.

Is it possible that the lines only appear in specific playlists?

cheers
Bake
kenji idle
i think thats only possible with "columns UI" . but i am not sure.

for colums ui you would just create two artist columns wich are each shown/hidden dependig on "playlist filters"


or u add a tag to your albums, say "complete=1"

then do
"if (string %complete% compares qual to 1) then show this string, elso show that" *g*

Bake
QUOTE(kenji idle @ Feb 21 2006, 09:02 AM)


for colums ui you would just create two artist columns wich are each shown/hidden dependig on "playlist filters"




Thank you very much, that's a very good idea. And so simple. smile.gif


I thought I have to create a code like:

|$if($or(%playlist_name% = va*;%playlist_name = a*),$rgb(x,x,x)|

How can I code "if playlist_name = va*" in Tagz?



kenji idle
select first two letters using $left(%playlist_name%,2)
and compare them with $stricmp($left(%playlist_name%,2),va)
$if($or($stricmp($left(%playlist_name%,2),va),$stricmp($left(%playlist_name%,1),a)),rgbblahblah,nothing)

code untested

and read the tagz manual wink.gif

i was not aware that the %playlist_name% fiels exists, when i advised to use columns ui.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.