[MPlayer-users] A bug in MPlayer slave mode ?? (get_percent_pos)
RomulusPfeiffer
romuluspfeiffer at uni.de
Thu Feb 19 16:48:02 CET 2004
Hi all,
I'm writing a console-frontend programm in Perl for MPlayer. I want to
have a player mainly for listening music.
I proceed as follows:
I start mplayer over a pipe and I've got STDIN to read informations from
MPlayer and STDOUT to send commands to MPlayer.
The problem is that the command:
get_percent_pos
returns always 0 until i do a seek like "seek 1\n" or whatever. Then the
'get_percent_pos' command returns the correct percent value. But I have
this problem ONLY with MP3 files. And that really sucks because I've
implemented a progressbar which depends on the percent position and
further, I use my program mainly with MP3 files. My workaround up to now
is to do a "seek 0 2" directly after starting a new track but this is not
really satisfying and sometimes one hears it also :(
I am pleased about everyone tap.
-romulus-
More information about the MPlayer-users
mailing list