Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-08-08 19:30:06 +08:00
parent d108373c33
commit 810505ea1d
2 changed files with 12 additions and 10 deletions

View File

@@ -814,6 +814,7 @@ class PlPlayerController {
SmartDialog.showToast('视频源为空,请重新进入本页面'); SmartDialog.showToast('视频源为空,请重新进入本页面');
return false; return false;
} }
if (!isLive) {
if (dataSource.audioSource.isNullOrEmpty) { if (dataSource.audioSource.isNullOrEmpty) {
SmartDialog.showToast('音频源为空'); SmartDialog.showToast('音频源为空');
} else { } else {
@@ -824,6 +825,7 @@ class PlPlayerController {
: dataSource.audioSource!.replaceAll(':', '\\:'), : dataSource.audioSource!.replaceAll(':', '\\:'),
); );
} }
}
await _videoPlayerController!.open( await _videoPlayerController!.open(
Media( Media(
dataSource.videoSource!, dataSource.videoSource!,

View File

@@ -433,7 +433,7 @@ class RequestUtils {
TextButton( TextButton(
onPressed: () { onPressed: () {
if (checkedId != null) { if (checkedId != null) {
Iterable removeList = ctr.allChecked; Set removeList = ctr.allChecked.toSet();
SmartDialog.showLoading(); SmartDialog.showLoading();
FavHttp.copyOrMoveFav( FavHttp.copyOrMoveFav(
isCopy: isCopy, isCopy: isCopy,