Recommended Posts

1) Can anyone tell me how to get the backgrounds of the rows alternate between 2 colours in simple terms and the selected/now playing background?

like:

Artist1 - Song1 <-Red

Artist1 - Song2 <-Blue

Artist1 - Song3 <-Red

Artist1 - Song4 <-Green (Now Playing)

Artist1 - Song5 <-Yellow (Selected)

2) Along with ^, included in the config, can you also put down what colour the text will be (selected and unselected)

// Basik Track Info works best with:
// Arial bold 8pt
// Vertical padding 3
// Horizontal padding 5
// Line spacing -1
// Background color Black

// Adjust the following to suit your tastes

$puts(info_box_width,34)
$puts(default_color,d4d4d4)
$puts(rating_color_1,5357EF)
$puts(rating_color_2,042573)
$puts(rating_symbol,♫)
$puts(is_playing_color,5357EF)
$puts(tag_missing_color,757575)
$puts(heading_color_l,ffb00d)
$puts(heading_color_r,000000)
$puts(is_playing_color,5357EF)




////////////////////////////////
/////// Song Info Code
////////////////////////////////

$transition(----- Song Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

$if(%title%,$if(%_isplaying%,
$get(is_playing_color)$iflonger(%title%,$get(info_box_width),$cut(%title%,$sub($get(info_box_width),2))...,%title%),
$iflonger(%title%,$get(info_box_width),$trim($cut(%title%,$sub($get(info_box_width),3)))...,%title%)),
$if(%_isplaying%,
$get(is_playing_color)$iflonger(%_filename_ext%,$get(info_box_width),$cut(%_filename_ext%,$sub($get(info_box_width),3))...,%_filename_ext%),
$iflonger(%_filename_ext%,$get(info_box_width),$trim($cut(%_filename_ext%,$sub($get(info_box_width),2)))...,%_filename_ext%)))

$char(10)$get(default_color)


$if(%artist%,
$iflonger(%artist%,$get(info_box_width),$cut(%artist%,$sub($get(info_box_width),2))...,%artist%),
$get(tag_missing_color)no artist info)

$char(10)$get(default_color)

$if(%album%,
$iflonger(%album%,$get(info_box_width),$cut(%album%,$sub($get(info_box_width),2))...,%album%),
$get(tag_missing_color)no album info)

$char(10)$get(default_color)

$if($or(%publisher%.%label%,%date%),$if($or(%publisher%,%label%),? ,)%date%$if($or(%publisher%,%label%),'. ',)[%publisher% ][%label%],
$get(tag_missing_color)no date or copyright info)

$char(10)$get(default_color)

$if(%rating%,$get(rating_color_1)
$repeat($get(rating_symbol) ,%rating%)
$get(rating_color_2)$repeat($get(rating_symbol) ,$sub(5,%rating%)) ,$get(tag_missing_color)$repeat($get(rating_symbol) ,5) )
$get(default_color)$if(%genre%,%genre%,$get(tag_missing_color)no genre info)

$char(10)$char(10)



////////////////////////////////
/////// Statistics Code
////////////////////////////////

$transition(----- Statistics $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

$if(%last_played%,$puts(lastplayed,%last_played%),
$if(%play_date%,$puts(lastplayed,%play_date%),)
)


$if($get(lastplayed),
$puts(month,$left($get(lastplayed),2))
$puts(day,$substr($get(lastplayed),4,5))
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1)))
$puts(year,$right($get(lastplayed),2))
$puts(month_name,$select($get(month),
Jan,Feb,March,April,May,June,July,Aug,Sept,Oct,Nov,Dec))
$if($or($strcmp($get(day),11),$strcmp($get(day),12),$strcmp($get(day),13)),$puts(xx,th),
$if($strcmp($right($get(day),1),1),$puts(xx,st),
$if($strcmp($right($get(day),1),2),$puts(xx,nd),
$if($strcmp($right($get(day),1),3),$puts(xx,rd),
$puts(xx,th))))))
$puts(time_of_year,$get(month_name) $get(day)$get(xx) 20$get(year))

$if(%play_counter%,Played $if($strcmp(%play_counter%,1),
once$if($get(lastplayed),',')$if($get(lastplayed), on $get(time_of_year)),
%play_counter% times$if($get(lastplayed),
$char(10)$get(default_color) Last played on $get(time_of_year))),This song has not played before)

$ifgreater(%play_counter%,1,,$char(10))

$char(10)$char(10)



////////////////////////////////
/////// Tech Info Code
////////////////////////////////

$transition(----- Tech Info $repeat(-,$sub($get(info_box_width),5)),$get(heading_color_l),$get(heading_color_r))

$char(10)$get(default_color)

%__codec%
$if(%__bitrate_dynamic%,%__bitrate_dynamic%,%__bitrate%)kbps
$if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$if($stricmp($codec(),MP3),%__mp3_stereo_mode%,$channels())

$char(10)$get(default_color)

$if($or(%__replaygain_track_gain%,%__replaygain_album_gain%),
['['Tg']' %__replaygain_track_gain%][ '['Ag']' %__replaygain_album_gain%],
$get(tag_missing_color)there is no gain)

$char(10)$get(default_color)

[%_time_elapsed%/][%_length%][ -%_time_remaining% ]
$if(%_isplaying%,
$muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%',)
$div(%_filesize%,1048576).
$left($num($muldiv($mod(%_filesize%,1048576),1000,1048576),3),2)' MB'

this is for the now playing component

anyone know how to fix the date for this

i played a file today and it says last played feb 40th 2005

The only way to get more than 1 thing in a panel is to use a tabbed panel stack. You will be able to put the playtree list in there, but not the g-force one.

585717840[/snapback]

Ive looked and i can find the tabbed panel stack in the preferences. where abouts it is? how do i activate it properly

thanks

Chris

Check out these sites:

For downloading all the elements you need

http://music.morbo.org/

A tutorial here:

http://music.morbo.org/wiki/doku.php?id=co...s_ui:columns_ui

And go to this site for a wealth of information. Use the search button!

http://www.hydrogenaudio.org/forums/index.php?showforum=27

I have some foobar questions....

1. http://www.hydrogenaudio.org/forums/index....showtopic=32951

2. What plug-in do I need to have an album art panel?

3. I can't figure out how to put the playlist tree window in the left panel, anyone care to explain?

4. Is there a way to automatically sort playlists on the left panel alphabetically?

is your playcount plugin uses external database? then you need to edit the trackinfo code, use %__play_date% instead of %play_date%

585722050[/snapback]

i should skip tracks that are not in DB?

cause i tried the __play and that didnt work either

ill just remove the code

thanks for your help

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.