mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 11:06:51 +08:00
@@ -696,8 +696,7 @@ class VideoDetailController extends GetxController
|
||||
void handleSBData(List<SegmentItemModel> list) {
|
||||
if (list.isNotEmpty) {
|
||||
try {
|
||||
final duration = list.first.videoDuration ??
|
||||
plPlayerController.duration.value.inMilliseconds;
|
||||
final duration = list.first.videoDuration ?? data.timeLength!;
|
||||
// segmentList
|
||||
segmentList.addAll(list
|
||||
.where((item) =>
|
||||
|
||||
Reference in New Issue
Block a user