Fix playing from widgets without direct paths

This commit is contained in:
tomkat83 2016-09-05 21:29:23 +02:00
parent 0afe265524
commit 3757b04e29
2 changed files with 2 additions and 1 deletions

View file

@ -309,6 +309,7 @@ class Player(xbmc.Player):
window('plex_customplaylist', clear=True) window('plex_customplaylist', clear=True)
window('plex_customplaylist.seektime', clear=True) window('plex_customplaylist.seektime', clear=True)
window('plex_customplaylist.seektime', clear=True) window('plex_customplaylist.seektime', clear=True)
window('plex_playbackProps', clear=True)
log.debug("Cleared playlist properties.") log.debug("Cleared playlist properties.")
def onPlayBackEnded(self): def onPlayBackEnded(self):

View file

@ -252,7 +252,7 @@ class Playlist():
mediatype: Kodi type: 'movie', 'episode', 'musicvideo', 'artist', mediatype: Kodi type: 'movie', 'episode', 'musicvideo', 'artist',
'album', 'song', 'genre' 'album', 'song', 'genre'
""" """
self._addtoPlaylist(dbid=None, mediatype=None, url=None) self._addtoPlaylist(dbid, mediatype, url)
def _addtoPlaylist(self, dbid=None, mediatype=None, url=None): def _addtoPlaylist(self, dbid=None, mediatype=None, url=None):
pl = { pl = {