aboutsummaryrefslogtreecommitdiffstats
path: root/src/DatabasePrint.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/DatabasePrint.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/DatabasePrint.cxx b/src/DatabasePrint.cxx
index 87e41be8e..1e2842091 100644
--- a/src/DatabasePrint.cxx
+++ b/src/DatabasePrint.cxx
@@ -91,19 +91,19 @@ PrintSongFull(struct client *client, song &song)
static bool
PrintPlaylistBrief(struct client *client,
- const playlist_metadata &playlist,
+ const PlaylistInfo &playlist,
const directory &directory)
{
- print_playlist_in_directory(client, directory, playlist.name);
+ print_playlist_in_directory(client, directory, playlist.name.c_str());
return true;
}
static bool
PrintPlaylistFull(struct client *client,
- const playlist_metadata &playlist,
+ const PlaylistInfo &playlist,
const directory &directory)
{
- print_playlist_in_directory(client, directory, playlist.name);
+ print_playlist_in_directory(client, directory, playlist.name.c_str());
if (playlist.mtime > 0)
time_print(client, "Last-Modified", playlist.mtime);