Re: extract stream title from the output of mplayer

2014-03-18 Thread Jabba Laci
> Python. (Or s/guess/hop/ if you prefer!) There are many ways this > could be done; what have you tried, what partly worked, what did > something unexpected? Hi, I managed to solve the problem. In the man of mplayer I found how to quit after X seconds: "-endpos X". See my solution below. Best,

Re: extract stream title from the output of mplayer

2014-03-18 Thread Chris Angelico
On Wed, Mar 19, 2014 at 4:03 AM, Jabba Laci wrote: > I have a simple command-line radio player and I want to extract song > titles from the output of mplayer. > > ICY Info: StreamTitle='Alexander 'Taxim' Nev - Unsound minds feat. > SAM';StreamUrl='http://www.SLAYRadio.org/'; > > At the end it show

extract stream title from the output of mplayer

2014-03-18 Thread Jabba Laci
Hi, I have a simple command-line radio player and I want to extract song titles from the output of mplayer. Example: $ mplayer http://relay2.slayradio.org:8000/ It produces a streamed output of this form: MPlayer2 UNKNOWN (C) 2000-2012 MPlayer Team mplayer: could not connect to socket mplayer: