Only update temporary metadata when set

Fixes #507
This commit is contained in:
Jonas Kvinge
2020-08-10 00:32:57 +02:00
parent 4ae54dbaad
commit 1f772081fd
7 changed files with 12 additions and 12 deletions

View File

@@ -40,6 +40,7 @@ class CollectionPlaylistItem : public PlaylistItem {
void Reload() override;
Song Metadata() const override;
Song OriginalMetadata() const override { return song_; }
void SetMetadata(const Song &song) { song_ = song; }
QUrl Url() const override;