Old 24th October 2006, 19:53   #1
kvoorhees
Junior Member
 
Join Date: Oct 2006
Posts: 3
Playlist URL Requires Authentication

I receive an unauthorized 401 error message when trying to connect to an http url from within Winamp. My website is password protected. Is there a way to pass credentials to the web server in order to open this url as a playlist in Winamp 5?

Thanks much in advance!

KRV
kvoorhees is offline   Reply With Quote
Old 24th October 2006, 20:04   #2
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
What kind of files? MP3 or Ogg Vorbis? Which Winamp version are you running?
Koopa is offline   Reply With Quote
Old 24th October 2006, 20:09   #3
kvoorhees
Junior Member
 
Join Date: Oct 2006
Posts: 3
5.3, mp3s. Not sure how that is relevant though. I can connect to my site fine if I turn off the security, but that isn't an option. I have also tried to construct an url in the format http://username:password@www.mysite.com. With no luck. :(
kvoorhees is offline   Reply With Quote
Old 24th October 2006, 20:12   #4
Koopa
16-Bit Moderator
 
Koopa's Avatar
 
Join Date: Apr 2004
Posts: 4,341
Quote:
Originally posted by kvoorhees
Not sure how that is relevant though.
This is simple, some people ask for support and use an old version. Winamp < 5.09 doesn't support OGG authentication.

I guess your problem is related to missing SSL support.

From the Wishlist


Streaming https/ssl support
planned for a future 5.x release
Koopa is offline   Reply With Quote
Old 24th October 2006, 20:54   #5
kvoorhees
Junior Member
 
Join Date: Oct 2006
Posts: 3
Thanks. I am not interested in SSL support, but you pointed me in the right direction! The wishlist has the line:

Hide username:password@ for url's in playlist

This means to me that this syntax should work, albeit with your password in plaintext. Despite this, when I enter an url of a directory on my webserver, I still get unauthorized 401. Hmm, I tried pointing directly to a file but this was unsuccessful as well, although it says "Bad Request". I wonder if my real question isn't can I point to a directory and not a specific song. That wouldn't make much sense to me, but I guess anything is possible, anyone?
kvoorhees is offline   Reply With Quote
Old 24th October 2006, 21:32   #6
siebe83
Forum King
 
siebe83's Avatar
 
Join Date: Feb 2004
Posts: 9,229
Are there any weird characters in the username or password? (i.e. other than letters and numbers)
Quote:
I wonder if my real question isn't can I point to a directory and not a specific song.
I didn't really get this part...

If you're bored go here or, if the boredom is more serious, here.
siebe83 is offline   Reply With Quote
Old 24th October 2006, 22:36   #7
DJ Egg
Techorator
Winamp & Shoutcast Team
 
Join Date: Jun 2000
Posts: 35,912
The http://username:password@www.site.com/dir/filename.mp3 format should definitely work with Winamp 5.3 and in_mp3.dll (ie. make sure you've not installed some 3rd-party mp3 plugin).

You should also be able to just use http://site.com/dir/filename.mp3 format and be prompted for username:password, as long as you're linking directly to an mp3 file, and not to an m3u playlist (for m3u playlists you need to put the userbame:password in the url).

So yeah, other than what's already been said, I'm not quite sure what you're doing wrong.

Do you get a username/password prompt in Winamp for this file?
http://www.meggamusic.co.uk/music/Pa...Marsmellow.mp3
DJ Egg is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Winamp > Winamp Technical Support

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump