diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 723136f30..7a2d24a28 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -312,9 +312,6 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { saveWatchPosition() if (playbackState == Player.STATE_READY) { - if (streams.category == Streams.categoryMusic) { - exoPlayer.setPlaybackSpeed(1f) - } } // set the playback speed to one if having reached the end of a livestream @@ -988,6 +985,10 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { } setCurrentChapterName() + + if (streams.category == Streams.categoryMusic) { + exoPlayer.setPlaybackSpeed(1f) + } } } }