[MPlayer-users] One instance of mplayer, no more

Nico Sabbi Nicola.Sabbi at poste.it
Mon Oct 15 16:22:13 CEST 2007


Il Monday 15 October 2007 16:16:31 Dotan Cohen ha scritto:
> I just introduced the stepmother to Linux, and she is rather
> enjoying Fedora. However, she cannot program herself to close any
> open instance of mplayer before clicking on another file. I'm no
> good at bash, and I need this working for her _today_, so I'm
> kindly asking if anyone has a wrapper script for mplayer that
> checks if there is a running instance, and if so closes it before
> opening a new instance. Basically, she needs the appearance that
> the new file is 'replacing' the old file in the open program. Sorry
> for the bother, and thanks in advance.
>

killall -INT mplayer; mplayer file will do, but not open a new
mplayer in an already open window if it's what you want.



More information about the MPlayer-users mailing list