1. 10 Nov, 2009 1 commit
    • Max Kellermann's avatar
      configure.ac: require GLib 2.12 · b722d3d7
      Max Kellermann authored
      Drop the required GLib version from 2.16 to 2.12, because many current
      systems still don't have GLib 2.16.  This requires several new
      compatibility functions in glib_compat.h.
      b722d3d7
  2. 13 Oct, 2009 3 commits
  3. 11 Oct, 2009 3 commits
    • Max Kellermann's avatar
      input_stream: use "goffset" instead of "off_t" · 727c301f
      Max Kellermann authored
      The "off_t" type may change when you enable or disable large file
      support on 32 bit platforms.  This caused severe ABI problems within
      MPD when we enabled LFS for the first time: two sources included
      config.h and sys/types.h in different order, and had different off_t
      sizes - leading to memory corruption because of ABI incompatibility.
      This patch attempts to get rid of all public "off_t" uses: it removes
      "off_t" from the input_stream ABI/API, and switches to GLib's 64 bit
      "goffset" type.  This may hurt 32 bit embedded platforms a tiny bit,
      but that's not even measurable.
      727c301f
    • Max Kellermann's avatar
      input/curl: don't abort if a packet has only metadata · af92b1c2
      Max Kellermann authored
      When a received chunk of data has only icy-metadata, there was no
      usable data left for input_curl_read() to return, and thus it returned
      0 bytes.  "0" however is a special value for "end of file" or
      "error".  This patch makes input_curl_read() read more data from the
      socket, until the read request can be fulfilled (or until there's
      really EOF).
      af92b1c2
    • Max Kellermann's avatar
      input/curl: moved code to fill_buffer() · 01655809
      Max Kellermann authored
      01655809
  4. 28 Apr, 2009 1 commit
  5. 25 Apr, 2009 1 commit
  6. 27 Mar, 2009 1 commit
  7. 13 Mar, 2009 1 commit
    • Avuton Olrich's avatar
      all: Update copyright header. · 0aee49bd
      Avuton Olrich authored
      This updates the copyright header to all be the same, which is
      pretty much an update of where to mail request for a copy of the GPL
      and the years of the MPD project. This also puts all committers under
      'The Music Player Project' umbrella. These entries should go
      individually in the AUTHORS file, for consistancy.
      0aee49bd
  8. 06 Mar, 2009 1 commit
  9. 02 Mar, 2009 4 commits
  10. 28 Feb, 2009 1 commit
  11. 17 Feb, 2009 1 commit
  12. 29 Jan, 2009 1 commit
  13. 25 Jan, 2009 1 commit
  14. 17 Jan, 2009 1 commit
  15. 15 Jan, 2009 4 commits
  16. 13 Jan, 2009 2 commits
    • Joe Milbourn's avatar
      input_curl: honour http_proxy_* config directives · 45598d50
      Joe Milbourn authored
      If http_proxy_{host, port, user, password} are provided in mpd.conf
      they are not passed on to libcurl. As a result mpd cannot stream from
      behind an http proxy.
      
      The attached patch `http_proxy.patch` makes the relevant calls to
      curl_easy_setopt(...) for all proxy configuration parameters, but is
      only tested for host and port.
      45598d50
    • Max Kellermann's avatar
      input_curl: use select() to eliminate busy loop during connect · e7c7e652
      Max Kellermann authored
      When decoder_run_song() (decoder_thread.c) waits for the input stream
      to become ready, it did that in a busy loop.  Add a select() call to
      input_curl_buffer() during connect/handshake (i.e. before the first
      chunk of body data was received), to let the CPU relax.
      e7c7e652
  17. 07 Jan, 2009 2 commits
  18. 03 Jan, 2009 2 commits
  19. 30 Nov, 2008 2 commits
  20. 25 Nov, 2008 1 commit
    • Max Kellermann's avatar
      input_curl: disable Icy-Metadata · 21dade26
      Max Kellermann authored
      input_curl.c does not support parsing shoutcast metadata yet.  Disable
      the "Icy-Metadata" header for now, since it may cause corruptions in
      the stream.
      21dade26
  21. 24 Nov, 2008 1 commit
  22. 21 Nov, 2008 3 commits
  23. 20 Nov, 2008 2 commits
    • Max Kellermann's avatar
      input_curl: don't fail when seek to EOF is requested · a8f69429
      Max Kellermann authored
      HTTP servers respond with "416 Requested Range Not Satisfiable" when a
      client attempts to seek to the end of the file.  Catch this special
      case in input_curl_seek().  This fixes a glitch in the ogg vorbis
      decoder plugin.
      a8f69429
    • Max Kellermann's avatar
      curl: don't check running_handles for EOF · a0dd5b7f
      Max Kellermann authored
      Since we are using curl_multi_info_read() / CURLMSG_DONE for detecting
      end-of-response, we can remove all running_handles==0 checks.  For
      some reason, that has never worked correctly.
      a0dd5b7f