aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playlist/m3u_playlist_plugin.c2
-rw-r--r--src/playlist/pls_playlist_plugin.c6
2 files changed, 1 insertions, 7 deletions
diff --git a/src/playlist/m3u_playlist_plugin.c b/src/playlist/m3u_playlist_plugin.c
index 6daea41f1..db5db99fc 100644
--- a/src/playlist/m3u_playlist_plugin.c
+++ b/src/playlist/m3u_playlist_plugin.c
@@ -64,7 +64,7 @@ m3u_read(struct playlist_provider *_playlist)
while (*line != 0 && g_ascii_isspace(*line))
++line;
- } while (line[0] == '#' || !uri_has_scheme(line));
+ } while (line[0] == '#' || *line == 0);
return song_remote_new(line);
}
diff --git a/src/playlist/pls_playlist_plugin.c b/src/playlist/pls_playlist_plugin.c
index ede057acc..a5d8bbcbe 100644
--- a/src/playlist/pls_playlist_plugin.c
+++ b/src/playlist/pls_playlist_plugin.c
@@ -66,12 +66,6 @@ static void pls_parser(GKeyFile *keyfile, struct pls_playlist *playlist)
}
g_free(key);
- /* Don't load local path */
- if(!uri_has_scheme(value)){
- g_free(value);
- continue;
- }
-
song = song_remote_new(value);
g_free(value);