aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2010-12-22 19:46:41 +0100
committerMax Kellermann <max@duempel.org>2010-12-23 16:24:00 +0100
commit5274fee8a71cc5901649b984bc4488c9677feadf (patch)
treee15bcc3fe1df966fc855ec1dbd22087b7a856a2b /src/playlist_print.c
parent5462f34ed037111d2d57638352b2f1a65a322579 (diff)
downloadmpd-5274fee8a71cc5901649b984bc4488c9677feadf.tar.gz
mpd-5274fee8a71cc5901649b984bc4488c9677feadf.tar.xz
mpd-5274fee8a71cc5901649b984bc4488c9677feadf.zip
playlist_song: add flag "secure"
Optionally allow all local files. "Insecure" mode is used for printing playlists.
Diffstat (limited to 'src/playlist_print.c')
-rw-r--r--src/playlist_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c
index 89ab2e5ab..b79dd6fa5 100644
--- a/src/playlist_print.c
+++ b/src/playlist_print.c
@@ -153,7 +153,7 @@ playlist_provider_print(struct client *client, const char *uri,
char *base_uri = uri != NULL ? g_path_get_dirname(uri) : NULL;
while ((song = playlist_plugin_read(playlist)) != NULL) {
- song = playlist_check_translate_song(song, base_uri);
+ song = playlist_check_translate_song(song, base_uri, false);
if (song == NULL)
continue;