Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_uie_trackinfo (Read 833627 times) previous topic - next topic
0 Members and 9 Guests are viewing this topic.

foo_uie_trackinfo

Reply #775
I have a question....i just updated the latest trackinfo dll....and my cpu usage went up a lot higher...is it because of this? or the latest albumart or columns ui?

foo_uie_trackinfo

Reply #776
Hi there,

I´m using this code for a while now and I hope that there´s someone who could help me out with my problem.....

Code: [Select]
// Original code by necropimp, modified by AstreaEdge, final by KockRoach

// Show Artist? (1 = show, 0 = don't show)
$puts(arts,1)

// Show Album?
$puts(albs,1)

// Show Title?
$puts(tils,1)

// Info Heading Color
$puts(head,$rgb(0,176,176))

// Info Color
$puts(info,$rgb(192,192,192))

// Info Annotation Color (e.g. kbps is the annotation)
$puts(anno,$rgb(192,192,192))


// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($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)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
January,February,March,April,May,June,July,August,September,October,November,December))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))

// Progress Bar Divider Width (0 yeilds no divider)
$puts(divw,16)

// Progress Bar Divider Character (blank yields no divider)
$puts(divc,═)

// Progress Bar Config
$puts(progplay,'>')
$puts(progpause,▮▮)
$puts(progbar,●)
$puts(proglen,25)
$puts(color1,$rgb(255,0,0))
$puts(color2,$rgb(128,255,0))

// Separator
$puts(text1,$rgb(163,163,163))
$puts(text2,$rgb(128,255,0))
$puts(fadeend,$rgb(255,0,0))
$puts(sepw,16)
$puts(sepc,═)

$char(10)
// SONG INFO SEPARATOR
$char(1)C$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                 SONG INFO  $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10)

$if($strcmp(1,$get(tils)),$if(%title%,$char(1)C$get(head)Title: $get(info)%title%$char(10),),)
$if($strcmp(1,$get(arts)),$if(%artist%,$char(1)C$get(head)Artist: $get(info)%artist%$char(10),),)
$if($strcmp(1,$get(albs)),$if(%album%,$char(1)C$get(head)Album: $get(info)%album%$char(10),),)
$if(%date%,$char(1)C$get(head)Year: $get(info)%date%$char(10),)
$if(%tracknumber%,$char(1)C$get(head)Track: $get(info)%tracknumber%$char(10),)
$if(%genre%,$char(1)C$get(head)Genre: $get(info)%genre%$char(10),)
$char(10)

// TECH INFO SEPARATOR
$char(1)C$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                  TECH INFO $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10)

$char(1)C$get(head)Length: $get(info)$if(%_isplaying%,%_time_elapsed%$get(anno)$if(%_length%,/%_length%,),%_length%)$char(10)
$char(1)C$get(head)Bitrate: $get(info)
$if2(,%__bitrate%) $get(anno)Kbps $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))$char(10)
$if(%__codec%,$char(1)C$get(head)Codec: $get(info)%__codec%$char(10),)
$if(%__lame_version%,$char(1)C$get(head)Preset: $get(info)$left(%__lame_version%,4) $right(%__lame_version%,4) [$upper(%__lame_profile%)]$char(10),)
$if(%__flac_vendor%,$char(1)C$get(head)Encoder: $get(info)$if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$char(10),)
$if(%__mpc_profile%,$char(1)C$get(head)MPC Profile: $get(info)%__mpc_profile%$char(10),)
$char(1)C$get(head)Compression: $get(info)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 '('$get(info)$muldiv(%__bitrate%,100,1411)$get(anno)'%)'$char(10)
$char(1)C$get(head)Channels: $get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))$char(10)
$if(%__bitspersample%,$char(1)C$get(head)Bitdepth: $get(info)%__bitspersample%$char(10),)
$if(%__samplerate%,$char(1)C$get(head)Samplerate: $get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz $char(10))
$if(%_filesize%,$char(1)C$get(head)Filesize: $get(info)
$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(anno)'MB'$char(10),)


$if(%last_played%,
// PLAY STATS SEPARATOR
$char(10)$char(1)C$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                  PLAY INFO $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10),)

$if(%last_played%,$char(1)C$get(head)              Last played on:                   $get(info)$get(time_of_year) at $get(time_of_day)$char(10),)
$if(%play_counter%,$char(1)C$get(head)    Number of times played: $get(info)%play_counter%$char(10),)


// PROGRESS BAR SEPARATOR

$if(%_length_seconds%,$char(10)C$get(head)        Track Progress >$get(info)$pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)$get(anno)'%'$char(10)
$char(1)C$get(color2)'|'$get(color1)$progress(%_time_elapsed_seconds%,%_length_seconds%,$get(proglen),
$if(%_ispaused%,$get(color2)$get(progpause)$get(progbar),$get(color2)$get(progplay)$get(progbar)),$get(progbar))
'|',streaming...)



If Foobar isn´t playing it looks like this:

http://img467.imageshack.us/img467/5394/trackinfo0cv.png


And it would be very nice if someone could post a fixed one or something that i could change that these Tech - Info´s aren´t included when foobar is stopped.

Thx in advance   

oh and sorry for my english...it could be better

foo_uie_trackinfo

Reply #777
Hi there,

I´m using this code for a while now and I hope that there´s someone who could help me out with my problem.....

Code: [Select]
 <snip>



If Foobar isn´t playing it looks like this:

http://img467.imageshack.us/img467/5394/trackinfo0cv.png


And it would be very nice if someone could post a fixed one or something that i could change that these Tech - Info´s aren´t included when foobar is stopped.

Thx in advance   

oh and sorry for my english...it could be better


