1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-25 02:20:27 +00:00

Fix: use mpd_search_add_db_songs_to_playlist

This commit is contained in:
jcorporation 2018-11-20 23:06:56 +00:00
parent 2c004eac9b
commit cf9452b212

View File

@ -2178,8 +2178,8 @@ int mympd_search_v21(char *buffer, char *searchstr, char *filter, char *plist, u
RETURN_ERROR_AND_RECOVER("mpd_search_add_db_songs");
}
else {
if (mpd_search_add_pl_db_songs(mpd.conn, plist) == false)
RETURN_ERROR_AND_RECOVER("mpd_search_add_pl_db_songs");
if (mpd_search_add_db_songs_to_playlist(mpd.conn, plist) == false)
RETURN_ERROR_AND_RECOVER("mpd_search_add_db_songs_to_playlist");
}
if (strcmp(filter, "any") == 0) {