From 394e3be482ed492e5d90222dab828c2448fbccce 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/plugins/ExtM3uPlaylistPlugin.cxx | 1 + src/playlist/plugins/M3uPlaylistPlugin.cxx | 1 + 3 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index 658ca8c5f..6b2282a20 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.19.2 (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/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 };