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%
// 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