commit
05cec772d0
|
@ -167,7 +167,7 @@ class KodiDevice(MediaPlayerDevice):
|
|||
def media_content_id(self):
|
||||
""" Content ID of current playing media. """
|
||||
if self._item is not None:
|
||||
return self._item['uniqueid']
|
||||
return self._item.get('uniqueid', None)
|
||||
|
||||
@property
|
||||
def media_content_type(self):
|
||||
|
|
Loading…
Reference in New Issue