Took out the $char(1)C's, as you must use $tab() now to align text in the center. You must also put it on both sides. Though that was not causing it to not show.

I took out also some comma's and paranthesis.

Anyways, here it is, and it works find with my foobar now.

Code: [Select]
// Original code by necropimp, modified by AstreaEdge, final by KockRoach

// Show Artist? (1 = show, 0 = don't show)
$puts(arts,1)

// Show Album?
$puts(albs,1)

// Show Title?
$puts(tils,1)

// Info Heading Color
$puts(head,$rgb(0,176,176))

// Info Color
$puts(info,$rgb(192,192,192))

// Info Annotation Color (e.g. kbps is the annotation)
$puts(anno,$rgb(192,192,192))


// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($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)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
January,February,March,April,May,June,July,August,September,October,November,December))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))

// Progress Bar Divider Width (0 yeilds no divider)
$puts(divw,16)

// Progress Bar Divider Character (blank yields no divider)
$puts(divc,?)

// Progress Bar Config
$puts(progplay,'>')
$puts(progpause,??)
$puts(progbar,?)
$puts(proglen,25)
$puts(color1,$rgb(255,0,0))
$puts(color2,$rgb(128,255,0))

// Separator
$puts(text1,$rgb(163,163,163))
$puts(text2,$rgb(128,255,0))
$puts(fadeend,$rgb(255,0,0))
$puts(sepw,16)
$puts(sepc,?)

$char(10)
// SONG INFO SEPARATOR
$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                 SONG INFO  $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10)

$if($strcmp(1,$get(tils)),$if(%title%,$get(head)Title: $get(info)%title%$char(10),),)
$if($strcmp(1,$get(arts)),$if(%artist%,$get(head)Artist: $get(info)%artist%$char(10),),)
$if($strcmp(1,$get(albs)),$if(%album%,$get(head)Album: $get(info)%album%$char(10),),)
$if(%date%,$char(1)C$get(head)Year: $get(info)%date%$char(10),)
$if(%tracknumber%,$get(head)Track: $get(info)%tracknumber%$char(10),)
$if(%genre%,$get(head)Genre: $get(info)%genre%$char(10),)
$char(10)

// TECH INFO SEPARATOR
$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                  TECH INFO $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10)

$get(head)Length: $get(info)$if(%_isplaying%,%_time_elapsed%$get(anno)$if(%_length%,/%_length%,),%_length%)$char(10)
$get(head)Bitrate: $get(info)
$if2(,%__bitrate%) $get(anno)Kbps $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))$char(10)
$if(%__codec%,$get(head)Codec: $get(info)%__codec%$char(10),)
$if(%__lame_version%,$get(head)Preset: $get(info)$left(%__lame_version%,4) $right(%__lame_version%,4) [$upper(%__lame_profile%)]$char(10),)
$if(%__flac_vendor%,$get(head)Encoder: $get(info)$if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$char(10),)
$if(%__mpc_profile%,$get(head)MPC Profile: $get(info)%__mpc_profile%$char(10),)
$get(head)Compression: $get(info)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 '('$get(info)$muldiv(%__bitrate%,100,1411)$get(anno)'%)'$char(10)
$get(head)Channels: $get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))$char(10)
$if(%__bitspersample%,$char(1)C$get(head)Bitdepth: $get(info)%__bitspersample%$char(10),)
$if(%__samplerate%,$char(1)C$get(head)Samplerate: $get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz $char(10))
$if(%_filesize%,$char(1)C$get(head)Filesize: $get(info)
$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(anno)'MB'$char(10),)

// PLAY STATS SEPARATOR

$char(10)
$transition($repeat($get(),$get(sepw)),$get(fadeend),$get(text1))$get(text2)                  PLAY INFO $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$char(10)
$char(10)

$if(%last_played%,$get(head)Last played on:   $get(info)$get(time_of_year) at $get(time_of_day)$char(10),)
$if(%play_counter%,$get(head)Number of times played: $get(info)%play_counter%$char(10),)



// PROGRESS BAR SEPARATOR

$if(%_length_seconds%,$get(head)Track Progress >$get(info)$pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)$get(anno)'%'$char(10)
$get(color2)'|'$get(color1)$progress(%_time_elapsed_seconds%,%_length_seconds%,$get(proglen),
$if(%_ispaused%,$get(color2)$get(progpause)$get(progbar),$get(color2)$get(progplay)$get(progbar)),$get(progbar))
'|',streaming...)

foo_uie_trackinfo

Reply #778
Thx for your help but it don´t work for me.... 

New Screenshot

[a href="http://imageshack.us" target="_blank"]

foo_uie_trackinfo

Reply #779
Thx for your help but it don´t work for me.... 

New Screenshot



Have you updated with the right components of late? I'd wager it is because you do not have the correct ones.

Look back a page or two or three, and look for the new trackinfo, columns and playcount plug-ins. I think someone gave links to the correct ones to have that actually work together correctly.

Edit: [a href="http://stephan.kochen.nl/proj/foobar2000.html#trackinfo" target="_blank"]http://stephan.kochen.nl/proj/foobar2000.html#trackinfo[/url]

Download the updated version of columns that is listed under Trackinfo panel as (0.1.3 beta 1). I would also suggest redownloading the trackinfo panel, albumart panel, and playcount.

Further Edit: I'm an idiot, I was thinking it was not displaying correctly when PLAYING a song.

To correct the problem, just add a "$if(%isplaying%," infront of $get(head)Length ... and then a ")" at the end after  $get(anno)'MB'$char(10),

foo_uie_trackinfo

Reply #780
Thank you very much vonmeth!!
Problem is fixed.
I´m nearly done with my config now

foo_uie_trackinfo

Reply #781
To illustrate the problem some people where talking about earlier that now pops up with the use of $tab()



Is with ellipsize on ..

Though if you use scroll, it displays correctly ...



If you take a look at the line where it says "Born Into Trouble As The Sparks Fly Upward" you can see the
problem clearly. If it was simply moved all the way to the left, it would display fully and correctly, as it does in scroll mode. But when in the other modes, it is moved to near the center, and cuts off at the end.

foo_uie_trackinfo

Reply #782
I updated Brumal's TrackInfo tagz (originally by necropimp, AstreaEdge and Kockroach).
- updated to use new TrackInfo for fb2k 0.9.x
- date formatting for history section updated (stole code from somebody... habla?)
- stole seekbar from Okupa
- stole the idea to change the seekbar color on pause from giri giri
- updated to work when %_trackinfo_notrack%




Code: [Select]
// Original code by necropimp, modified by AstreaEdge, KockRoach
// modded by Brumal
// modded by Dxx (stole last played date formatting from somebody,
//                seekbar from Okupa, seekbar color change on pause
//                from giri giri)
// use Trebuchet MS 8pt

// Toggles
$puts(show_now_playing,1)
$puts(show_tech_info,0)
$puts(show_play_info,1)
$puts(show_audioscrobblered,1)

// Color Config
// 1 - Soundtrack to Your Escape        background: 16,40,46
// 2 - Reroute to Remain                background: 229,232,231
// 3 - Sandman2012                      background: 255,255,255
// 4 - Draconian Times                  background: 129,52,65
// 5 - Since the Day It All Came Down  background: 246,248,245
// 6 - Tales from the Thousand Lakes    background: 35,22,89
// 7 - Projector                        background: 0,0,0
// 8 - The Astral Sleep                background: 134,107,76
// 9 - Verisäkeet                      background: 64,76,61
// 10 - Haunted                        background: 0,0,16
// 11 - Ghost Reveries                  background: 29,20,15
// 12 - Rain Without End                background: 34,27,67
// 13 - Arte Novecento                  background: 240,240,240
// 14 - Ghosts of Loss                  background: 87,111,117
// 15 - The Truth Inside the Shades    background: 16,20,23
// 16 - 00 Void                        background: 167,167,177
// 17 - Antimatter                      background: 0,0,0
// 18 - Frail Words Collapse            background: 202,184,122
// 19 - Am Universum                    background: 204,201,124
// 20 - Character                      background: 228,226,227
// 21 - From Mars to Sirius            background: 239,233,221
// 22 - Voice of Wilderness            background: 169,169,159
// 99 - Custom config
$puts(color_config,1)

// Custom color scheme
$puts(cc_text1,$rgb(70,07,16))
$puts(cc_text2,$rgb(10,10,10))
$puts(cc_section_title,$rgb(25,20,26))
$puts(cc_fade_inside,$rgb(10,27,26))
$puts(cc_fade_outside,$rgb(0,0,0))


