Subsonic: Add button to delete songs

Fixes #883
This commit is contained in:
Jonas Kvinge
2022-01-28 21:25:44 +01:00
parent 81e6b55c39
commit 7a61e740e8
6 changed files with 53 additions and 10 deletions

View File

@@ -446,6 +446,12 @@ void SubsonicService::GetSongs() {
}
void SubsonicService::DeleteSongs() {
collection_backend_->DeleteAllAsync();
}
void SubsonicService::SongsResultsReceived(const SongMap &songs, const QString &error) {
emit SongsResults(songs, error);