2024-02-02 04:24:16 +05:30
|
|
|
import Defaults
|
|
|
|
import SwiftyJSON
|
|
|
|
|
|
|
|
final class HistorySettingsGroupExporter: SettingsGroupExporter {
|
|
|
|
override var globalJSON: JSON {
|
|
|
|
[
|
|
|
|
"saveRecents": Defaults[.saveRecents],
|
|
|
|
"saveHistory": Defaults[.saveHistory],
|
|
|
|
"showWatchingProgress": Defaults[.showWatchingProgress],
|
|
|
|
"saveLastPlayed": Defaults[.saveLastPlayed],
|
|
|
|
|
|
|
|
"watchedVideoPlayNowBehavior": Defaults[.watchedVideoPlayNowBehavior].rawValue,
|
|
|
|
"watchedThreshold": Defaults[.watchedThreshold],
|
|
|
|
"resetWatchedStatusOnPlaying": Defaults[.resetWatchedStatusOnPlaying],
|
|
|
|
|
|
|
|
"watchedVideoStyle": Defaults[.watchedVideoStyle].rawValue,
|
|
|
|
"watchedVideoBadgeColor": Defaults[.watchedVideoBadgeColor].rawValue,
|
2024-02-28 23:05:03 +05:30
|
|
|
"showToggleWatchedStatusButton": Defaults[.showToggleWatchedStatusButton],
|
|
|
|
|
|
|
|
"showRecents": Defaults[.showRecents],
|
|
|
|
"limitRecents": Defaults[.limitRecents],
|
|
|
|
"limitRecentsAmount": Defaults[.limitRecentsAmount]
|
2024-02-02 04:24:16 +05:30
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|