1. 29 Jan, 2011 1 commit
    • Ian Zimmerman's avatar
      input/curl: enable CURLOPT_NETRC · 27aa34d4
      Ian Zimmerman authored
      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.
      27aa34d4
  2. 28 Jan, 2011 1 commit
  3. 21 Jan, 2011 2 commits
  4. 16 Jan, 2011 1 commit
  5. 10 Jan, 2011 14 commits
  6. 09 Jan, 2011 1 commit
  7. 08 Jan, 2011 2 commits
  8. 07 Jan, 2011 13 commits
  9. 05 Jan, 2011 1 commit
  10. 27 Dec, 2010 1 commit
  11. 23 Dec, 2010 3 commits