diff options
Diffstat (limited to 'src/playlist_save.c')
-rw-r--r-- | src/playlist_save.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist_save.c b/src/playlist_save.c index 4ae965154..b07137d9e 100644 --- a/src/playlist_save.c +++ b/src/playlist_save.c @@ -46,9 +46,9 @@ playlist_print_uri(FILE *file, const char *uri) char tmp[MPD_PATH_MAX]; const char *s; - if (playlist_saveAbsolutePaths && !isValidRemoteUtf8Url(uri) && + if (playlist_saveAbsolutePaths && !isRemoteUrl(uri) && uri[0] != '/') - s = map_directory_child_fs(db_get_root(), uri, tmp); + s = map_uri_fs(uri, tmp); else s = utf8_to_fs_charset(tmp, uri); |