mirror of
https://github.com/SuperBFG7/ympd
synced 2025-01-12 18:30:36 +00:00
Fix: use mpd_search_add_db_songs_to_playlist
This commit is contained in:
parent
2c004eac9b
commit
cf9452b212
@ -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");
|
RETURN_ERROR_AND_RECOVER("mpd_search_add_db_songs");
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (mpd_search_add_pl_db_songs(mpd.conn, plist) == false)
|
if (mpd_search_add_db_songs_to_playlist(mpd.conn, plist) == false)
|
||||||
RETURN_ERROR_AND_RECOVER("mpd_search_add_pl_db_songs");
|
RETURN_ERROR_AND_RECOVER("mpd_search_add_db_songs_to_playlist");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strcmp(filter, "any") == 0) {
|
if (strcmp(filter, "any") == 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user