diff options
author | waker <wakeroid@gmail.com> | 2012-03-25 14:59:15 +0200 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2012-03-25 14:59:15 +0200 |
commit | 001229a3b3d2c877c21e55b4511b73edb94fc748 (patch) | |
tree | 2a9e93568ded9bf033271762f21b6b9ce35342f8 /streamer.c | |
parent | 1f1b82ce95ba991a1d1f641eb3e7dec5a8db932e (diff) |
m3u plugin: try to load pls if m3u loader fails to load the file without extension
streamer: added "audio/x-scpls" content-type support
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -740,7 +740,7 @@ streamer_set_current (playItem_t *it) { else if (!strcmp (ct, "audio/wma")) { plug = "ffmpeg"; } - else if (!strcmp (ct, "audio/x-mpegurl") || !strncmp (ct, "text/html", 9)) { + else if (!strcmp (ct, "audio/x-mpegurl") || !strncmp (ct, "text/html", 9) || !strncmp (ct, "audio/x-scpls", 13)) { // download playlist into temp file char *buf = NULL; int fd = -1; |