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

Re: playing online radio

T o n g  wrote:
> Anyone know if there is a switch for mplayer to be more tolerant for 
> online radio? This is what I get:
> $ mplayer 'http://mfile.akamai.com/80871/live/reflector:20168.asx?bkup=20883&prop=n'
> Connecting to server localhost[]: 3128...
> Cache size set to 320 KBytes
> Cache fill:  0.08% (270 bytes)   
> Exiting... (End of file)
> However, if I paste that url to firefox, the mplayer plugin plays it
> just fine. 
> Any hints?

Yes.  A .asx file is a so-called playlist file.  Other playlist files
are .asf, .pls, .m3u, .smil files, for example.

Unlike other media players, mplayer does not detect these files itself,
so you should add the -playlist option:

mplayer -playlist 'http://mfile.akamai.com/80871/live/reflector:20168.asx?bkup=20883&prop=n'

I got this radio station working fine this way.

Reply to: