Refactor playlist items

Fix a bug where playlist items cover is not updated
This commit is contained in:
Jonas Kvinge
2025-04-27 03:03:58 +02:00
parent baec45f742
commit 04c6c862c4
28 changed files with 310 additions and 289 deletions

View File

@@ -40,10 +40,8 @@ class SongPlaylistItem : public PlaylistItem {
bool InitFromQuery(const SqlRow &query) override;
void Reload() override;
Song Metadata() const override;
Song OriginalMetadata() const override { return song_; }
QUrl Url() const override;
QUrl OriginalUrl() const override { return song_.url(); }
void SetArtManual(const QUrl &cover_url) override;