Fix playing from widgets without direct paths
This commit is contained in:
parent
0afe265524
commit
3757b04e29
2 changed files with 2 additions and 1 deletions
|
@ -309,6 +309,7 @@ class Player(xbmc.Player):
|
|||
window('plex_customplaylist', clear=True)
|
||||
window('plex_customplaylist.seektime', clear=True)
|
||||
window('plex_customplaylist.seektime', clear=True)
|
||||
window('plex_playbackProps', clear=True)
|
||||
log.debug("Cleared playlist properties.")
|
||||
|
||||
def onPlayBackEnded(self):
|
||||
|
|
|
@ -252,7 +252,7 @@ class Playlist():
|
|||
mediatype: Kodi type: 'movie', 'episode', 'musicvideo', 'artist',
|
||||
'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):
|
||||
pl = {
|
||||
|
|
Loading…
Reference in a new issue