From c882568ccd5271a3f2c9d97a9a718706f9e71a65 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 26 Oct 2014 08:14:16 +0100 Subject: [PATCH] playlist/m3u: recognize the file suffix ".m3u8" --- NEWS | 2 ++ src/playlist/ExtM3uPlaylistPlugin.cxx | 3 ++- src/playlist/M3uPlaylistPlugin.cxx | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index f27bd8c4f..439f39c4e 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.18.17 (not yet released) +* playlist + - m3u: recognize the file suffix ".m3u8" * decoder - faad: remove workaround for ancient libfaad2 ABI bug - ffmpeg: recognize MIME type audio/aacp 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 };