Support for password protected SHOUTcast
#1
it would be great if you guys could add support for
shoutcast streams that are password protected.


example

[playlist]
numberofentries=2
file1=http://username:[email protected]:8070
title1=trance
length1=-1
file2=http://username:[email protected]:80
title2=trance
length2=-1
version=2
Reply
#2
hi.
i've got a problem with playing di.fm streams. they require login to their servers and url of the stream is

http://user:pass@server_ip

the error i'm getting is "401 unauthorized"

how do i overcome it?
Reply
#3
i assume you got an account ofcourse?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
of course i have an account, it works fine in winamp
Reply
#5
i have the same problem.  http://www.digitallyimported.com

their low quality free account .pls files work fine on xbox.  when you try to use a .pls that includes your premium username/password for 128/160 files you get the 401 unauthorized error message like above.

what's the deal?

here's another program that has the same problem. (i dont use it, but found it via google) is what they talk about some how related to how xbox reads-plays .pls files?

http://streamripper.sourceforge.net/open...539&page=1
Reply
#6
Sad 
i posted this problem on http://www.di.fm  forums

the di.fm admin said that programs need to support "basic authentication"  

will you come out with a patch like the other vendors have?

here's the whole reply from the di forum:

di forums board > other forums > di premium service > http:401 unauthorized

post1110184

"hi.
your media player needs to support basic authentication in order to work with premium. we had a few customers with various products who contacted the vendors - and they in turn released an upgrade for software/firmware to support it. we recommend to try and contact them and ask them to support basic authentication so that you can stream premium content from sites.

we'll be happy to assist them. they can contact support(at)di.fm if they need to test things to make it work.


___
~james~"


here was my original question to di.fm:

"can you play your saved .pls (premium) files to use with other players besides winamp? i'm trying to listen to my premium di channels on my xbox media center but it gives me http:401 unauthorized. the free .pls files play fine but the ones i pay for do not? what can i do to make this work? i want to get the most out of my account i paid for."
Reply
#7
i's not working because no support for it has been implemented, it's as simple as that.
moving to feature suggestions and merging into existing thread.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#8
Star 
okay so it's not implemented as of yet? any word on how hard it would be to add it, and if so when it could be added? i need my daily dose of opie & anthony.

cheers!
Reply
#9
when i try to connect to a icecast server with one account its not able to login, but when i use a different account it does login
i have verified both are able to login with winamp and both do work

account #1 (not working)
24-11-2005 02:49:17 error dns lookup for chevy failed: 11001
24-11-2005 02:49:17 warning error: problem accessing the dns. defaulting to using hard-coded ip address for known hosts.
24-11-2005 02:49:17 error unable to connect to chevy: 11001
24-11-2005 02:49:17 notice url http://chevy:[email protected]:8020/streamtv01.nsv not found
24-11-2005 02:49:19 error cmplayer::openfile() http://chevy:[email protected]:8020/streamtv01.nsv failed


account #2 (working)
24-11-2005 02:49:22 error dns lookup for chevy0 failed: 11001
24-11-2005 02:49:22 warning error: problem accessing the dns. defaulting to using hard-coded ip address for known hosts.
24-11-2005 02:49:22 error unable to connect to chevy0: 11001
24-11-2005 02:49:22 notice url http://chevy0:[email protected]:8020/streamtv01.nsv not found
24-11-2005 02:49:36 notice start led control
24-11-2005 02:49:36 notice dim lcd on playback
24-11-2005 02:49:51 notice start led control
24-11-2005 02:49:51 notice dim lcd on playback
Reply
#10
here is another log of the one not working

