Merge pull request #5165 from thrillfall/sync-position-on-pause

sync paused position on playback pause
This commit is contained in:
ByteHamster 2021-05-29 11:10:26 +02:00 committed by GitHub
commit 9976b6384f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -968,7 +968,7 @@ public class PlaybackService extends MediaBrowserServiceCompat {
taskManager.cancelWidgetUpdater();
if (playable != null) {
if (playable instanceof FeedMedia) {
SyncService.enqueueEpisodePlayed(getApplicationContext(), (FeedMedia) playable, true);
SyncService.enqueueEpisodePlayed(getApplicationContext(), (FeedMedia) playable, false);
}
playable.onPlaybackPause(getApplicationContext());
}