Bug 84207

Summary: Add support for metadata in password protected streams
Product: [Applications] amarok Reporter: wef <javapojken>
Component: generalAssignee: Amarok Developers <amarok-bugs-dist>
Status: RESOLVED FIXED    
Severity: wishlist    
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: adds base64 encoding of user name and password

Description wef 2004-06-29 11:40:43 UTC
Version:           1.0.1 (using KDE KDE 3.2.2)
Installed from:    Compiled From Sources
OS:                Linux

When using a password protected stream, such as the ones from di.fm, amarok hangs. This is due to the fact that title streaming is not supported for password protected streams. The server sends a response code of 401 (unauthorized) back to amarok, and amarok doesn't know what to do with it.

amarok must send user name and password with base64 encoding for this to work.
Comment 1 wef 2004-06-29 11:43:05 UTC
Created attachment 6510 [details]
adds base64 encoding of user name and password

Providing a patch (works for password protected streams and regular streams)
Comment 2 wef 2004-06-29 11:44:15 UTC
Comment on attachment 6510 [details]
adds base64 encoding of user name and password

Providing a patch for titleproxy.cpp
Comment 3 Mark Kretschmann 2004-06-29 18:57:08 UTC
Thanks for patch. Committed to HEAD.