Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#9 mpg321 remote play I/INFO command

open
Joe Drew
Patches (14)
5
2003-11-19
2003-11-19
Gergely Szasz
No

Hi!

Here are 2 patch, one for mpg321-0.2.10 and one for the
cvs version.

If we omitting all frame info printing with
--skip-printing-frames=-1, or other negative number, we
didn't get any more info from the position of playing.
This patch implement a I/INFO command to remote play.
So, we ask mpg321 to print the next decoding frame
header info for me... :-)

e.g.:
gergely@stork:~$ ./mpg3211 -R nofile -G -1
@R MPG123
L brahms.mp3
@I ID3:Piano Concerto #2 - 1. - Emil Brahms

@S 1.0 3 44100 Stereo 0 320 2 0 0 0 128 0
I
@I PLAYING
@F 306 41883 7.99 1094.07
P
@P 1
I
@I PAUSED
P
@P 2
I
@I PLAYING
@F 660 41529 17.24 1084.82
S
@P 0
I
@I STOPPED
Q

Gergely Szász

Discussion

  • Gergely Szasz
    Gergely Szasz
    2003-11-19

    I/INFO command for mpg321-0.2.10 (remote play)

     
    Attachments
  • Gergely Szasz
    Gergely Szasz
    2003-11-19

    • summary: mpg321 remote play I command --> mpg321 remote play I/INFO command
     
  • Gergely Szasz
    Gergely Szasz
    2003-11-19

    I/INFO command for mpg321-cvs (remote play)

     
    Attachments