// color schemes
$if($strcmp($get(color_config),99),
// User defined scheme
$puts(info,$get(cc_text1))
$puts(head,$get(cc_text2))
$puts(anno,$get(cc_text1))
$puts(text2,$get(cc_section_title))
$puts(text1,$get(cc_fade_inside))
$puts(fadeend,$get(cc_fade_outside))
,
$select($get(color_config),
// Soundtrack to Your Escape
$puts(head,$rgb(170,170,170))
$puts(info,$rgb(170,207,216))
$puts(anno,$rgb(98,114,121))
$puts(text1,$rgb(170,207,216))
$puts(text2,$rgb(255,250,216))
$puts(fadeend,$rgb(0,0,0)),
// Reroute to Remain
$puts(head,$rgb(0,0,0))
$puts(info,$rgb(100,106,102))
$puts(anno,$rgb(100,106,102))
$puts(text1,$rgb(179,181,180))
$puts(text2,$rgb(123,40,48))
$puts(fadeend,$rgb(0,0,0)),
// Sandman2012
$puts(head,$rgb(0,128,192))
$puts(info,$rgb(130,130,130))
$puts(anno,$rgb(100,106,102))
$puts(text1,$rgb(235,242,254))
$puts(text2,$rgb(0,128,64))
$puts(fadeend,$rgb(0,0,0)),
// Draconian Times
$puts(head,$rgb(201,193,146))
$puts(info,$rgb(217,219,206))
$puts(anno,$rgb(217,219,206))
$puts(text1,$rgb(157,51,67))
$puts(text2,$rgb(178,196,200))
$puts(fadeend,$rgb(176,107,68)),
// Since the Day It All Came Down
$puts(head,$rgb(3,46,41))
$puts(info,$rgb(104,104,94))
$puts(anno,$rgb(104,104,94))
$puts(text1,$rgb(76,107,106))
$puts(text2,$rgb(50,85,91))
$puts(fadeend,$rgb(0,0,0)),
// Tales from the Thousand Lakes
$puts(head,$rgb(98,167,162))
$puts(info,$rgb(203,203,210))
$puts(anno,$rgb(203,203,210))
$puts(text1,$rgb(78,112,173))
$puts(text2,$rgb(143,201,234))
$puts(fadeend,$rgb(62,67,171)),
// Projector
$puts(head,$rgb(227,122,76))
$puts(info,$rgb(170,134,98))
$puts(anno,$rgb(170,134,98))
$puts(text1,$rgb(132,55,40))
$puts(text2,$rgb(248,214,134))
$puts(fadeend,$rgb(0,0,0)),
// The Astral Sleep
$puts(head,$rgb(67,45,32))
$puts(info,$rgb(208,204,199))
$puts(anno,$rgb(208,204,199))
$puts(text1,$rgb(103,75,51))
$puts(text2,$rgb(214,200,168))
$puts(fadeend,$rgb(0,0,0)),
// Verisäkeet
$puts(head,$rgb(160,146,117))
$puts(info,$rgb(208,194,165))
$puts(anno,$rgb(208,194,165))
$puts(text1,$rgb(113,52,47))
$puts(text2,$rgb(244,244,244))
$puts(fadeend,$rgb(0,0,0)),
// Haunted
$puts(head,$rgb(119,119,136))
$puts(info,$rgb(160,176,184))
$puts(anno,$rgb(208,194,165))
$puts(text1,$rgb(216,88,16))
$puts(text2,$rgb(228,228,232))
$puts(fadeend,$rgb(0,0,0)),
// Ghost Reveries
$puts(head,$rgb(145,113,54))
$puts(info,$rgb(238,219,135))
$puts(anno,$rgb(162,144,88))
$puts(text1,$rgb(172,148,76))
$puts(text2,$rgb(241,238,205))
$puts(fadeend,$rgb(35,27,16)),
// Rain Without End
$puts(head,$rgb(83,119,171))
$puts(info,$rgb(204,204,204))
$puts(anno,$rgb(194,194,194))
$puts(text1,$rgb(70,102,149))
$puts(text2,$rgb(244,244,244))
$puts(fadeend,$rgb(0,0,0)),
// Arte Novecento
$puts(head,$rgb(122,116,128))
$puts(info,$rgb(115,106,111))
$puts(anno,$rgb(115,106,111))
$puts(text1,$rgb(106,100,128))
$puts(text2,$rgb(130,139,148))
$puts(fadeend,$rgb(122,116,128)),
// Ghosts of Loss
$puts(head,$rgb(151,174,180))
$puts(info,$rgb(197,207,216))
$puts(anno,$rgb(197,207,216))
$puts(text1,$rgb(93,116,122))
$puts(text2,$rgb(237,233,228))
$puts(fadeend,$rgb(0,0,0)),
// The Truth Inside the Shades
$puts(head,$rgb(191,195,168))
$puts(info,$rgb(246,242,155))
$puts(anno,$rgb(246,242,155))
$puts(text1,$rgb(244,163,107))
$puts(text2,$rgb(251,251,251))
$puts(fadeend,$rgb(0,0,0)),
// 00 Void
$puts(head,$rgb(55,54,72))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(145,68,63))
$puts(text2,$rgb(244,241,234))
$puts(fadeend,$rgb(0,0,0)),
// Antimatter
$puts(head,$rgb(107,111,122))
$puts(info,$rgb(204,204,204))
$puts(anno,$rgb(184,184,184))
$puts(text1,$rgb(206,158,66))
$puts(text2,$rgb(204,204,204))
$puts(fadeend,$rgb(0,0,0)),
// Frail Words Collapse
$puts(head,$rgb(77,40,22))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(187,155,103))
$puts(text2,$rgb(128,83,62))
$puts(fadeend,$rgb(0,0,0)),
// Am Universum
$puts(head,$rgb(122,100,40))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(122,100,40))
$puts(text2,$rgb(107,70,13))
$puts(fadeend,$rgb(235,229,143)),
// Character
$puts(head,$rgb(98,100,97))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(160,66,35))
$puts(text2,$rgb(115,39,23))
$puts(fadeend,$rgb(221,162,88)),
// From Mars to Sirius
$puts(head,$rgb(159,143,127))
$puts(info,$rgb(0,0,0))
$puts(anno,$rgb(0,0,0))
$puts(text1,$rgb(159,143,127))
$puts(text2,$rgb(111,89,66))
$puts(fadeend,$rgb(0,0,0)),
// Voice of Wilderness
$puts(head,$rgb(0,0,4))
$puts(info,$rgb(77,75,63))
$puts(anno,$rgb(77,75,63))
$puts(text1,$rgb(0,0,0))
$puts(text2,$rgb(89,87,71))
$puts(fadeend,$rgb(199,197,181)),
))

// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($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)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min) $get(yy))

// PROGRESS BAR CONFIG
$if(%_ispaused%,$puts(progress_color1,$rgb(255,0,0)),$puts(progress_color1,$rgb(164,235,12)))
$puts(progress_color2,$rgb(54,106,179))
// $puts(progress_char,$char(9642))
// $puts(progress_char,█)
$puts(progress_char,●)
$puts(progress_length,20)

// Separator
$puts(sepw,7)
//$puts(sepc,―)
$puts(sepc,Φ )

