aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-10-26 08:14:16 +0100
committerMax Kellermann <max@duempel.org>2014-10-26 08:14:16 +0100
commit394e3be482ed492e5d90222dab828c2448fbccce (patch)
treec15d4b6f50698117b571c1c7e0b104721c78e956 /src
parentd7f024c51047222dda4224c56865d66c8f384c76 (diff)
downloadmpd-394e3be482ed492e5d90222dab828c2448fbccce.tar.gz
mpd-394e3be482ed492e5d90222dab828c2448fbccce.tar.xz
mpd-394e3be482ed492e5d90222dab828c2448fbccce.zip
playlist/m3u: recognize the file suffix ".m3u8"
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 fdd4357ca..93316ca6c 100644
--- a/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/ExtM3uPlaylistPlugin.cxx
@@ -130,6 +130,7 @@ ExtM3uPlaylist::NextSong()
static const char *const extm3u_suffixes[] = {
"m3u",
+ "m3u8",
nullptr
};
diff --git a/src/playlist/plugins/M3uPlaylistPlugin.cxx b/src/playlist/plugins/M3uPlaylistPlugin.cxx
index a4125bc70..0428d291a 100644
--- a/src/playlist/plugins/M3uPlaylistPlugin.cxx
+++ b/src/playlist/plugins/M3uPlaylistPlugin.cxx
@@ -60,6 +60,7 @@ M3uPlaylist::NextSong()
static const char *const m3u_suffixes[] = {
"m3u",
+ "m3u8",
nullptr
};