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
I/INFO command for mpg321-0.2.10 (remote play)
I/INFO command for mpg321-cvs (remote play)