aboutsummaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorSteven Blackburn <beeka@sourceforge.net>2011-09-28 23:18:38 +0100
committerMax Kellermann <max@duempel.org>2011-09-30 08:53:09 +0200
commit21851c06733080b4c131d553d5d1f8784c12410f (patch)
tree64304c3288048c5401454fbf71f94c23a165a2a8 /m4
parent7e219c362cf8bca80f60a79b77d95a228ff8ffcb (diff)
downloadmpd-21851c06733080b4c131d553d5d1f8784c12410f.tar.gz
mpd-21851c06733080b4c131d553d5d1f8784c12410f.tar.xz
mpd-21851c06733080b4c131d553d5d1f8784c12410f.zip
Add support for streaming to a DLNA client
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.
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions