[Android] Fix the remote access stream ids

Nicolas Pomepuy git at videolan.org
Tue Mar 18 13:24:42 UTC 2025


vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Thu Mar 13 10:39:33 2025 +0100| [555ce56cc711f9ebc1224bb419667bf0c2d9ff6f] | committer: Nicolas Pomepuy

Fix the remote access stream ids

> https://code.videolan.org/videolan/vlc-android/commit/555ce56cc711f9ebc1224bb419667bf0c2d9ff6f
---

 .../java/org/videolan/vlc/remoteaccessserver/RemoteAccessRouting.kt     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/application/remote-access-server/src/main/java/org/videolan/vlc/remoteaccessserver/RemoteAccessRouting.kt b/application/remote-access-server/src/main/java/org/videolan/vlc/remoteaccessserver/RemoteAccessRouting.kt
index cbfe36f289..2728e3ca12 100644
--- a/application/remote-access-server/src/main/java/org/videolan/vlc/remoteaccessserver/RemoteAccessRouting.kt
+++ b/application/remote-access-server/src/main/java/org/videolan/vlc/remoteaccessserver/RemoteAccessRouting.kt
@@ -850,7 +850,7 @@ fun Route.setupRouting(appContext: Context, scope: CoroutineScope) {
             }
             val list = ArrayList<RemoteAccessServer.PlayQueueItem>(stream.size)
             stream.forEachIndexed { index, mediaLibraryItem ->
-                list.add(RemoteAccessServer.PlayQueueItem(3000L + index, mediaLibraryItem.title, " ", 0, mediaLibraryItem.artworkMrl
+                list.add(RemoteAccessServer.PlayQueueItem(mediaLibraryItem.id, mediaLibraryItem.title, " ", 0, mediaLibraryItem.artworkMrl
                         ?: "", false, "", (mediaLibraryItem as MediaWrapper).uri.toString(), true, favorite = mediaLibraryItem.isFavorite))
             }
             call.respondJson(convertToJson(list))



More information about the Android mailing list