Help - Search - Members - Calendar
Full Version: foo_uie_trackinfo_mod and refresh problem
Hydrogenaudio Forums > Hosted Forums > foobar2000 > 3rd Party Plugins - (fb2k)
powernemo
Hello all,

this is my first post here. I'm an amazed foobar's user since long time and i keep recommending it to all my friends cause i think is the best.

Lately i'm experiencing some problems with the Track Info Mod plugin blink.gif , i've installed the 0.80 version and, as you can notice from the snapshot i took, the Info Panel does'nt refresh properly, i have to resize it to make it updated
IPB Image

i'vent experienced this in the previous versions.

The only maybe strange thing i did was to switch between modes

Now Playing -> Follow Cursor -> Now Playing

the code it's the same as in the playlist with the only difference that there works and in the Track Info Panel no.
I'm using Windows Xp SP2
Someone's having the same problem?

Thank you
swmmng
Yes! I finally decided to work on improving my foobar setup, and took some code from another person's trackinfo_mod, and I'm having the exact same problem. Here's the code:

CODE

$if(%_isplaying%,
$imageabs2(,,,,,,$sub(%_width%,75),$sub($div(%_height%,2),38),'D:\fb2k\images\arrows.png',)
$padding(4,2)
$align(left,bottom)

$font(Swis721 Cn BT D-Type,14,bold  glow-129-138-150 glowblur-10,255-255-255)
[%_time_elapsed%$font(Swis721 Cn BT D-Type,14,bold glow-91-100-111 glowblur-10,255-255-255-255) '/']
$font(Swis721 Cn BT D-Type,14,bold glow-91-100-111 glowblur-10,203-206-211) %length%
$padding(4,2)
$align(right,bottom)

$font(calibri,14,bold glow-129-138-150 glowblur-10,255-255-255)
$upper(%title%)
$font(calibri,14,bold glow-91-100-111 glowblur-10,129-138-150)
/
$font(calibri,14,bold glow-91-100-111 glowblur-10,203-206-211)
$upper(%artist%)

,

$imageabs2(66,66,,,,,$sub($div(%_width%,2),33),$sub($div(%_height%,2),38),'D:\fb2k\images\arrows.png',))
Nickoladze
Read the changelog
swmmng
Hey! First time that doing that has been useful. Thanks a lot.
powernemo
Hi again, thanx for your reply, i figured what you mean and works but now the progress bar it's shifted up the panel overlaying the other infos... as you can see here:

IPB Image

so here's my code:
CODE

$if(%isplaying%,

// PerTrack
//---------------------------//

$align(left,middle)$rgb(0,0,128)Artist: $rgb()$rgb(0,255,255)%album artist%$char(10)$rgb()
$rgb(0,0,128)Album: $rgb()$rgb(0,255,255)%album%$char(10)$rgb()
$rgb(0,0,128)Title: $rgb()$rgb(0,255,255)%title%$char(10)$rgb()
$char(10)

// PerSecond
//---------------------------// <---------(THIS PART SHIFTS ON TOP)

$rgb(0,0,128)Duration: $rgb(200,255,255)[%_time_elapsed%]$rgb() $rgb(0,0,128)/ $rgb()$rgb(0,255,255)%_length%$rgb()
//ADDITIONAL CODE FOR PROGRESS BAR//
$puts(progchar,|)
$puts(progfore,ffff00)
$puts(progback,ddffff)
$puts(proglength,85)
$char(10)
$get(head)$get(file)
$progress2(%_time_elapsed_seconds%,%_time_total_seconds%,$get(proglength),$get(progfore)$get(progchar),$get(progback)$get(progchar))$get(bright) $muldiv(%_time_elapsed_seconds%,100,%_time_total_seconds%)'%'
//END OF CODE

// PerTrack
//---------------------------//

$char(10)
$char(10)
$char(10)
$rgb(0,0,128)Codec: $rgb()$rgb(0,255,255)%codec%$rgb()$char(10)
$rgb(0,0,128)Bitrate: $rgb()$rgb(200,255,255)%bitrate%$rgb()$rgb(0,255,255 ) kbps $rgb()$rgb(200,255,255)%codec_profile%  $char(10)$rgb()
$rgb(0,0,128)Filesize: $rgb()$rgb(200,255,255)$div(%_filesize%,1048576).$num($div($mul($mod(%_filesize%,1048576),100),1048576),2)$rgb()$rgb(0,255,255 ) MB $char(10) $rgb()
$rgb(0,0,128)Samplerate: $rgb()$rgb(200,255,255)%samplerate%$rgb()$rgb(0,255,255) Hz %channels% $char(10)$rgb()
$char(10)
$rgb(0,0,128)Played: $rgb()$rgb(200,255,255)%play_count%$rgb()$rgb(0,255,255) times $char(10)$rgb()

)


what's wrong with it? blink.gif blink.gif blink.gif
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.