@@ -61,6 +61,8 @@ type AppConfig struct {
6161 SidebarWidthFraction float64
6262 SidebarTab string
6363
64+ PreventScreensaverOnNowPlayingPage bool
65+
6466 FontNormalTTF string
6567 FontBoldTTF string
6668 UIScaleSize string
@@ -189,29 +191,30 @@ var SupportedStartupPages = []string{"Albums", "Favorites", "Playlists", "Artist
189191func DefaultConfig (appVersionTag string ) * Config {
190192 return & Config {
191193 Application : AppConfig {
192- WindowWidth : 1000 ,
193- WindowHeight : 800 ,
194- LastCheckedVersion : appVersionTag ,
195- LastLaunchedVersion : "" ,
196- EnableSystemTray : true ,
197- CloseToSystemTray : false ,
198- StartupPage : "Albums" ,
199- SettingsTab : "General" ,
200- AllowMultiInstance : false ,
201- MaxImageCacheSizeMB : 50 ,
202- UIScaleSize : "Normal" ,
203- SavePlayQueue : true ,
204- SaveQueueToServer : false ,
205- ShowTrackChangeNotification : false ,
206- EnableLrcLib : true ,
207- EnablePasswordStorage : true ,
208- SkipSSLVerify : false ,
209- EnqueueBatchSize : 100 ,
210- Language : "auto" ,
211- EnableAutoUpdateChecker : true ,
212- RequestTimeoutSeconds : 15 ,
213- EnableOSMediaPlayerAPIs : true ,
214- SidebarWidthFraction : 0.8 ,
194+ WindowWidth : 1000 ,
195+ WindowHeight : 800 ,
196+ LastCheckedVersion : appVersionTag ,
197+ LastLaunchedVersion : "" ,
198+ EnableSystemTray : true ,
199+ CloseToSystemTray : false ,
200+ StartupPage : "Albums" ,
201+ SettingsTab : "General" ,
202+ AllowMultiInstance : false ,
203+ MaxImageCacheSizeMB : 50 ,
204+ UIScaleSize : "Normal" ,
205+ SavePlayQueue : true ,
206+ SaveQueueToServer : false ,
207+ ShowTrackChangeNotification : false ,
208+ EnableLrcLib : true ,
209+ EnablePasswordStorage : true ,
210+ SkipSSLVerify : false ,
211+ EnqueueBatchSize : 100 ,
212+ Language : "auto" ,
213+ EnableAutoUpdateChecker : true ,
214+ RequestTimeoutSeconds : 15 ,
215+ EnableOSMediaPlayerAPIs : true ,
216+ SidebarWidthFraction : 0.8 ,
217+ PreventScreensaverOnNowPlayingPage : false ,
215218 },
216219 AlbumPage : AlbumPageConfig {
217220 TracklistColumns : []string {"Artist" , "Time" , "Plays" , "Favorite" , "Rating" },
0 commit comments