From 71650e3499ee34962949f7c722a858a07b58a1df Mon Sep 17 00:00:00 2001 From: Bart De Vries Date: Wed, 15 Mar 2023 12:52:24 +0100 Subject: [PATCH] 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". --- src/audiomanager.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/audiomanager.cpp b/src/audiomanager.cpp index 7c422e9e..cb3ccd33 100644 --- a/src/audiomanager.cpp +++ b/src/audiomanager.cpp @@ -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); + } } }