diff options
author | Max Kellermann <max@duempel.org> | 2014-02-07 00:29:07 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-02-07 00:42:14 +0100 |
commit | c13810ebaa7075284691eb2add089ba407dfd1ea (patch) | |
tree | 1ebeb2104ee4a3e73f49416267aec2e79943821b /src/command/PlaylistCommands.cxx | |
parent | 19a982cf693e660ce296a29a9830f1e94d9f1b4c (diff) | |
download | mpd-c13810ebaa7075284691eb2add089ba407dfd1ea.tar.gz mpd-c13810ebaa7075284691eb2add089ba407dfd1ea.tar.xz mpd-c13810ebaa7075284691eb2add089ba407dfd1ea.zip |
Mapper: move map_song_detach() to db/DatabaseSong.cxx
Use Storage::MapUTF8() internally, don't use global variables.
Diffstat (limited to '')
-rw-r--r-- | src/command/PlaylistCommands.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/command/PlaylistCommands.cxx b/src/command/PlaylistCommands.cxx index 0997cc68d..6406b0770 100644 --- a/src/command/PlaylistCommands.cxx +++ b/src/command/PlaylistCommands.cxx @@ -196,7 +196,8 @@ handle_playlistadd(Client &client, gcc_unused int argc, char *argv[]) if (db == nullptr) return print_error(client, error); - success = search_add_to_playlist(*db, uri, playlist, nullptr, + success = search_add_to_playlist(*db, *client.GetStorage(), + uri, playlist, nullptr, error); #else success = false; |