[MPlayer-users] SIGCONT causes fast-forward effect
Pete Nesbitt
pete at linux1.ca
Sun Dec 7 22:16:42 CET 2008
On Sun, 07 Dec 2008 20:55:41 +0000
Bryan Henderson <giraffedata at gmail.com> wrote:
> On 12/7/08, Pete Nesbitt <pete at linux1.ca> wrote:
> >
> > while ....
> > do
> > ...
> > ${MPLAYER} -slave -input file=/data/cm_temp/mplayer_cmds_fifo \
> > -quiet ${TRACK} &> /dev/null
> > ...
> > done < ${PLAY_LIST} &> /dev/null &
>
> This is probably a Unix issue, not an MPlayer issue. You should try
> replacing the 'mplayer' command with a 'cat' of the fifo to some
> terminal and see if your commands go to that terminal.
>
> Two things that look like they might need work; 1) -slave is
> unnecessary; 2) Mplayer's Standard Input is the file ${PLAY_LIST}.
>
Ya, I was also thinking that this issue is no longer really about
mplayer.
Regarding your point #2, ${PLAY_LIST} is a list of songs to be played,
then the loop finds the next item as $TRACK, updates a 'now playing'
var based on $TRACK, and sends a single flac file to mplayer as $TRACK.
It is how I grab the current artist.
I'm thinking I may need to approach it from a different angle so I
don't need the while-loop.
Thanks all.
-Pete
More information about the MPlayer-users
mailing list