music player daemon (fork)
Go to file
Steven Blackburn 21851c0673 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.
2011-09-30 08:53:09 +02:00
doc server_socket: use resolve_host_port() instead of getaddrinfo() 2011-09-20 21:15:22 +02:00
m4 configure.ac: fail if libid3tag was enabled explicitly, but not found 2011-09-01 10:58:36 +02:00
scripts scripts/makedist.sh: fix test usage 2011-08-27 11:27:16 +02:00
src Add support for streaming to a DLNA client 2011-09-30 08:53:09 +02:00
test tcp_connect: generic library for establishing TCP connections 2011-09-20 21:27:17 +02:00
.gitignore .gitignore: add doxygen.conf 2011-09-09 23:04:32 +02:00
AUTHORS doc: deleted sticker specification proposal 2010-02-08 11:39:16 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
INSTALL decoder/oggflac: delete this obsolete plugin 2011-09-01 19:29:04 +02:00
Makefile.am tcp_connect: generic library for establishing TCP connections 2011-09-20 21:27:17 +02:00
NEWS Add support for streaming to a DLNA client 2011-09-30 08:53:09 +02:00
README Word wrap to 80 char lines 2008-12-20 19:27:02 -08:00
UPGRADING UPGRADING: added a 0.14 section 2008-11-05 21:27:30 +01:00
autogen.sh autogen.sh: enable automake 1.11 2010-09-23 08:37:26 +02:00
configure.ac Merge branch 'v0.16.x' 2011-09-22 00:27:34 +02:00
valgrind.suppressions valgrind.suppressions: more OpenSSL and other suppressions 2011-08-30 22:33:19 +02:00

README

		       Music Player Daemon (MPD)
			http://www.musicpd.org

A daemon for playing music of various formats.  Music is played through the 
server's audio device.  The daemon stores info about all available music, 
and this info can be easily searched and retrieved.  Player control, info
retrieval, and playlist management can all be managed remotely.

For basic installation information see the INSTALL file.

MPD is released under the GNU General Public License version 2, which is
distributed in the COPYING file.

You should have received a copy of the GNU General Public License along with
this program.  If not, see <http://www.gnu.org/licenses/>.