24-11-2005 03:02:49 info loading web playlist http://chevy:[email protected]:8020/streamtv01.nsv
24-11-2005 03:02:49 info get header url: http://chevy:[email protected]:8020/streamtv01.nsv
24-11-2005 03:02:49 error dns lookup for chevy failed: 11001
24-11-2005 03:02:49 warning error: problem accessing the dns. defaulting to using hard-coded ip address for known hosts.
24-11-2005 03:02:49 error unable to connect to chevy: 11001
24-11-2005 03:02:49 notice url http://chevy:[email protected]:8020/streamtv01.nsv not found
24-11-2005 03:02:49 info mplayer play:http://chevy:[email protected]:8020/streamtv01.nsv cachesize:2048
24-11-2005 03:02:49 debug initializing fs_seg..
24-11-2005 03:02:49 debug fs segment @ 0x85d380
24-11-2005 03:02:50 info flipping bi-directional subtitles disabled
24-11-2005 03:02:50 debug msg:enable mplayer osd
24-11-2005 03:02:50 debug msg:mplayer dev-cvs-050410-13:35 © 2000-2004 mplayer team
24-11-2005 03:02:50 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
24-11-2005 03:02:50 debug msgSadfamily: 6, stepping: 10)
24-11-2005 03:02:50 debug msg:detected cache-line size is 32 bytes
24-11-2005 03:02:50 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
24-11-2005 03:02:50 debug msg:compiled for x86 cpu with extensions:
24-11-2005 03:02:50 debug msg: mmx
24-11-2005 03:02:50 debug msg: mmx2
24-11-2005 03:02:50 debug msg: sse
24-11-2005 03:02:50 debug msg:
24-11-2005 03:02:50 debug msg:
24-11-2005 03:02:50 debug msg:79 audio & 187 video codecs
24-11-2005 03:02:50 debug msg:mplayer_open_file(http://chevy:[email protected]:8020/streamtv01.nsv)
24-11-2005 03:02:50 info stating file http://chevy:[email protected]:8020/...1.nsv.conf
24-11-2005 03:02:50 info stating file q:\system\players\mplayer\streamtv01.nsv.conf
24-11-2005 03:02:50 debug msg:playing http://chevy:[email protected]:8020/streamtv01.nsv.
24-11-2005 03:02:50 debug msg:auto open z:\subtitle
24-11-2005 03:02:50 debug msg:protocol:http
24-11-2005 03:02:50 debug msg:open stream protocol:http
24-11-2005 03:02:50 debug msg:connecting to server 192.168.0.88[192.168.0.88]:8020 ...
24-11-2005 03:02:51 debug msg:authentication required for "icecast2 server"
24-11-2005 03:02:51 error cmplayer::openfile() http://chevy:[email protected]:8020/streamtv01.nsv failed
Reply
#11
here is another log of the one working

24-11-2005 03:02:52 info loading web playlist http://chevy0:[email protected]:8020/streamtv01.nsv
24-11-2005 03:02:52 info get header url: http://chevy0:[email protected]:8020/streamtv01.nsv
24-11-2005 03:02:52 error dns lookup for chevy0 failed: 11001
24-11-2005 03:02:52 warning error: problem accessing the dns. defaulting to using hard-coded ip address for known hosts.
24-11-2005 03:02:52 error unable to connect to chevy0: 11001
24-11-2005 03:02:52 notice url http://chevy0:[email protected]:8020/streamtv01.nsv not found
24-11-2005 03:02:52 debug msg:
24-11-2005 03:02:52 debug freeing fs segment @ 0x85d380
24-11-2005 03:02:52 info mplayer play:http://chevy0:[email protected]:8020/streamtv01.nsv cachesize:2048
24-11-2005 03:02:52 debug initializing fs_seg..
24-11-2005 03:02:52 debug fs segment @ 0x87f010
24-11-2005 03:02:53 info flipping bi-directional subtitles disabled
24-11-2005 03:02:53 debug msg:enable mplayer osd
24-11-2005 03:02:53 debug msg:mplayer dev-cvs-050410-13:35 © 2000-2004 mplayer team
24-11-2005 03:02:53 debug msg:cpu: intel celeron 2/pentium iii coppermine,geyserville
24-11-2005 03:02:53 debug msgSadfamily: 6, stepping: 10)
24-11-2005 03:02:53 debug msg:detected cache-line size is 32 bytes
24-11-2005 03:02:53 debug msg:cpuflags: mmx: 1 mmx2: 1 3dnow: 0 3dnow2: 0 sse: 0 sse2: 0
24-11-2005 03:02:53 debug msg:compiled for x86 cpu with extensions:
24-11-2005 03:02:53 debug msg: mmx
24-11-2005 03:02:53 debug msg: mmx2
24-11-2005 03:02:53 debug msg: sse
24-11-2005 03:02:53 debug msg:
24-11-2005 03:02:53 debug msg:
24-11-2005 03:02:53 debug msg:79 audio & 187 video codecs
24-11-2005 03:02:53 debug msg:mplayer_open_file(http://chevy0:[email protected]:8020/streamtv01.nsv)
24-11-2005 03:02:53 info stating file http://chevy0:[email protected]:8020...1.nsv.conf
24-11-2005 03:02:53 info stating file q:\system\players\mplayer\streamtv01.nsv.conf
24-11-2005 03:02:53 debug msg:playing http://chevy0:[email protected]:8020...mtv01.nsv.
24-11-2005 03:02:53 debug msg:auto open z:\subtitle
24-11-2005 03:02:53 debug msg:protocol:http
24-11-2005 03:02:53 debug msg:open stream protocol:http
24-11-2005 03:02:53 debug msg:connecting to server 192.168.0.88[192.168.0.88]:8020 ...
24-11-2005 03:02:54 debug msg:cache size set to 2048 kbytes
24-11-2005 03:02:54 debug msg:connected to server: 192.168.0.88
24-11-2005 03:02:54 debug msg:
cache fill: 0.00% (0 bytes)
24-11-2005 03:02:54 debug msg:
Reply
#12
here is debug mode of icecast

[2005-05-01 13:42:46] dbug connection/_handle_get_request start with /streamtv04.nsv
[2005-05-01 13:42:46] dbug auth/_add_client max on /streamtv04.nsv is 10
[2005-05-01 13:42:46] dbug auth/_add_client pending 2, current 1
[2005-05-01 13:42:46] warn auth/auth_check_client base64 decode of authorization header "y2hlrgy6ynjpyw4xotc4=" failed
[2005-05-01 13:42:46] info auth/_add_client listener failed to authenticate
[2005-05-01 13:42:46] dbug slave/_slave_thread rescanning relay lists



the base64 code is y2hlrgy6ynjpyw4xotc4 and its sending y2hlrgy6ynjpyw4xotc4=

i changed my pass and now its sending y2hldnk6ymjiyg= when it should be y2hldnk6ymjiyg==
Reply
#13
this doesnt appear to be an xbmc problem but an mplayer problem. it seems like mplayer is not computing the correct hash value. contact them.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#14
(kraqh3d @ may 02 2005,15:39 Wrote:this doesnt appear to be an xbmc problem but an mplayer problem. it seems like mplayer is not computing the correct hash value. contact them.
ya it was mplayer

something with their base64 code

a friend of mine fixed it, it can be found at

http://streamtvnow.com/board/showthread.php?t=2034
Reply
#15
well actually seem to be a an xbmc problem too.. tries to lookup the username in dns.. doesn't make sence at all.
btw, that url you posted needs login, can you post a quote instead?
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply

Logout Mark Read Team Forum Stats Members Help
Support for password protected SHOUTcast0