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

Bash - estrapolare URL da .m3u



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
^^^^^^^^^^^^^^^^^^^-->?

Per confronto, anche se preferisco utilizzare mpg321, utilizzando cvlc 
incontro:

$ cvlc $(cat /tmp/streaming.m3u)
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)
[000000000238f5d8] dummy interface: using the dummy interface module...
[00007fd248000e48] http access error: error: HTTP/1.1 400 Bad Request
[00007fd248000e48] http access error: error: HTTP/1.1 400 Bad Request
[00007fd248000e48] access_mms access error: error: HTTP/1.1 400 Bad Request
' failed24c000c28] core input error: open of 
`http://94.23.66.155/proxy/radiocit?mp=/stream
[00007fd24c000c28] core input error: L'ingresso non può essere aperto
'. Controlla il registro per i dettagli. non è in grado di aprire il MRL 
'http://94.23.66.155/proxy/radiocit?mp=/stream

Qui l'URL compare correttamente ma cvlc va in pappa.

Se lancio mpg321/cvlc http://94.23.66.155/proxy/radiocit?mp=/stream tutto 
funziona regolarmente.

Suggerimenti?



Attachment: streaming.m3u
Description: audio/mpegurl


Reply to: