From d3bdadb446ef160f9365e9f38ecce04e58110429 Mon Sep 17 00:00:00 2001 From: Bnyro Date: Fri, 28 Oct 2022 23:11:51 +0200 Subject: [PATCH] pass the playlist id to the background mode --- .../java/com/github/libretube/ui/fragments/PlayerFragment.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 8d19010ef..48b9c0f57 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 @@ -440,7 +440,8 @@ class PlayerFragment : BaseFragment() { BackgroundHelper.playOnBackground( requireContext(), videoId!!, - exoPlayer.currentPosition + exoPlayer.currentPosition, + playlistId ) }