summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2012-03-25 14:59:15 +0200
committerGravatar waker <wakeroid@gmail.com>2012-03-25 14:59:15 +0200
commit001229a3b3d2c877c21e55b4511b73edb94fc748 (patch)
tree2a9e93568ded9bf033271762f21b6b9ce35342f8 /streamer.c
parent1f1b82ce95ba991a1d1f641eb3e7dec5a8db932e (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/streamer.c b/streamer.c
index d85ec52c..3ab72a26 100644
--- a/streamer.c
+++ b/streamer.c
@@ -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;