diff options
author | Max Kellermann <max@duempel.org> | 2010-06-25 22:09:04 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2010-06-25 22:43:52 +0200 |
commit | 5216cfb3c8cc95d1f362f019c2176868949b224c (patch) | |
tree | 3a7d716cd2d7f11dbf8ef0c1ba28982d7ac35bc8 /src/playlist_print.c | |
parent | 373d1843a832c67e15ad774b2d1c80534bbf2f0a (diff) | |
download | mpd-5216cfb3c8cc95d1f362f019c2176868949b224c.tar.gz mpd-5216cfb3c8cc95d1f362f019c2176868949b224c.tar.xz mpd-5216cfb3c8cc95d1f362f019c2176868949b224c.zip |
playlist_print: use playlist_open_any()
Allow printing remote playlists with the commands "listplaylist" and
"listplaylistinfo".
Diffstat (limited to '')
-rw-r--r-- | src/playlist_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playlist_print.c b/src/playlist_print.c index 1ef3ff849..89ab2e5ab 100644 --- a/src/playlist_print.c +++ b/src/playlist_print.c @@ -21,7 +21,7 @@ #include "playlist_print.h" #include "playlist_list.h" #include "playlist_plugin.h" -#include "playlist_mapper.h" +#include "playlist_any.h" #include "playlist_song.h" #include "queue_print.h" #include "stored_playlist.h" @@ -170,7 +170,7 @@ bool playlist_file_print(struct client *client, const char *uri, bool detail) { struct input_stream *is; - struct playlist_provider *playlist = playlist_mapper_open(uri, &is); + struct playlist_provider *playlist = playlist_open_any(uri, &is); if (playlist == NULL) return false; |