Package: mpd Version: 0.15.12-1.1 Severity: wishlist
I wanted mpd to play a mp3 stream from a music website. The stream is only available to subscribers, which restriction is enforced through normal http authentication. However, the URL I get from the website is not the final URL of the stream, but a generic URL which points to the real one through a redirect (code 301). Thus, I cannot predict the final URL, and so I cannot use the username:password hack to force the authentication, and mpd (libcurl on mpds behalf) fails to grab the stream. libcurl allows the option CURLOPT_NETRC to be set and then the credentials can be stored in the good old .netrc file (in this case it would be ~mpd/.netrc, of course). But mpd doesn't set this option. I think it should. -- System Information: Debian Release: 6.0 APT prefers testing APT policy: (990, 'testing'), (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.36.3git (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages mpd depends on: ii adduser 3.112+nmu2 add and remove users and groups ii libao4 1.0.0-5 Cross Platform Audio Output Librar ii libasound2 1.0.23-2.1 shared library for ALSA applicatio ii libaudiofile0 0.2.6-8 Open-source version of SGI's audio ii libavcodec52 4:0.5.2-6 ffmpeg codec library ii libavformat52 4:0.5.2-6 ffmpeg file format library ii libavutil49 4:0.5.2-6 ffmpeg utility library ii libc6 2.11.2-9 Embedded GNU C Library: Shared lib ii libcurl3-gnutls 7.21.0-1 Multi-protocol file transfer libra ii libfaad2 2.7-6 freeware Advanced Audio Decoder - ii libflac8 1.2.1-2+b1 Free Lossless Audio Codec - runtim ii libgcc1 1:4.4.5-8 GCC support library ii libglib2.0-0 2.24.2-1 The GLib library of C routines ii libid3tag0 0.15.1b-10 ID3 tag reading library from the M ii libjack0 [libjack-0.11 1:0.118+svn3796-7 JACK Audio Connection Kit (librari ii libmad0 0.15.1b-5 MPEG audio decoder library ii libmms0 0.6-1 MMS stream protocol library - shar ii libmpcdec6 2:0.1~r459-1 MusePack decoder - library ii libogg0 1.2.0~dfsg-1 Ogg bitstream library ii libpulse0 0.9.21-3 PulseAudio client libraries ii libresid-builder0c2a 2.1.1-8 SID chip emulation class based on ii libsamplerate0 0.1.7-3 Audio sample rate conversion libra ii libshout3 2.2.2-5+b1 MP3/Ogg Vorbis broadcast streaming ii libsidplay2 2.1.1-8 SID (MOS 6581) emulation library ii libsqlite3-0 3.7.3-1 SQLite 3 shared library ii libstdc++6 4.4.5-8 The GNU Standard C++ Library v3 ii libvorbis0a 1.3.1-1 The Vorbis General Audio Compressi ii libvorbisenc2 1.3.1-1 The Vorbis General Audio Compressi ii libvorbisfile3 1.3.1-1 The Vorbis General Audio Compressi ii libwavpack1 4.60.1-1 an audio codec (lossy and lossless mpd recommends no packages. Versions of packages mpd suggests: pn avahi-daemon <none> (no description available) pn icecast2 <none> (no description available) ii mpc [mpd-client] 0.19-2 A command-line tool to interface M ii ncmpcpp [mpd-client] 0.5.4-1 ncurses-based client for the Music pn pulseaudio <none> (no description available) ii pympd [mpd-client] 0.07-2 Frontend for mpd in the style of r -- Configuration Files: /etc/mpd.conf changed [not included] -- no debconf information -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

