From c882568ccd5271a3f2c9d97a9a718706f9e71a65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2014 08:14:16 +0100 Subject: playlist/m3u: recognize the file suffix ".m3u8" --- src/playlist/ExtM3uPlaylistPlugin.cxx | 3 ++- src/playlist/M3uPlaylistPlugin.cxx | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 }; -- cgit v1.2.3