[modules/spotify] update in the background

to rule out issues in the dbus communication, update the spotify module
in the background.

see #702
This commit is contained in:
tobi-wan-kenobi 2020-09-09 14:15:16 +02:00
parent b79c19b616
commit 070fe865dd

View file

@ -31,6 +31,8 @@ class Module(core.module.Module):
def __init__(self, config, theme): def __init__(self, config, theme):
super().__init__(config, theme, []) super().__init__(config, theme, [])
self.background = True
self.__layout = util.format.aslist( self.__layout = util.format.aslist(
self.parameter( self.parameter(
"layout", "spotify.song,spotify.prev,spotify.pause,spotify.next", "layout", "spotify.song,spotify.prev,spotify.pause,spotify.next",