show audio playlist parts

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-10-21 11:13:56 +08:00
parent cf86bb7e13
commit 9808f50816
3 changed files with 197 additions and 94 deletions

View File

@@ -583,13 +583,13 @@ class AudioController extends GetxController
return false;
}
void playIndex(int index) {
if (index == this.index) return;
void playIndex(int index, {List<Int64>? subId}) {
if (index == this.index && subId == null) return;
this.index = index;
final audioItem = playlist![index];
final item = audioItem.item;
oid = item.oid;
subId = item.subId;
this.subId = subId ?? item.subId;
itemType = item.itemType;
_queryPlayUrl().then((res) {
if (res) {