$if($and($strcmp($get(show_now_playing),1),$not(%_trackinfo_notrack%)),
// SONG INFO SEPARATOR
$tab()$transition($repeat($get(sepc),$get(sepw)),$get(fadeend),$get(text1))$get(text2)
$if(%_isplaying%,Now Playing,Selected Track) $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$tab()$char(10)

$if($and($strstr(%genre%,Classical),$not($strcmp(%title%,%album%))),$tab()$get(info)%album%$tab()$char(10))
$if($strcmp(1,1),$if(%title%,$tab()$get(head)$get(info)%title%$tab()$char(10),),)
$if($strcmp(1,1),$if(%artist%,$tab()$get(head)by$tab()$char(10)$tab()$get(info)%artist%$tab()$char(10),),)
$ifgreater($meta_num(performer),0,$tab()$get(info)%performer%$tab()$char(10),
$if($strcmp(1,1),$if(%album%,$tab()$get(head)track #$get(info)%tracknumber% $get(head)from$tab()$char(10)$tab()$get(info)$if($meta(%album artist%),%album artist% - ,)%album% ,),)
$if(%date%,$get(head)$get(info) '('%date%')'$tab()$char(10),))
$if(%genre%,$tab()$get(head)$get(info)%genre%$tab()$char(10),)
$char(10))

$if($and($strcmp($get(show_tech_info),1),$not(%_trackinfo_notrack%)),
// TECH INFO SEPARATOR
$tab()$transition($repeat($get(sepc),$get(sepw)),$get(fadeend),$get(text1))$get(text2) Tech Info $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))$tab()$char(10)

$tab()$get(head)$get(info)$if(%_isplaying%,%_time_elapsed%$get(anno)$if(%_length%, $get(head)/$get(info) %_length%,),%_length%)$tab()$char(10)
$tab()$get(head)$get(info)
$if2(%__bitrate_dynamic%,%__bitrate%) $get(head)kb $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$if(%__codec%,$get(head) $get(info)%__codec%$tab()$char(10),)
$if(%__lame_version%,$tab()$get(head)Preset: $get(info)$left(%__lame_version%,4) $right(%__lame_version%,4) [$upper(%__lame_profile%)]$tab()$char(10),)
$if(%__flac_vendor%,$tab()$get(head)Encoder: $get(info)$if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$tab()$char(10),)
$if(%__mpc_profile%,$tab()$get(head)MPC Profile: $get(info)%__mpc_profile%$tab()$char(10),)
$if(%__samplerate%,$tab()$get(head)$get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz )
$get(head)$get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))$tab()$char(10)
$if(%__bitspersample%,$tab()$get(head)Bitdepth: $get(info)%__bitspersample%$tab()$char(10),)
$if(%_filesize%,$tab()$get(head)$get(info)
$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(head)'MB',)
$get(head) ~ $get(info)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 $get(head)'('$muldiv(%__bitrate%,100,1411)$get(head)'%)'$tab()$char(10)$char(10))

$if($and($strcmp($get(show_play_info),1),$not(%_trackinfo_notrack%)),
// PLAY STATS SEPARATOR
$tab()$transition($repeat($get(sepc),$get(sepw)),$get(fadeend),$get(text1))$get(text2) History $transition($repeat($get(sepc),$get(sepw)),$get(text1),$get(fadeend))
$tab()$char(10)

$if(%last_played%,$tab()$get(head)Last played on $get(info)$get(time_of_year) $get(head)at$get(info) $get(time_of_day)$tab()$char(10),)
$if(%play_count%,$tab()$get(head)Track played
$if($strcmp(%play_count%,1),$get(info)only once$tab()$char(10),
$if($strcmp(%play_count%,2),$get(info)twice$tab()$char(10),
$get(info)%play_count% times$tab()$char(10))),$tab()$get(info)Never been played$tab()$char(10))

// Audioscrobblered?
$if($strcmp($get(show_audioscrobblered),1),
$if(%_isplaying%,
$puts(half_length,$div(%_length_seconds%,2))
$ifgreater($get(half_length),%_time_remaining_seconds%,$tab()$get(info)Audioscrobblered$tab(),),),))

$puts(progress_color1a,$blend($get(progress_color1),000000,1,4.5))
$puts(progress_color2a,$blend($get(progress_color2),000000,1,5.7))
// progressbar
$puts(progressbar,
$if(%_length_seconds%,

$puts(progress,$muldiv(%_time_elapsed_seconds%,$get(progress_length),%_length_seconds%))
$transition($repeat($get(progress_char),$get(progress)),$get(progress_color1a),$get(progress_color1))
$transition($repeat($get(progress_char),$sub($get(progress_length),$get(progress))),$get(progress_color2a),$get(progress_color2))
$get(info)$pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)'%'
,Streaming...
)
)

// PROGRESS BAR
// ------------------
$if(%_time_total%,
$char(10)
$if(%_isplaying%,$tab()$get(head) $get(progressbar)$tab()$char(10),)
,)
// end progress bar


Got a question though. How does the Drag and Drop (for %_trackinfo_dropped%) on Track Info panel work? My column UI doesn't seem to let me drag any track onto Track Info panel (or to any where else). When I try to drag on a track, it just changes the focus (selected track) to whatever track the cursor is on after I finished dragging.

Thanks,
Dxx

foo_uie_trackinfo

Reply #783
Got a question though. How does the Drag and Drop (for %_trackinfo_dropped%) on Track Info panel work? My column UI doesn't seem to let me drag any track onto Track Info panel (or to any where else). When I try to drag on a track, it just changes the focus (selected track) to whatever track the cursor is on after I finished dragging.

Thanks,
Dxx

Try holding CTRL while dragging.

foo_uie_trackinfo

Reply #784
I have a question....i just updated the latest trackinfo dll....and my cpu usage went up a lot higher...is it because of this? or the latest albumart or columns ui?

i am having the same problems, my cpu usage spikes up to 30%+ when using the latest trackinfo
Nothing is so good that somebody, somewhere, will not hate it.

 

foo_uie_trackinfo

Reply #785

I have a question....i just updated the latest trackinfo dll....and my cpu usage went up a lot higher...is it because of this? or the latest albumart or columns ui?

i am having the same problems, my cpu usage spikes up to 30%+ when using the latest trackinfo
Confirmed. Even when foobar is stopped, its CPU usage ranges from 0 to 30%; simply hiding the item in ColumnsUI Layout usage goes down to 0 - 3%.

HTH.

Alessandro

foo_uie_trackinfo

Reply #786

I have a question....i just updated the latest trackinfo dll....and my cpu usage went up a lot higher...is it because of this? or the latest albumart or columns ui?

i am having the same problems, my cpu usage spikes up to 30%+ when using the latest trackinfo


