summaryrefslogtreecommitdiff
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-11-02 11:50:56 +0100
commitc882568ccd5271a3f2c9d97a9a718706f9e71a65 (patch)
treec66ff3fa5d2fa896d61edc194a5ac7b6265d3a01 /src
parentf6b2899dd2f2b7985da0cf3734a7276ea54e23a2 (diff)
playlist/m3u: recognize the file suffix ".m3u8"
Diffstat (limited to 'src')
-rw-r--r--src/playlist/ExtM3uPlaylistPlugin.cxx3
-rw-r--r--src/playlist/M3uPlaylistPlugin.cxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/playlist/ExtM3uPlaylistPlugin.cxx b/src/playlist/ExtM3uPlaylistPlugin.cxx
index 8d260fec7..5ef010bda 100644
--- a/src/playlist/ExtM3uPlaylistPlugin.cxx
+++ b/src/playlist/ExtM3uPlaylistPlugin.cxx
@@ -135,7 +135,8 @@ ExtM3uPlaylist::NextSong()
static const char *const extm3u_suffixes[] = {
"m3u",
- NULL
+ "m3u8",
+ nullptr
};
static const char *const extm3u_mime_types[] = {
diff --git a/src/playlist/M3uPlaylistPlugin.cxx b/src/playlist/M3uPlaylistPlugin.cxx
index 3f99bdfdf..8b6adc2b6 100644
--- a/src/playlist/M3uPlaylistPlugin.cxx
+++ b/src/playlist/M3uPlaylistPlugin.cxx
@@ -61,6 +61,7 @@ M3uPlaylist::NextSong()
static const char *const m3u_suffixes[] = {
"m3u",
+ "m3u8",
nullptr
};