1. 30 Dec, 2009 1 commit
  2. 29 Dec, 2009 1 commit
    • Max Kellermann's avatar
      input/rewind: new input_stream wrapper to allow stream rewinding · c88f95a2
      Max Kellermann authored
      This replaces the rewinding buffer code from the CURL input plugin.
      It is more generic, and allows rewinding even when the server sends
      Icy-Metadata (which would have been too difficult to implement within
      the CURL plugin).
      
      This is a rather complex patch for the stable branch (v0.15.x), but it
      fixes a serious problem: the "vorbis" decoder plugin was unable to
      play streams with Icy-Metadata, because it couldn't rewind the stream
      after detecting the codec (Vorbis vs. FLAC).
      c88f95a2
  3. 15 Dec, 2009 1 commit
  4. 14 Dec, 2009 1 commit
  5. 12 Nov, 2009 1 commit
    • Max Kellermann's avatar
      include config.h in all sources · 5b82ffc2
      Max Kellermann authored
      After we've been hit by Large File Support problems several times in
      the past week (which only occur on 32 bit platforms, which I don't
      have), this is yet another attempt to fix the issue.
      5b82ffc2
  6. 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
  7. 13 Oct, 2009 3 commits
  8. 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
  9. 28 Apr, 2009 1 commit
  10. 25 Apr, 2009 1 commit
  11. 27 Mar, 2009 1 commit
  12. 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
  13. 06 Mar, 2009 1 commit
  14. 02 Mar, 2009 4 commits
  15. 28 Feb, 2009 1 commit
  16. 17 Feb, 2009 1 commit
  17. 29 Jan, 2009 1 commit
  18. 25 Jan, 2009 1 commit
  19. 17 Jan, 2009 1 commit
  20. 15 Jan, 2009 4 commits
  21. 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
  22. 07 Jan, 2009 2 commits
  23. 03 Jan, 2009 2 commits
  24. 30 Nov, 2008 2 commits
  25. 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
  26. 24 Nov, 2008 1 commit