mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-05-30 23:58:13 +08:00
enable audio cdn by def
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -83,7 +83,7 @@ List<SettingsModel> get videoSettings => [
|
|||||||
subtitle: '直接采用备用 URL,可解决部分视频无声',
|
subtitle: '直接采用备用 URL,可解决部分视频无声',
|
||||||
leading: const Icon(MdiIcons.musicNotePlus),
|
leading: const Icon(MdiIcons.musicNotePlus),
|
||||||
setKey: SettingBoxKey.disableAudioCDN,
|
setKey: SettingBoxKey.disableAudioCDN,
|
||||||
defaultVal: true,
|
defaultVal: false,
|
||||||
onChanged: (value) {
|
onChanged: (value) {
|
||||||
VideoUtils.disableAudioCDN = value;
|
VideoUtils.disableAudioCDN = value;
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -569,7 +569,7 @@ abstract class Pref {
|
|||||||
_setting.get(SettingBoxKey.enableLog, defaultValue: true);
|
_setting.get(SettingBoxKey.enableLog, defaultValue: true);
|
||||||
|
|
||||||
static bool get disableAudioCDN =>
|
static bool get disableAudioCDN =>
|
||||||
_setting.get(SettingBoxKey.disableAudioCDN, defaultValue: true);
|
_setting.get(SettingBoxKey.disableAudioCDN, defaultValue: false);
|
||||||
|
|
||||||
static int get minDurationForRcmd =>
|
static int get minDurationForRcmd =>
|
||||||
_setting.get(SettingBoxKey.minDurationForRcmd, defaultValue: 0);
|
_setting.get(SettingBoxKey.minDurationForRcmd, defaultValue: 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user