In configuration, set Scroll Steps to 1. Usage on my pc dropped to normal, wavering between 0 and 2%.
That's so plausible, I can't believe it.

foo_uie_trackinfo

Reply #787
Try holding CTRL while dragging.


Thanks. So the Drag and Drop only works in now playing mode. I guess it's not really necessary in follow cursor mode.

foo_uie_trackinfo

Reply #788


I have a question....i just updated the latest trackinfo dll....and my cpu usage went up a lot higher...is it because of this? or the latest albumart or columns ui?

i am having the same problems, my cpu usage spikes up to 30%+ when using the latest trackinfo


In configuration, set Scroll Steps to 1. Usage on my pc dropped to normal, wavering between 0 and 2%.


thanks, that did the trick. cpu usage is back to normal with steps @ 1
Nothing is so good that somebody, somewhere, will not hate it.

foo_uie_trackinfo

Reply #789
Hi,
My question: Can I use different font sizes in one Track info panel? For example to increase the size of title and artists?

foo_uie_trackinfo

Reply #790
******EDIT: PROBLEM SOLVED*******

Sorry if I'm posting something that's been dealt with already, I scanned back through everything since 0.9 release, but at 8 or 9 pages of text I might've missed something.

Anyway, I'm just switching over from .8.3, and currently basically just porting over what I had there, get everything working before I start trying to update for new capabilities.  I ran into a couple snags with this panel though.  First of all, whenever I'm not actually playing a track, it can seem to get any data, I get basically the same thing as Gapkiller - but his appeared to be due to asking for dynamic data, which I think I've got if's preventing.

Screenshot:

foo_uie_trackinfo

Reply #791
Sorry if I'm posting something that's been dealt with already, I scanned back through everything since 0.9 release, but at 8 or 9 pages of text I might've missed something.

Anyway, I'm just switching over from .8.3, and currently basically just porting over what I had there, get everything working before I start trying to update for new capabilities.  I ran into a couple snags with this panel though.  First of all, whenever I'm not actually playing a track, it can seem to get any data, I get basically the same thing as Gapkiller - but his appeared to be due to asking for dynamic data, which I think I've got if's preventing.

Anyway, other question's much simpler - Is there some way I'm missing to go back to the old way of following the curser?  It seems that now it always displays the playing track's info, and I can't find an option for it.  Anyway, thanks to anyone who can help me with any of this

If I understand it correctly, you want to make it not display anything when you're not actually playing any track. Correct? In that case, use this:

Code: [Select]
$if(%_trackinfo_notrack%,No track playing,
$if(%_trackinfo_nowplaying%,Now Playing:,
$if(%_trackinfo_followcursor%,Selected Track Info:,
))

** put you code here **

)


The panel will display No track playing when nothing is played.

As for the second question, just double-click the track info panel. My code will show it switch to Selected Track Info

foo_uie_trackinfo

Reply #792
As for the second question, just double-click the track info panel.


Ahhh, excellent, that actually answers both questions.  My first question was trying to get it to still show the data when it wasn't playing, which I guess it doesn't do when not in "follow curser" mode or whatever.  Thanks a lot

foo_uie_trackinfo

Reply #793
I have a problem with the Ellipsize mode,
instead of looking like this :
title
album...
artist

there s a new line between album... and artist :
title
album...

artist

EDIT: solved, the tag had a problem .... :$

foo_uie_trackinfo

Reply #794
i have a question. Is it posible to put in track info playlist number... i have a lot of problems doing that...

foo_uie_trackinfo

Reply #795
Well heres mines :P


Code: [Select]
// Original code by necropimp, modified by AstreaEdge, final by KockRoach
// Appearance changed by Habla. Muchas gracias to those above!
// This Appearance changed by bG :P..
// Text Used Corbel bold 9pt, Default Padding, bg color used = 12 38 58
// Added Toggles(script fm DXX), Mode Info, VA, Screaming, Scrobbled, foosic..& progress bar change & title heading..

// !!!!BEGIN USER CONFIGURATION!!!!

// Toggles (1 = show, 0 = don't show)
$puts(mode_info,1)
$puts(song_info,1)
$puts(scream_info,1)

$puts(arts,0)
$puts(albs,0)
$puts(tils,0)

$puts(tech_info,0)
$puts(play_info,1)
$puts(scrob_foosic,1)
$puts(progress_bar,1)

// Info Heading Color e.g. "Title:"
$puts(head2,0072dd)
$puts(head0,FEB13A)

$puts(follow1,7C7C7CFEB13A)
$puts(test1,$if(%_trackinfo_nowplaying%,FEB13A7C7C7C)$if(%_trackinfo_followcursor%,$get(follow1)))

$puts(follow2,FEB13A7C7C7C)
$puts(test2,$if(%_trackinfo_nowplaying%,7C7C7CFEB13A)$if(%_trackinfo_followcursor%,$get(follow2)))

$puts(head1,$get(test2)* $get(test1))

// Info Color e.g. "Black Dog"
$puts(info,E5EDED)

// Info Annotation Color (e.g. kbps is the annotation)
$puts(anno,FFFFFF)

// Separator
// the separators (Song,Play,Tech info) will change to a different color if the panel mode is set to Follow cursor.
// change "followcursorcol" to change this color. It is currently set to flash orange.
$puts(followcursorcol,ff99000072dd)
$puts(text3,7C7C7C)
$puts(text2, E5EDED)
$puts(text1,$if(%_trackinfo_nowplaying%,0072ddFEB13A)$if(%_trackinfo_followcursor%,$get(followcursorcol)))
$puts(fadeend,400000)
$puts(seplenAA,12)
$puts(seplenA,13)
$puts(seplenB,7)
$puts(seplenC,5)
$puts(seplenD,4)
$puts(sepchar,'*')

