You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This storeSettings unfortunately gets triggered a lot, even when there are no changes to settings (noticed on modified time on userpath/settings/NowPlaying.lua and confirmed via logging) Perhaps the following would be better
if settings.selectedStyle ~= self.selectedStyle then
settings.selectedStyle = self.selectedStyle
self:storeSettings()
end
The exact cause of the multiple regular calls to GetNPStyles() seems to be due to the call to self::showNowPlaying() in function openScreensaver() (or at least that's what I observed via logging the callstack around line 227). So maybe my suggestion only addresses the symptom, and the real fix would be elsewhere
The text was updated successfully, but these errors were encountered:
squeezeplay/src/squeezeplay/share/applets/NowPlaying/NowPlayingApplet.lua
Line 227 in b4da1ca
This storeSettings unfortunately gets triggered a lot, even when there are no changes to settings (noticed on modified time on userpath/settings/NowPlaying.lua and confirmed via logging) Perhaps the following would be better
ref: https://www.jogglerwiki.com/forum/viewtopic.php?p=33593#p33593
The exact cause of the multiple regular calls to GetNPStyles() seems to be due to the call to self::showNowPlaying() in function openScreensaver() (or at least that's what I observed via logging the callstack around line 227). So maybe my suggestion only addresses the symptom, and the real fix would be elsewhere
The text was updated successfully, but these errors were encountered: