aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/pls_playlist_plugin.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-06 00:36:32 +0100
committerMax Kellermann <max@duempel.org>2009-11-06 00:36:32 +0100
commit65e56ff8291b4bc43900c7b80a86e6d39ed7a847 (patch)
tree3f4164d8503456f1f7359cfc3fb7d5b685b94755 /src/playlist/pls_playlist_plugin.c
parenta4970c66ef836badd95141bd3f9d3424a1dacdf2 (diff)
downloadmpd-65e56ff8291b4bc43900c7b80a86e6d39ed7a847.tar.gz
mpd-65e56ff8291b4bc43900c7b80a86e6d39ed7a847.tar.xz
mpd-65e56ff8291b4bc43900c7b80a86e6d39ed7a847.zip
playlist/{m3u,pls}: removed URI checks
The caller is responsible for verifying the song URI.
Diffstat (limited to 'src/playlist/pls_playlist_plugin.c')
-rw-r--r--src/playlist/pls_playlist_plugin.c6
1 files changed, 0 insertions, 6 deletions
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);