... Now I have a more involved problem here for people who know Foobar pretty well. Here is a pic of my newest layout since my hdd crash. I have ditched the browser, album art and some other plugins and it runs much better with the amount of music that I have.
[img=http://img253.imageshack.us/img253/1729/foobarpe0.th.jpg]
Now that is all well and great, but here is my problem right now. When songs don't have track numbers or have other little issues with their tracks, often all I see is the title of the track. ((For example, in the picture all of the songs that the arrow is pointing to are tagged with album/artist information, but it isn't displayed correctly because the track numbers are all screwy.
[img=http://img253.imageshack.us/img253/5396/foobarprobjb0.th.jpg]
Now, in another .fcs (azreal) that I was using, for single tracks or with no track info, I could get it to display information in that left column. It would display Artist [Album] or for long albums it would do Artist [first letter of each word in the Album]. How can I adjust the code for that column so that I can make it display that? I've included the code for the "Album Information" column below.
first these settings are from preferences-->display-->columns ui--->playlist view--->columns
the code is below: the first set is the "display" tab and the second is the "style" tab
display:
$if($strcmp($directory(%_path%,1),Single Tracks)
,
$tab()$if2(%artist%,no artist) :: $if2(%album%,no album)
,
$if($strcmp($tracknumber(),01), $if($strcmp(1,%various%),Various Artists,%artist%)$tab()[%genre%]
,
$if($strcmp($tracknumber(),02), [%album%]$tab()[%date%]
,
$if($strcmp($tracknumber(),03),$if(%__codec%, %__codec%)
$if(%__bitrate%,%__bitrate%) Kb/s $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$if($stricmp($codec(),MP3),$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))
$tab()
$muldiv(%__bitrate%,100,1411)'% Compression'
,
)
)
)
// Begin extra information display for albums
$puts(lineadjust,3)
$if(%encodedby%,
$select($sub(%tracknumber%,$get(lineadjust)), Encoded by %encodedby%)
$puts(lineadjust,$add($get(lineadjust),1)))
$if(%composer%,
$select($sub(%tracknumber%,$get(lineadjust)), Composed by %composer%)
$puts(lineadjust,$add($get(lineadjust),1)))
$if(%publisher%,
$select($sub(%tracknumber%,$get(lineadjust)), Published by %publisher%)
$puts(lineadjust,$add($get(lineadjust),1)))
$if(%performer%,
$select($sub(%tracknumber%,$get(lineadjust)), Performed by %performer%)
$puts(lineadjust,$add($get(lineadjust),1)))
// Comments [Code "borrowed" from Lxy's Navigator Suite]
$puts(comment_width,60)
$if($and(
$or(%comment%,%review%),
$greater($num(%tracknumber%,3),$add($num($get(lineadjust),3),1)
)
),
// comment-string creation and truncating at CR-LF
$puts(comment,$replace($fix_eol($if2(%comment%,%review%),'. '),'(...)','. '))
// truncate comment-string after first sentence
$puts(comment,$substr($get(comment),1,
$if2($add(1,$strstr($get(comment),'. ')),$len($get(comment)))
))
// c o m m e n t 1
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),11),$strstr($substr($get(comment),$sub($get(comment_width),10),$len($get(comment))),' ')))
// store comment-part
$puts(comment1,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 2
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment2,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 3
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment3,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 4
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment4,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 5
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment5,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 6
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment6,$substr($get(comment),1,$get(comment_nextcut)))
// cut that part away from the comment-string
$puts(comment,$substr($get(comment),$add($get(comment_nextcut),1),$len($get(comment))))
// c o m m e n t 7
// find next cut position
$puts(comment_nextcut,$add($sub($get(comment_width),1),$strstr($substr($get(comment),$get(comment_width),$len($get(comment))),' ')))
// store comment-part
$puts(comment7,$substr($get(comment),1,$get(comment_nextcut)))
// ======================================
// OUTPUT COMMENTS
$select(
$sub($num(%tracknumber%,1),$add($get(lineadjust),1))
,
$trim($get(comment1))
,$trim($get(comment2))
,$trim($get(comment3))
,$trim($get(comment4))
,$trim($get(comment5))
,$trim($get(comment6))
,$trim($get(comment7))
)
// end comments if-block
)
// End tracknumber if-block
)
style:
$if($strcmp($tracknumber(),01),
$set_style(text,FFFFFF,FFFFFF)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,0,FF)
$set_style(frame-bottom,0,FF)
$set_style(frame-top,1,FF)
,
$if($strcmp($tracknumber(),02),
$set_style(text,FFFFFF,FFFFFF)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,1,FF)
$set_style(frame-bottom,0,FF)
$set_style(frame-top,0,FF)
,
$if($strcmp($tracknumber(),03),
$set_style(text,8A8A8A,8A8A8A)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,1,FF)
$set_style(frame-bottom,1,FF)
$set_style(frame-top,0,FF)
,
$set_style(text,0,0)
$set_style(back,FFFFFF,FFFFFF)
$if($strcmp($directory(%_path%,1),Single Tracks),,$set_style(frame-right,1,A8A8A8))
)
)
)
$if($strcmp($tracknumber(),01),
$set_style(text,FFFFFF,FFFFFF)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,0,FF)
$set_style(frame-bottom,0,FF)
$set_style(frame-top,1,FF)
,
$if($strcmp($tracknumber(),02),
$set_style(text,FFFFFF,FFFFFF)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,1,FF)
$set_style(frame-bottom,0,FF)
$set_style(frame-top,0,FF)
,
$if($strcmp($tracknumber(),03),
$set_style(text,8A8A8A,8A8A8A)
$set_style(back,000000,000000)
$set_style(frame-left,1,FF)
$set_style(frame-right,1,FF)
$set_style(frame-bottom,1,FF)
$set_style(frame-top,0,FF)
,
$set_style(text,0,0)
$set_style(back,FFFFFF,FFFFFF)
$if($strcmp($directory(%_path%,1),Single Tracks),,$set_style(frame-right,1,A8A8A8))
)
)
)
One other issue:
I added ratings to the Title&Length column... my problem is that I can only get it to view as (3 stars). With the number....The code is below. Please notice that it is set to only display a rating, IF AND ONLY if there is a rating. This is the part I can't seem to retain when I want rating to show as ( ••• stars)
Does anyone know how to edit the code below so that it will show (••• stars)?
Also, is there a way so that I can change the font color or the rating displayed on NON-PLAYING tracks? I want to change the rating to of non-playing songs to show up as RED, instead of gray?
display:
$if(%_isplaying%,
$if(%title%,$if($strcmp(1,%various%),[%artist% :: ][%title%],%title%),%_filename_ext%)
$tab()0000FF|0000FF '(' %rating% 'stars )'
[%_time_elapsed% / ][%_length%]
,
$if(%title%,$if($strcmp(1,%various%),[%artist% :: ][%title%],%title%),%_filename_ext%)
$tab()737373|737373 ['( '%rating%' stars )'] [%_length%]
)
Thank you so much for all your help.
[!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]Moderation: added codeboxes.[/size]