Page 1 of 1

How to listen a SHOUTcast listen.pls in terminal mode?

Posted: 12 Apr 2006 08:03
by acidburn
So...
I have a nice radio in my country at jy.lv - an latvian bloggers site.

So I want to listen to it using VLC on gentoo.
I saved the listen.pls file on my hdd.
Now I'm trying to open it with the VLC.
But it's not workin'. :(
My log file:

Code: Select all

lietus acidburn # vlc listen.pls -I dummy --http-continuous -vvv --no-video VLC media player 0.8.4a Janus [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 166 modules [00000001] main vlc debug: opening config file /root/.vlc/vlcrc [00000001] main vlc debug: CPU has capabilities 486 586 FPU [00000001] main vlc debug: looking for memcpy module: 1 candidate [00000031] main module debug: using memcpy module "memcpy" [00000213] main playlist debug: waiting for thread completion [00000213] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:183) [00000214] main private debug: waiting for thread completion [00000214] main private debug: thread 32771 (preparser) created at priority 0 (src/playlist/playlist.c:205) [00000215] main interface debug: looking for interface module: 1 candidate [00000037] main module debug: using interface module "hotkeys" [00000215] main interface debug: interface initialized [00000215] main interface debug: thread 49156 (interface) created at priority 0 (src/interface/interface.c:211) [00000217] main interface debug: looking for interface module: 3 candidates [00000025] main module debug: using interface module "screensaver" [00000217] main interface debug: interface initialized [00000217] main interface debug: thread 65541 (interface) created at priority 0 (src/interface/interface.c:211) [00000213] main playlist debug: adding playlist item `listen.pls' ( listen.pls ) [00000219] main interface debug: looking for interface module: 3 candidates [00000219] dummy interface: Using the dummy interface module... [00000014] main module debug: using interface module "dummy" [00000219] main interface debug: interface initialized [00000219] main interface debug: thread 81926 (manager) created at priority 0 (src/interface/interface.c:196) [00000213] main playlist debug: creating new input thread [00000228] main input debug: waiting for thread completion [00000228] main input debug: thread 98311 (input) created at priority 0 (src/input/input.c:230) [00000228] main input debug: `listen.pls' gives access `' demux `' path `listen.pls' [00000228] main input debug: creating demux: access='' demux='' path='listen.pls' [00000229] main demuxer debug: looking for access_demux module: 0 candidates [00000229] main demuxer warning: no access_demux module matched "any" [00000228] main input debug: creating access '' path='listen.pls' [00000230] main access debug: looking for access2 module: 2 candidates [00000230] access_file access debug: opening file `listen.pls' [00000120] main module debug: using access2 module "access_file" [00000234] main private debug: pre buffering [00000234] main private debug: received first data for our buffer [00000228] main input debug: creating demux: access='' demux='' path='listen.pls' [00000235] main demuxer debug: looking for demux2 module: 37 candidates [00000235] playlist demuxer debug: found valid PLS playlist file [00000080] main module debug: using demux2 module "playlist" [00000228] main input debug: `listen.pls' successfully opened [00000213] playlist playlist debug: starting playlist playback [00000235] playlist demuxer warning: couldn't find number of items [00000213] main playlist debug: adding playlist item `http://217.28.48.150:8000/' ( http://217.28.48.150:8000/ ) [00000228] main input debug: EOF reached [00000228] main input debug: closing input [00000080] main module debug: unlocking module "playlist" [00000120] main module debug: unlocking module "access_file" [00000228] main input debug: thread 98311 joined (src/input/input.c:386) [00000213] main playlist debug: creating new input thread [00000258] main input debug: waiting for thread completion [00000258] main input debug: `http://217.28.48.150:8000/' gives access `http' demux `' path `217.28.48.150:8000/' [00000258] main input debug: creating demux: access='http' demux='' path='217.28.48.150:8000/' [00000259] main demuxer debug: looking for access_demux module: 0 candidates [00000259] main demuxer warning: no access_demux module matched "http" [00000258] main input debug: creating access 'http' path='217.28.48.150:8000/' [00000260] main access debug: looking for access2 module: 4 candidates [00000260] access_http access debug: http: server='217.28.48.150' port=8000 file='/ [00000260] access_http access debug: proxy 10.0.37.1:1793 [00000260] main access debug: net: connecting to 10.0.37.1 port 1793 [00000260] main access debug: connection in progress [00000258] main input debug: thread 114695 (input) created at priority 0 (src/input/input.c:230) [00000260] access_http access debug: protocol 'ICY' answer code 200 [00000260] access_http access debug: Icy-Notice: <BR>This stream requires <a href="http://www.winamp.com/">Winamp</a><BR> [00000260] access_http access debug: Icy-Notice: SHOUTcast Distributed Network Audio Server/win32 v1.9.5<BR> [00000260] access_http access debug: Icy-Name: Jy.lv Lounge Radio [00000260] access_http access debug: Icy-Genre: Lounge [00000260] access_http access debug: Meta-Info: icy-url: http://www.jy.lv [00000260] access_http access debug: Content-Type: audio/mpeg [00000260] access_http access debug: Meta-Info: icy-pub: 1 [00000260] access_http access debug: Icy-MetaInt: 8192 [00000260] access_http access warning: ICY metaint=8192 [00000260] access_http access debug: Meta-Info: icy-br: 112 [00000260] access_http access: Raw-audio server found, mp3 demuxer selected [00000260] access_http access debug: auto re-connect enabled [00000125] main module debug: using access2 module "access_http" ³ŗéę£¦§JSāĀj09^ÅCsL^’ūķņ¬GXąQ„«'re buffering ŲĹė(Lŗ¦§uqU:ž¬¬ÕL¹ēĘ4éÖ;} -Y“(ēžæóöjx,ää2ÉV¤E„ÅÜį>Å [00000262] main private error: cannot pre fill bufferly 'įh;_ [00000258] main input warning: cannot create a stream_t from access ^[[?6c[00000125] main module debug: unlocking module "access_http" [00000258] main input debug: thread 114695 joined (src/input/input.c:386) [00000213] main playlist: nothing to play signal 2 received, terminating vlc - do it again in case it gets stuck [00000001] main vlc debug: removing all interfaces [00000219] main interface debug: thread 81926 joined (src/interface/interface.c:238) [00000014] main module debug: unlocking module "dummy" [00000217] main interface debug: thread 65541 joined (src/interface/interface.c:238) [00000025] main module debug: unlocking module "screensaver" [00000215] main interface debug: thread 49156 joined (src/interface/interface.c:238) [00000037] main module debug: unlocking module "hotkeys" [00000001] main vlc debug: removing all playlists [00000214] main private debug: thread 32771 joined (src/playlist/playlist.c:237) [00000213] main playlist debug: thread 16386 joined (src/playlist/playlist.c:238) [00000213] main playlist: stopping playback [00000213] main playlist debug: deleting playlist item `http://217.28.48.150:8000/' [00000001] main vlc debug: removing all video outputs [00000001] main vlc debug: removing all audio outputs [00000001] main vlc debug: removing announce handler [00000031] main module debug: unlocking module "memcpy" [00000001] main vlc debug: saving plugins cache file /root/.vlc/cache/plugins-04041e.dat lietus acidburn #
another log:
with command - vlc http://217.28.48.150:8000/listen.pls -I dummy -vvv

Code: Select all

[00000230] access_http access debug: protocol 'HTTP' answer code 200 [00000230] access_http access debug: Content-Type: audio/x-scpls [00000230] access_http access debug: auto re-connect enabled [00000125] main module debug: using access2 module "access_http" [00000232] main private debug: pre buffering [00000230] access_http access error: invalid HTTP reply '[playlist]' [00000232] main private error: cannot pre fill buffer [00000228] main input warning: cannot create a stream_t from access [00000125] main module debug: unlocking module "access_http" [00000228] main input debug: thread 98311 joined (src/input/input.c:386) [00000213] main playlist: nothing to play

Posted: 12 Apr 2006 23:49
by hal8000
with command - vlc http://217.28.48.150:8000/listen.pls -I dummy -vvv

Code:

[00000232] main private debug: pre buffering
[00000230] access_http access error: invalid HTTP reply '[playlist]'
[00000232] main private error: cannot pre fill buffer
[00000228] main input warning: cannot create a stream_t from access
[

Hi, just tried your radio station is working, just listened to it successfully from
here (in the UK). Look at error log above. Invalid HTTP reply. I think that the stream was unavailable when you tried to connect or other network problems.
Works fine on Suse 10 from terminal with:

vlc http://217.28.48.150:8000/listen.pls

or I apped -vv for verbose messages. HTH

Posted: 13 Apr 2006 07:53
by acidburn
Thanks, let's check the connection, I'm using proxy servers and socks and.. baa...

Posted: 29 Apr 2006 12:02
by fkamp
Thanks, let's check the connection, I'm using proxy servers and socks and.. baa...
Maybe this should work:

export http_proxy=http://username:password@proxyipaddress:port/

Place in .bashrc to make permanent.
Create/edit .bash_profile to source .bashrc
Works behind my censornet proxy anyway

I used mplayer exclusively until I found that vlc WORKED behind a proxy on the command line! Great Stuff!

HTH!