Help - Search - Members - Calendar
Full Version: foo_uie_trackinfo_mod
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
nefoy
I have colums_UI, panels_UI and foo_uie_trackinfo_mod

And i want to have a progress bar i even have my old code for one

Here is the code for my old foobar2000 foo_uie_trackinfo_mod

CODE

DCAE8DMode: %_trackinfo_mode%$char(10)$if(%_trackinfo_notrack%,No track,
$char(10)$char(1)C0CEBA4Song Info$char(10)
D7B997Title: ffffff%title%$char(10)
D7B997Artist: F3EAE0%artist%$char(10)
D7B997Album: F3EAE0%album%$char(10)
D7B997Date: F3EAE0%date%)$char(10)
D7B997Genre: F3EAE0%genre%$char(10)
$char(10)$char(1)C0CEBA4Tech Info$char(10)
D7B997Codec: F3EAE0%__codec% $char(10)
D7B997Bitrate: F3EAE0%__bitrate% Kbit/s$char(10)
D7B997Samplerate: F3EAE0%__samplerate% Hz$char(10)
D7B997Channels: F3EAE0$if(%__channels%,$ifgreater(%__channels%,2,%__channels%ch,$ifgreater(%__channels%,1,' 'Stereo,''Mono)),)$char(10)


$char(10)$char(1)C0CEBA4Statistics:$char(10)
D7B997This song was played F3EAE0%play_counter% D7B997times so far. $char(10)
D7B997Last played: F3EAE0%play_date% D7B997at F3EAE0%play_time%$char(10)
D7B997My rating: F3EAE0$if3(%rating%, not rated)$char(10)$char(10)


D7B997Time: F3EAE0%_time_elapsed% / %_time_total%$char(10)


$puts(theme,1)

// progressbar config
$puts(progress_char,█)
$puts(progress_length,20)

$if($strcmp($get(theme),1),
$puts(progress_color1,$rgb(164,235,12))
$puts(progress_color2,$rgb(54,106,179))
)


// PREPARE COLOR-STRINGS
// =========================================
$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))
$pad_right($muldiv(%_time_elapsed_seconds%,100,%_length_seconds%),3)'%'
,streaming...
)
)
$get(progressbar)


Now my question is how the hell can i make it work in the new 0.9 version of f2k? please help me
Thank you! smile.gif
shakey_snake
If you have panelsUI, you don't need trackinfo_mod
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.