[MPlayer-users] Current song filename

Oliver Seitz info at vtnd.de
Thu Oct 1 17:40:33 CEST 2009


> Hello,
>
> I'm looking for a way to get from MPlayer in STDOUT the current song
> filename, something like command "audtool --current-song-filename" for
> Audacious.
>
> Google helped only with option "get_filename" in ~/.lircrc file, but I
> don't have a remote control station for my computer... And I need to get
> filenames non-interactively.
>
> Is there any command for getting filenames in shell?

Look for

get_file_name

in http://www.mplayerhq.hu/DOCS/tech/slave.txt

The bash fragment in

http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-September/077890.html

and the mplayer manpage about -slave and -input

Greets,
Kiste




More information about the MPlayer-users mailing list