// Set Rating character
$puts(ratingchar,'???')

// Progress bar Config
$puts(pbarcol1,400000)
$puts(pbarcol2,0072dd)
$puts(pbarchar,' ;)')
$puts(pbarlen,16)

// !!!!END OF USER CONFIGURATION!!!!

// Day Conversion
$puts(day,$substr(%last_played%,9,10))
$if(%last_played%,
$if($strcmp($left($get(day),1),0),$puts(day,$right($get(day),1))))
$if($strcmp($get(day),11),$puts(xx,th),
$if($strcmp($get(day),12),$puts(xx,th),
$if($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)))))))

// Month Conversion
$puts(month,$substr(%last_played%,6,7))
$puts(month_name,$select($get(month),
Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec))

// Year Conversion
$puts(year,$substr(%last_played%,1,4))

// Time Conversion
$puts(hour,$substr(%last_played%,12,13))
$puts(min,$substr(%last_played%,14,16))
$puts(sec,$substr(%last_played%,17,19))

// 24 Hour to 12 Hour Conversion
$if($strcmp($left($get(hour),1),0),$puts(hour1,$right($get(hour),1)))
$if($strcmp($left($get(hour),1),1),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($left($get(hour),1),2),$puts(hour1,$sub($get(hour),12)))
$if($strcmp($get(hour),00),$puts(hour1,12))
$if($strcmp($get(hour),10),$puts(hour1,10))
$if($strcmp($get(hour),11),$puts(hour1,11))
$if($strcmp($get(hour),12),$puts(hour1,12))

// AM/PM Conversion
$if($strcmp($get(hour),00),$puts(yy,am))
$if($strcmp($get(hour),10),$puts(yy,am))
$if($strcmp($get(hour),11),$puts(yy,am))
$if($strcmp($get(hour),12),$puts(yy,pm))
$if($strcmp($get(hour),24),$puts(yy,am))
$if($strcmp($left($get(hour),1),0),$puts(yy,am))
$if($strcmp($left($get(hour),1),1),$puts(yy,pm))
$if($strcmp($left($get(hour),1),2),$puts(yy,pm))

// Date Format
$puts(time_of_year,$get(month_name) $get(day)$get(xx)',' $get(year))

// Time Format
$puts(time_of_day,$get(hour1)$get(min)$get(sec) $get(yy))

// !!!!END OF TIME/DATE.. CONFIGURATIONS!!!!

