so i took this code from someone that posted it earlier (i am trying to learn all this foobar stuff):

CODE

$imageabs($sub($div(%_width%,2),512),0,neo1\back1.png,)
$if(%isplaying%,
$puts(progress,$muldiv(%playback_time_seconds%,$sub(%_width%,24),%length_seconds%))
$drawrect(10,82,$sub(%_width%,20),8,brushcolor-null pencolor-120-120-120),)
$ifgreater($get(progress),0,$padding(9,82)$drawrect(3,2,$get(progress),4,brushcolor-90-90-90 pencolor-nulll),)
$if(%_isplaying%,
$font(calibri,14,boldshadow,240-240-240)
$alignabs(0,4,%_width%,30,center,)%artist%
$alignabs(0,28,%_width%,20,center,)
$font(calibri,8,boldshadow,170-230-250)"%title%"
$alignabs(0,44,%_width%,20,center,)
$font(calibri,8,boldshadow,180-180-180)from
$font(calibri,8,boldshadow,230-230-230)"%album%"
$alignabs(0,61,%_width%,20,center,)
$font(Calibri,8,boldshadow,180-180-180)


this seekbar does not automatically update, meaning that when playing songs, it does not move along as the time increases. the song must be paused then restarted for it to display the correct position.

as i am just learning, i know nothing of the code above - i am only playing around so far. what needs to be changed so that the seekbar moves?