[MPlayer-users] Quoting and manipulating variables in mplayer slave mode

Krzysztof Duchnowski amidk75 at gmail.com
Wed Apr 27 20:01:16 CEST 2011


W dniu 27.04.2011 13:39, Lobster pisze:

> Just to confirm you are wanting the OSD to show a internal variable of 
> MPlayer and
> not one you have within your shell script right?

> I.E you `MPlayer *.mkv` and then try to put $filename (which you assume 
> MPlayer
> knows as the file currently being plaid) on the OSD to show the 
> currently playing
> filename?


No.
That would be an easy task:

echo 'osd_show_property_text "${filename}"' >/mplayer-fifo

He want to suck it in, preformat and then send it out in one mplayer
command - no love.

-- 
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/


More information about the MPlayer-users mailing list