live365

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

 



Yes, mplayer can't follow the redirects and trplayer can.
Live365.com modifies the url depending on if you are registered and/or a v i p member.

The curl command can find the url that mplayer needs.
I made a little one-line command that works for me in bash.
Put it in /usr/local/bin and it seems to work ok.
You have to find the proper name of the stream you want to hear.
You can find that by searching their site and reading the url for a station.
So, for example,  I can type;

live iwebradio

and i am hearing the iwebradio stream using mplayer.

Here is the command that works for me:

mplayer -quiet `curl -I "http://www.live365.com/play/$1/"; |sed -e '/ocation/!d; s/.* \(.*\).$/\1/' `

_______________________________________________

Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list

[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]