🐛 Fix queue view shows wrong of the remote tracks

This commit is contained in:
2025-12-20 01:03:21 +08:00
parent 7f67332590
commit 1fc774886b
2 changed files with 3 additions and 2 deletions

View File

@@ -238,7 +238,8 @@ class AudioHandler extends BaseAudioHandler with QueueHandler, SeekHandler {
}
}
medias.add(media_kit.Media(uri));
// Store the original track path in extras for queue lookup
medias.add(media_kit.Media(uri, extras: {'trackPath': item.id}));
}
if (medias.isNotEmpty) {