fixed artwork on Playback

fixed playcount reporting on Movies

improved playcount reporting after playback (refresh the listing)
This commit is contained in:
Marcel van der Veldt 2015-03-20 00:24:29 +01:00
parent 3be9f9e50e
commit 8b29222446
3 changed files with 11 additions and 10 deletions

View file

@ -105,8 +105,9 @@ class PlaybackUtils():
WINDOW.setProperty(playurl+"SubtitleStreamIndex", str(mediaSources[0].get('DefaultSubtitleStreamIndex')))
#this launches the playback
#artwork only works with both resolvedurl and player command
xbmcplugin.setResolvedUrl(int(sys.argv[1]), True, listItem)
xbmc.Player().play(playurl,listItem)
def setArt(self, list,name,path):
if name=='thumb' or name=='fanart_image' or name=='small_poster' or name=='tiny_poster' or name == "medium_landscape" or name=='medium_poster' or name=='small_fanartimage' or name=='medium_fanartimage' or name=='fanart_noindicators':