@@ -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);
|
||||
|
||||
@@ -92,6 +92,7 @@ class SubsonicService : public InternetService {
|
||||
void SendPing();
|
||||
void SendPingWithCredentials(QUrl url, const QString &username, const QString &password, const SubsonicSettingsPage::AuthMethod auth_method, const bool redirect = false);
|
||||
void GetSongs() override;
|
||||
void DeleteSongs();
|
||||
void ResetSongsRequest() override;
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user