Remove "new" status when starting playback of an episode

Before the introduction of streaming, the "status" would be removed when
an episode was downloaded or marked as played, which made sense.  With
the introduction of streaming it makes sense to also remove the "new"
status when (streaming) playback starts.  At that point in time the
episode should indeed no longer considered to be "new".
This commit is contained in:
Bart De Vries 2023-03-15 12:52:24 +01:00
parent 03d090fd92
commit 56b30203eb

View File

@ -415,6 +415,10 @@ void AudioManager::play()
d->m_player.play();
d->m_isSeekable = true;
Q_EMIT seekableChanged(d->m_isSeekable);
if (d->m_entry && d->m_entry->getNew()) {
d->m_entry->setNew(false);
}
}
}