diff options
Diffstat (limited to '')
-rw-r--r-- | src/player.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c index a764dd28a..7f28670bf 100644 --- a/src/player.c +++ b/src/player.c @@ -161,7 +161,8 @@ int playerInit() { } int playerGetDecodeType(char * utf8file) { - if(!isRemoteUrl(utf8file) && !isFile(utf8file,NULL)) return -1; + if(isRemoteUrl(utf8file)) return DECODE_TYPE_MP3; + if(!isFile(utf8file,NULL)) return -1; #ifdef HAVE_MAD if(hasMp3Suffix(utf8file)) return DECODE_TYPE_MP3; #endif |