mirror of
https://github.com/yattee/yattee.git
synced 2024-12-13 22:00:31 +05:30
ed11e593ff
Retry loading video before presenting error
24 lines
1.1 KiB
Swift
24 lines
1.1 KiB
Swift
import Defaults
|
|
import SwiftyJSON
|
|
|
|
final class AdvancedSettingsGroupExporter: SettingsGroupExporter {
|
|
override var globalJSON: JSON {
|
|
[
|
|
"showPlayNowInBackendContextMenu": Defaults[.showPlayNowInBackendContextMenu],
|
|
"videoLoadingRetryCount": Defaults[.videoLoadingRetryCount],
|
|
"showMPVPlaybackStats": Defaults[.showMPVPlaybackStats],
|
|
"mpvEnableLogging": Defaults[.mpvEnableLogging],
|
|
"mpvCacheSecs": Defaults[.mpvCacheSecs],
|
|
"mpvCachePauseWait": Defaults[.mpvCachePauseWait],
|
|
"mpvCachePauseInital": Defaults[.mpvCachePauseInital],
|
|
"mpvDeinterlace": Defaults[.mpvDeinterlace],
|
|
"mpvHWdec": Defaults[.mpvHWdec],
|
|
"mpvDemuxerLavfProbeInfo": Defaults[.mpvDemuxerLavfProbeInfo],
|
|
"mpvSetRefreshToContentFPS": Defaults[.mpvSetRefreshToContentFPS],
|
|
"mpvInitialAudioSync": Defaults[.mpvInitialAudioSync],
|
|
"showCacheStatus": Defaults[.showCacheStatus],
|
|
"feedCacheSize": Defaults[.feedCacheSize]
|
|
]
|
|
}
|
|
}
|