aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist/m3u_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/m3u_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/m3u_playlist_plugin.c')
-rw-r--r--src/playlist/m3u_playlist_plugin.c2
1 files changed, 1 insertions, 1 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);
}