/[projects]/misc/xbmc/plugin.video.todic/default.py
ViewVC logotype

Diff of /misc/xbmc/plugin.video.todic/default.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3257 by torben, Tue Mar 5 10:58:40 2019 UTC revision 3259 by torben, Sun Mar 10 21:37:47 2019 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 1.8.0      Version 1.8.1
7  '''  '''
8    
9  import sys  import sys
# Line 36  if __entrypoint__ == "testing": Line 36  if __entrypoint__ == "testing":
36    
37  print( "[Todic] entrypoint: " + __entrypoint__ )  print( "[Todic] entrypoint: " + __entrypoint__ )
38  print( "[Todic] backend: " + __backend__ )  print( "[Todic] backend: " + __backend__ )
39    print( "[Todic] version: " + __addon__.getAddonInfo('version') )
40    
41  fanartImage = os.path.join(__addon__.getAddonInfo('path'), 'movie_bg_blur.jpg')  fanartImage = os.path.join(__addon__.getAddonInfo('path'), 'movie_bg_blur.jpg')
42  datapath = xbmc.translatePath(  datapath = xbmc.translatePath(
# Line 293  def buildList(url, title, endlist=True): Line 293  def buildList(url, title, endlist=True):
293              if playcount > 0:              if playcount > 0:
294                  listitem.setArt( {'thumb': thumb} ) #not pretty - but at least we can show a different icon for unwatched/watched in kodi18                    listitem.setArt( {'thumb': thumb} ) #not pretty - but at least we can show a different icon for unwatched/watched in kodi18  
295              listitem.setInfo('video', infoLabels)              listitem.setInfo('video', infoLabels)
             listitem.setProperty('IsPlayable', 'true')  
296    
297          name = name.encode('UTF-8')          name = name.encode('UTF-8')
298    

Legend:
Removed from v.3257  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.20