clear all data when kodi is off
This commit is contained in:
parent
689255dec0
commit
2017228503
1 changed files with 4 additions and 0 deletions
|
@ -147,6 +147,10 @@ class KodiDevice(MediaPlayerDevice):
|
||||||
self._app_properties = self._server.Application.GetProperties(
|
self._app_properties = self._server.Application.GetProperties(
|
||||||
['volume', 'muted']
|
['volume', 'muted']
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
self._properties = None
|
||||||
|
self._item = None
|
||||||
|
self._app_properties = None
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def volume_level(self):
|
def volume_level(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue