summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMario Di Raimondo <mario.diraimondo@gmail.com>2017-05-19 11:28:22 +0200
committerMax Kellermann <max@musicpd.org>2017-05-19 15:25:58 +0200
commitffa676f577a202f3b78b69a52cf327fa095541be (patch)
treebd81db39fd9f2f45910a936683d9410a24ce0831 /src
parent6d023c4df3d35daa01ca5ab8de83b01661e09fc5 (diff)
playlist/m3u: support for mime-type `audio-mpegurl` for M3U playlists
Diffstat (limited to 'src')
-rw-r--r--src/playlist/plugins/ExtM3uPlaylistPlugin.cxx1
-rw-r--r--src/playlist/plugins/M3uPlaylistPlugin.cxx1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
index 751eff4c3..9f1faa04f 100644
--- a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
@@ -146,6 +146,7 @@ static const char *const extm3u_suffixes[] = {
static const char *const extm3u_mime_types[] = {
"audio/x-mpegurl",
+ "audio/mpegurl",
nullptr
};
diff --git a/src/playlist/plugins/M3uPlaylistPlugin.cxx b/src/playlist/plugins/M3uPlaylistPlugin.cxx
index c504b97dd..b76181805 100644
--- a/src/playlist/plugins/M3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/M3uPlaylistPlugin.cxx
@@ -66,6 +66,7 @@ static const char *const m3u_suffixes[] = {
static const char *const m3u_mime_types[] = {
"audio/x-mpegurl",
+ "audio/mpegurl",
nullptr
};