mIRC Home    About    Download    Register    News    Help

Print Thread
#149628 21/05/06 01:03 PM
Joined: Mar 2004
Posts: 150
D
Darkmnm Offline OP
Vogon poet
OP Offline
Vogon poet
D
Joined: Mar 2004
Posts: 150
Below is two alias' that at one time I had no problems with but with the new mIRC 6.17 it seems that the trackbar is now wrong when playing a Mp3 . What happens is, when I play a song, when the song is over the progress bar is only half way through and the song starts playing once again. Anyone here know if something in the new version has changed and this is the reason for the mishap now or something else maybe the reason. Thank you in advance for any information/help on the subject.

alias mp3.time { if ($dialog(mp3)) { if (!$insong) { return 3 | halt } | var %x = $calc($insong.pos /1000) | did -ra mp3 2 $gmt(%x,$iif(%x >= 3600,h:nn:ss,nn:ss)) } }

alias mp3.trackbar if ($dialog(mp3)) did -i mp3 12 1 params $round($calc($calc($inmp3.pos / $inmp3.length) * 100),0)

#149629 23/05/06 01:29 AM
Joined: Oct 2005
Posts: 1,671
G
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,671
You could check the v6.17 section of the versions.txt file to see if there are any changes that might affect your code.

-genius_at_work

#149630 23/05/06 10:07 PM
Joined: Oct 2004
Posts: 8,061
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Oct 2004
Posts: 8,061
You are probably playing a variable bit rate (VBR) file...

See this thread:
Link 1

Also, you might try the identifier listed in this thread to help you:
Link 2


Link Copied to Clipboard