Playlist: RSS feeds can happen with MIME type "application/xml".

This commit is contained in:
Fabian Schlenz 2019-12-07 11:23:44 +01:00
parent 84530f76fd
commit aca1736201
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ void Playlist::_examine_http_url(String url) {
} else if (ct.startsWith("audio/")) {
persistence = PERSIST_NONE;
_files.push_back({.filename=url, .title=url, .id="none"});
} else if (ct.startsWith("application/rss+xml")) {
} else if (ct.startsWith("application/rss+xml") || ct.startsWith("application/xml")) {
persistence = PERSIST_PERMANENTLY;
_parse_rss(http);
} else if (ct.startsWith("application/pls+xml")) {