mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
@@ -814,15 +814,17 @@ class PlPlayerController {
|
|||||||
SmartDialog.showToast('视频源为空,请重新进入本页面');
|
SmartDialog.showToast('视频源为空,请重新进入本页面');
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (dataSource.audioSource.isNullOrEmpty) {
|
if (!isLive) {
|
||||||
SmartDialog.showToast('音频源为空');
|
if (dataSource.audioSource.isNullOrEmpty) {
|
||||||
} else {
|
SmartDialog.showToast('音频源为空');
|
||||||
await (_videoPlayerController!.platform as NativePlayer).setProperty(
|
} else {
|
||||||
'audio-files',
|
await (_videoPlayerController!.platform as NativePlayer).setProperty(
|
||||||
UniversalPlatform.isWindows
|
'audio-files',
|
||||||
? dataSource.audioSource!.replaceAll(';', '\\;')
|
UniversalPlatform.isWindows
|
||||||
: dataSource.audioSource!.replaceAll(':', '\\:'),
|
? dataSource.audioSource!.replaceAll(';', '\\;')
|
||||||
);
|
: dataSource.audioSource!.replaceAll(':', '\\:'),
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
await _videoPlayerController!.open(
|
await _videoPlayerController!.open(
|
||||||
Media(
|
Media(
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user