Adjust playlist props

Instead of using clearProperties, clear individually.
This commit is contained in:
angelblue05 2016-01-18 21:54:02 -06:00
parent f3f8c76197
commit d14ecfdc5e
5 changed files with 11 additions and 12 deletions

View file

@ -400,8 +400,9 @@ class Player(xbmc.Player):
def onPlayBackStopped( self ):
# Will be called when user stops xbmc playing a file
self.logMsg("ONPLAYBACK_STOPPED", 2)
xbmcgui.Window(10008).clearProperties()
self.logMsg("Clear playlist properties.")
utils.window('emby_customPlaylist', clear=True)
utils.window('emby_playbackProps', clear=True)
self.logMsg("Clear playlist properties.", 1)
self.stopAll()
def onPlayBackEnded( self ):