summaryrefslogtreecommitdiff
path: root/streamer.c
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2013-02-03 10:13:10 +0100
committerGravatar waker <wakeroid@gmail.com>2013-02-03 10:13:10 +0100
commit580f8e84cf758fdaa49421ddc46e0017320945c7 (patch)
treecd396ee79352ba1abf0d35af53e8378a5d09b6a6 /streamer.c
parent6eac2b14d26ae80fd845f57b3c47a414f4893ff3 (diff)
added application/octet-stream to the list of m3u/pls mime types
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 0054d16f..3a734ac1 100644
--- a/streamer.c
+++ b/streamer.c
@@ -775,7 +775,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) || !strncmp (ct, "audio/x-scpls", 13)) {
+ else if (!strcmp (ct, "audio/x-mpegurl") || !strncmp (ct, "text/html", 9) || !strncmp (ct, "audio/x-scpls", 13) || !strncmp (ct, "application/octet-stream", 9)) {
// download playlist into temp file
char *buf = NULL;
int fd = -1;