Clear temporary playback speed when switching to another episode
This commit is contained in:
parent
f6e3843813
commit
1646ba4088
|
@ -544,6 +544,10 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
|||
.observeOn(AndroidSchedulers.mainThread())
|
||||
.subscribe(
|
||||
playableLoaded -> {
|
||||
if (!playable.getIdentifier().equals(
|
||||
PlaybackPreferences.getCurrentlyPlayingFeedMediaId())) {
|
||||
PlaybackPreferences.clearCurrentlyPlayingTemporaryPlaybackSpeed();
|
||||
}
|
||||
mediaPlayer.playMediaObject(playableLoaded, stream, startWhenPrepared,
|
||||
prepareImmediately);
|
||||
addPlayableToQueue(playableLoaded);
|
||||
|
|
Loading…
Reference in New Issue