diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-20 21:44:07 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2010-04-20 21:44:07 +0200 |
commit | e28f604d316dc2f9e32cb1656a8101d96e86b289 (patch) | |
tree | 4dc1f1c5c6fc815e3b97aa14e07041992a4b1753 /playlist.c | |
parent | 677a6e08e3c47de72257ccd03c75a07c4cd63812 (diff) |
load pls/m3u files even if they have obscure names like tunein-station.pls?id=1234
Diffstat (limited to 'playlist.c')
-rw-r--r-- | playlist.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1089,10 +1089,10 @@ pl_insert_file (playItem_t *after, const char *fname, int *pabort, int (*cb)(pla // they must be handled before checking for http://, // so that remote playlist files referenced from other playlist files could // be loaded correctly - if (!memcmp (eol, "m3u", 4)) { + if (!memcmp (eol, "m3u", 3)) { return pl_insert_m3u (after, fname, pabort, cb, user_data); } - else if (!memcmp (eol, "pls", 4)) { + else if (!memcmp (eol, "pls", 3)) { return pl_insert_pls (after, fname, pabort, cb, user_data); } |