1. 30 Sep, 2011 1 commit
    • Steven Blackburn's avatar
      Add support for streaming to a DLNA client · 21851c06
      Steven Blackburn authored
      The Naim Uniti does not appear to support icecast-style streaming of FLAC
      music but does support the codec from a DLNA server. This change looks for
      "transferMode.dlna.org: Streaming" in the HTTP request header and responds
      with something the Uniti (and hopefully other DLNA clients) accepts.
      
      The only difference in the DLNA streaming mode is the reponse header and
      that icecast metadata is disabled. If a client request indicates both modes
      are supported, the DLNA mode is preferred (as the Uniti says it supports
      both but then rejects a FLAC ICY stream).
      
      Note: This change may be specific to Naim equipment (the only device it was
      tested on). E.g. the hardcoding of Content-Length which works but is not a
      logically correct value. The change should be backwards-compatible, so
      only those clients requesting a DLNA stream will see any difference.
      21851c06
  2. 20 Sep, 2011 1 commit
  3. 23 Aug, 2011 2 commits
  4. 29 Jan, 2011 1 commit
  5. 07 Jan, 2011 1 commit
  6. 05 Apr, 2010 1 commit
  7. 01 Jan, 2010 1 commit
  8. 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
  9. 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
  10. 13 Oct, 2009 1 commit
    • Max Kellermann's avatar
      configure.ac: require GLib 2.16 · 4390d72b
      Max Kellermann authored
      Accidently, MPD has been using several GLib 2.16 functions for a
      while, and nobody noticed yet.  To simplify the code base, let's bump
      the minimum GLib version for MPD to 2.16.  That version is old enough,
      and it's reasonable to expect users to have it.
      4390d72b
  11. 05 May, 2009 1 commit
  12. 13 Apr, 2009 3 commits
  13. 15 Mar, 2009 3 commits
    • Max Kellermann's avatar
      httpd_output: check client->write_source_id in handler · 87070651
      Max Kellermann authored
      Due to a race condition, httpd_client_out_event() could be called even
      when its GLib event source was already removed.  Check that case.
      87070651
    • Max Kellermann's avatar
      httpd_output: clear the client's page queue on cancel · 58844aab
      Max Kellermann authored
      When the httpd output is cancelled, it freed all pages, but didn't
      remove them from the queue.  Call g_queue_clear() and remove the
      write source id.
      58844aab
    • Max Kellermann's avatar
      httpd: new output plugin to replace "shout" · e62580db
      Max Kellermann authored
      Let's get rid of the "shout" plugin, and the awfully complicated
      icecast daemon setup!  MPD can do better if it's doing the HTTP server
      stuff on its own.  This new plugin has several advantages:
      
      - easier to set up - only one daemon, no password settings, no mount
        settings
      - MPD controls the encoder and thus already knows the packet
        boundaries - icecast has to parse them
      - MPD doesn't bother to encode data while nobody is listening
      
      This implementation is very experimental (no header parsing, ignores
      request URI, no icy-metadata, ...).  It should be able to suport
      several encoders in parallel in the future (with different bit rates,
      different codec, ...), to make MPD the perfect streaming server.  Once
      MPD gets multi-player support, we can even mount several different
      radio stations on one server.
      e62580db