diff options
author | ByteHamster <ByteHamster@users.noreply.github.com> | 2022-02-20 15:27:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-20 15:27:21 +0100 |
commit | 4ba0e98b440d881277631478143330732b85e514 (patch) | |
tree | 7bd2a350dae9c5cbd53df99948c0a234870b606a | |
parent | 58b675b38e56489353c93b052c995b792bfb72e6 (diff) | |
parent | 5d82e9c84f1884537e5c7978fb9ce69897de7b55 (diff) | |
download | antennapod-4ba0e98b440d881277631478143330732b85e514.zip |
Merge pull request #5736 from ByteHamster/skip-reset-position
Reset position when skipping and 'smart mark as played'
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/service/playback/PlaybackService.java | 2 |
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 |