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

Re: Bash - estrapolare URL da .m3u



In data mercoledì 2 marzo 2016 15:08:35, Felipe ha scritto:
> Buongiorno,
> Sto cercando di ottenere dal file streming.m3u il suo contenuto, per poi
> darlo in pasto a mpg321, ma da quello che vedo qualcosa non funziona.
> 
> $ cat /tmp/streaming.m3u
> http://94.23.66.155/proxy/radiocit?mp=/stream
> 
> Ma ottengo:
> 
> $ mpg321 $(cat /tmp/streaming.m3u)
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew,
> now maintained by Nanakos Chrysostomos and others.
> Uses code from various people. See 'README' for more!
> THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!
> http_open: HTTP/1.1 400 Bad Request
> http://94.23.66.155: No such file or directory
> ^^^^^^^^^^^^^^^^^^^-->?

Risolto,
C'era del marcio in quel file

/tmp/streaming.m3u: ASCII text, with CRLF line terminators


Reply to: