Add setting to disable OS media player APIs

This commit is contained in:
Drew Weymouth
2025-05-26 17:17:00 -07:00
parent 1390c41657
commit af1ae4641e
5 changed files with 32 additions and 16 deletions
+2
View File
@@ -55,6 +55,7 @@ type AppConfig struct {
DisableDPIDetection bool
EnableAutoUpdateChecker bool
RequestTimeoutSeconds int
EnableOSMediaPlayerAPIs bool
FontNormalTTF string
FontBoldTTF string
@@ -192,6 +193,7 @@ func DefaultConfig(appVersionTag string) *Config {
Language: "auto",
EnableAutoUpdateChecker: true,
RequestTimeoutSeconds: 15,
EnableOSMediaPlayerAPIs: true,
},
AlbumPage: AlbumPageConfig{
TracklistColumns: []string{"Artist", "Time", "Plays", "Favorite", "Rating"},