增加播客搜索地区配置

This commit is contained in:
mozhu 2024-01-04 11:52:45 +08:00
parent 9f909b0d85
commit 56eff7a236
21 changed files with 36 additions and 1 deletions

View file

@ -48,6 +48,7 @@ class ServerSettings {
this.dateFormat = 'MM/dd/yyyy'
this.timeFormat = 'HH:mm'
this.language = 'en-us'
this.podcastSearchRegion = 'us'
this.logLevel = Logger.logLevel
@ -109,6 +110,7 @@ class ServerSettings {
this.dateFormat = settings.dateFormat || 'MM/dd/yyyy'
this.timeFormat = settings.timeFormat || 'HH:mm'
this.language = settings.language || 'en-us'
this.podcastSearchRegion = settings.podcastSearchRegion || 'us'
this.logLevel = settings.logLevel || Logger.logLevel
this.version = settings.version || null
this.buildNumber = settings.buildNumber || 0 // Added v2.4.5
@ -198,6 +200,7 @@ class ServerSettings {
dateFormat: this.dateFormat,
timeFormat: this.timeFormat,
language: this.language,
podcastSearchRegion: this.podcastSearchRegion,
logLevel: this.logLevel,
version: this.version,
buildNumber: this.buildNumber,