From ee1403aaad6127a051dca7c5f7cb908d4f4dab29 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Fri, 15 Nov 2024 19:31:16 +0100 Subject: [PATCH] Fix audio now playing screen always showing "1 of x" instead of the actual queue position --- .../androidtv/ui/playback/rewrite/RewriteMediaManager.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/org/jellyfin/androidtv/ui/playback/rewrite/RewriteMediaManager.kt b/app/src/main/java/org/jellyfin/androidtv/ui/playback/rewrite/RewriteMediaManager.kt index 1498cf922f..d477a202f9 100644 --- a/app/src/main/java/org/jellyfin/androidtv/ui/playback/rewrite/RewriteMediaManager.kt +++ b/app/src/main/java/org/jellyfin/androidtv/ui/playback/rewrite/RewriteMediaManager.kt @@ -54,7 +54,7 @@ class RewriteMediaManager( get() = playbackManager.state.positionInfo.active.inWholeMilliseconds override val currentAudioQueueDisplayPosition: String - get() = (currentAudioQueuePosition + 1).toString() + get() = (playbackManager.queue.entryIndex.value + 1).toString() override val currentAudioQueueDisplaySize: String get() = playbackManager.queue.estimatedSize.toString()