playlist/m3u: support for mime-type `audio-mpegurl` for M3U playlists

This commit is contained in:
Mario Di Raimondo 2017-05-19 11:28:22 +02:00 committed by Max Kellermann
parent 6d023c4df3
commit ffa676f577
3 changed files with 4 additions and 0 deletions

2
NEWS
View File

@ -1,6 +1,8 @@
ver 0.20.8 (not yet released) ver 0.20.8 (not yet released)
* output * output
- osx: fix build failure due to missing "noexcept" - osx: fix build failure due to missing "noexcept"
* playlist
- m3u: support MIME type `audio/mpegurl`
* fix build failure with GCC 4.x * fix build failure with GCC 4.x
ver 0.20.7 (2017/05/15) ver 0.20.7 (2017/05/15)

View File

@ -146,6 +146,7 @@ static const char *const extm3u_suffixes[] = {
static const char *const extm3u_mime_types[] = { static const char *const extm3u_mime_types[] = {
"audio/x-mpegurl", "audio/x-mpegurl",
"audio/mpegurl",
nullptr nullptr
}; };

View File

@ -66,6 +66,7 @@ static const char *const m3u_suffixes[] = {
static const char *const m3u_mime_types[] = { static const char *const m3u_mime_types[] = {
"audio/x-mpegurl", "audio/x-mpegurl",
"audio/mpegurl",
nullptr nullptr
}; };