aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/stored_playlist.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/stored_playlist.c b/src/stored_playlist.c
index 36da7c9f7..c75c00727 100644
--- a/src/stored_playlist.c
+++ b/src/stored_playlist.c
@@ -204,18 +204,12 @@ spl_load(const char *utf8path)
if (!uri_has_scheme(s)) {
char *path_utf8;
- struct song *song;
path_utf8 = map_fs_to_utf8(s);
if (path_utf8 == NULL)
continue;
- song = db_get_song(path_utf8);
- g_free(path_utf8);
- if (song == NULL)
- continue;
-
- s = song_get_uri(song);
+ s = path_utf8;
} else
s = g_strdup(s);