summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorByteHamster <info@bytehamster.com>2022-02-20 14:51:08 +0100
committerByteHamster <info@bytehamster.com>2022-02-20 14:51:08 +0100
commit5d82e9c84f1884537e5c7978fb9ce69897de7b55 (patch)
tree5a2b6f27b9bb764a86bd6afc79d937d7a23b48a6
parent371faf7dfb55d7b233523184dc69e88789ecdc5b (diff)
downloadantennapod-5d82e9c84f1884537e5c7978fb9ce69897de7b55.zip
Reset position when skipping and 'smart mark as played'
-rw-r--r--core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
index e46e8d72c..d6d11bc8a 100644
--- a/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
+++ b/core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java
@@ -1091,7 +1091,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|| autoSkipped
|| (skipped && !UserPreferences.shouldSkipKeepEpisode())) {
// only mark the item as played if we're not keeping it anyways
- DBWriter.markItemPlayed(item, FeedItem.PLAYED, ended);
+ DBWriter.markItemPlayed(item, FeedItem.PLAYED, ended || (skipped && smartMarkAsPlayed));
// don't know if it actually matters to not autodownload when smart mark as played is triggered
DBWriter.removeQueueItem(PlaybackService.this, ended, item);
// Delete episode if enabled