$if($and($strcmp($get(mode_info),1),$not(%_trackinfo_notrack%)),
// MODE INFO
$if(%isplaying%,$if(%_trackinfo_nowplaying%,
$transition($repeat($get(sepchar),$get(seplenC)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text3) N o w P l a y i n g $get(text1) ']'
$transition($repeat($get(sepchar),$get(seplenC)),$get(text1),$get(fadeend)),))

$if(%_trackinfo_followcursor%,
$transition($repeat($get(sepchar),$get(seplenD)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text3) F o l l o w C u r s o r $get(text1) ']'
$transition($repeat($get(sepchar),$get(seplenD)),$get(text1),$get(fadeend)),)

$if(%_trackinfo_notrack%,
$transition($repeat($get(sepchar),$get(seplenB)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text3) N o T r a c k $get(text1) ']'
$transition($repeat($get(sepchar),$get(seplenB)),$get(text1),$get(fadeend)),)$char(10))

$if($and($strcmp($get(song_info),1),$not(%_trackinfo_notrack%),$not($stricmp($left(%_path%,7),'http://'))),
// SONG INFO SEPARATOR
$transition($repeat($get(sepchar),$get(seplenA)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text2) S o n g I n f o $get(text1) ']'$char(10)

$if($strcmp(1,$get(tils)),$if(%title%,$get(head1)Title$get(head2): $if(%title%,$get(info)$cut(%title%,45)
$ifgreater($len(%title%),45,'...',))$char(10),$get(info)%_filename%$char(10)),)
$if($strcmp(1,$get(arts)),$if(%artist%,$get(head1)Artist$get(head2): $get(info)%artist%$char(10),),)
$if($strcmp(1,$get(albs)),$if(%album%,$get(head1)Album$get(head2): $get(info)$cut(%album%,37)
$ifgreater($len(%album%),37,'...',)$char(10),),)
$if($meta_test(album artist),$get(head1)Album Artist$get(head2): $get(info)%album artist%$char(10))
$if(%tracknumber%,$get(head1)Track #$get(head2): $get(info)%tracknumber%$char(10))
$if(%date%,$get(head1)Year$get(head2): $get(info)%date%$char(10))
$if(%genre%,$get(head1)Genre$get(head2): $get(info)%genre%$char(10)),)

$if($and($strcmp($get(scream_info),1),$not(%_trackinfo_notrack%)),
$if($stricmp($left(%_path%,7),'http://'),
// SCREAMING INFO SEPARATOR
$transition($repeat($get(sepchar),$get(seplenAA)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text2) S c r e a m i n g $get(text1) ']'$char(10)

$if(%title%,$get(head1)Title$get(head2): $if(%title%,$get(info)$cut(%title%,45)
$ifgreater($len(%title%),45,'...',))$char(10),$get(info)%_filename%$char(10))
$if(%artist%,$get(head1)Artist$get(head2): $get(info)%artist%$char(10))
$if(%album%,$get(head1)Album$get(head2): $get(info)$cut(%album%,37)
$ifgreater($len(%album%),37,'...',)$char(10))
$if(%genre%,$get(head1)Genre$get(head2): $get(info)%genre%$char(10))
$if(%url%,$get(head1)Url$get(head2): $get(info)%url%$char(10))
,),)

$if($and($strcmp($get(tech_info),1),$not(%_trackinfo_notrack%),$not($stricmp($left(%_path%,7),'http://'))),
// TECH INFO SEPARATOR
$transition($repeat($get(sepchar),$get(seplenA)),$get(fadeend),$get(text1)) $get(text1)'[' $get(text2) T e c h I n f o $get(text1) ']'$char(10)

$get(head1)Length$get(head2): $get(info)$if(%_isplaying%,%_time_elapsed%$get(anno)$if(%_length%, / %_length%,)$if(%_time_elapsed%, / $muldiv(%_time_elapsed_seconds%,100,%_length_seconds%)'%')$if(%_length%, / -%_time_remaining%),%_length%)$char(10)
$get(head1)Quality$get(head2): $if(%__codec%, $get(info)%__codec%) $get(info)
$if2(%__bitrate_dynamic%,%__bitrate%) $get(anno)Kb/s $if($stricmp(%__codec%,mp3),$if($stricmp(%__extrainfo%,vbr),VBR,CBR))
$char(10)
$if(%__lame_version%,$get(head1)Encoder$get(head2): $get(info)$left(%__lame_version%,4) $right(%__lame_version%,4) [$upper(%__lame_profile%)]$char(10),)
$if(%__flac_vendor%,$get(head1)Encoder$get(head2): $get(info)$if($stricmp(%__flac_vendor%,reference libFLAC 1.1.2 20050205),FLAC 1.1.2 -8)$char(10),)
$if(%__mpc_profile%,$get(head1)MPC Profile$get(head2): $get(info)%__mpc_profile%$char(10),)
$get(head1)Compression$get(head2): $get(info)$div(1411,%__bitrate%).$substr($muldiv(1411,100,%__bitrate%),2,3):1 '('$get(info)$muldiv(%__bitrate%,100,1411)$get(anno)'% of original quality)'$char(10)
$get(head1)Channel Mode$get(head2): $get(info)$if($stricmp($codec(),MP3),$get(space2)$caps(%__mp3_stereo_mode%),
$if(%__channels%,$ifgreater(%__channels%,1,Stereo,Mono),'?'))$char(10)
$if(%__bitspersample%,$get(head1)Bitdepth$get(head2): $get(info)%__bitspersample% bits/sample$char(10),)
$if(%__samplerate%,$get(head1)Samplerate$get(head2): $get(info)$div(%__samplerate%,1000).$substr(%__samplerate%,3,3) KHz $char(10))
$if(%_filesize%,$get(head1)Filesize$get(head2): $get(info)
$div(%_filesize%,1048576).$left($num($muldiv($mod(%_filesize%,1048576),100,1048576),2),2) $get(anno)'MB'$char(10),),)

$if($and($strcmp($get(play_info),1),$not(%_trackinfo_notrack%),$not($stricmp($left(%_path%,7),'http://'))),
$if(%last_played%,
// PLAY STATS SEPARATOR
$transition($repeat($get(sepchar),$get(seplenA)),$get(fadeend),$get(text1))$get(text1)' [' $get(text2) P l a y S t a t s $get(text1) ']'$char(10)

$if(%play_counter%,$get(head1)Played$get(head2): $get(info)%play_counter% times total$char(10),)
$if(%last_played%,$get(head1)Last played on$get(head2): $get(info)$get(time_of_year) at $get(time_of_day)$char(10),),),)

$if($and($strcmp($get(scrob_foosic),1),$not(%_trackinfo_notrack%),$not($stricmp($left(%_path%,7),'http://'))),
// Scrobbled & Foosic
$if(%isplaying%,$get(head1)$ifgreater(%_time_elapsed_seconds%,240,Scrobbled,$ifgreater($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),50,Scrobbled ?$get(head2): $get(info)Yes,Scrobbled ?$get(head2): $get(info)No))$char(10))
$if(%isplaying%,$get(head1)$ifgreater(%_time_elapsed_seconds%,60,Foosic`d,$ifgreater($muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%),50,Foosic ?$get(head2): $get(info)Yes,Foosic ?$get(head2): $get(info)No))$char(10))
,)

$if($and($strcmp($get(progress_bar),1),$not(%_trackinfo_notrack%),$not($stricmp($left(%_path%,7),'http://'))),

$if(%isplaying%,
// PROGRESS BAR WIDTH
// if you want to change the length, there are two "99"s you'll have to find and replace
$puts(len1,$muldiv(%_time_elapsed_seconds%,$get(pbarlen),%_time_total_seconds%))
$puts(len2, $get(info)$muldiv(%_time_elapsed_seconds%,100,%_length_seconds%)'%')
// BAR
$transition($repeat($get(pbarchar),$get(len1)),$get(pbarcol1),$get(pbarcol2))
$get(len2)$get(head0)$repeat($get(pbarchar),$sub($get(pbarlen),$get(len1)))
$char(10),),)

foo_uie_trackinfo

Reply #796
How is it that some people's Track info boxes have different fonts, and how would I do that?

Great plugin BTW. Very useful =)

Edit: Nvm, I got it. Another question though - how to center or justify text within the panel, and also, I have a rectangular [longer than it is tall] trackinfo box, and is it possible to display Song Info, track info etc. acrossways, instead of downwards?

foo_uie_trackinfo

Reply #797
to right aligh use $tab()
if you want it centered its $tab()insert text  here$tab()

foo_uie_trackinfo

Reply #798
center aligning with text ellipsis doesn't work so good, or am I wrong ?
the text goes on the right

foo_uie_trackinfo

Reply #799
i can't find the Scroll Steps in Preference... i m using version 0.9.1