Current song filename

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]<

 



? ???, 01/10/2009 ? 20:59 +0400, Alexey Mishustin ?????:
> ? ???, 01/10/2009 ? 18:12 +0200, Oliver Seitz ?????:
> > >> > I'm looking for a way to get from MPlayer in STDOUT [...]
> > 
> > where do you expect STDOUT to be if not where you started the
> program in
> > the first place?
> 
> I start mplayer in the shell. So I expect its STDOUT to be in the
> shell
> too, like STDOUT of "audtool --current-song-filename".

I found a discussion related to the topic (but using perl) at
http://forums.gentoo.org/viewtopic-t-739016-start-0.html .

The main idea is: 
You may be able to get more control by ... directing mplayer to read
from stdin instead of from the fifo. You then write to the pipe attached
to mplayer's stdin, and read from the pipe attached to its stdout.

So, I understand that I need to correct my question:
How to launch mplayer with pipes on its stdin and stdout? Using only
shell, no perl.

-- 
Regards,
Alex



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux