--- misc/xbmc/plugin.video.todic/default.py 2015/06/30 13:03:55 2595 +++ misc/xbmc/plugin.video.todic/default.py 2015/06/30 13:39:04 2596 @@ -3,7 +3,7 @@ ''' Todic plugin for XBMC - Version 0.0.14 + Version 0.0.15 ''' import sys @@ -56,10 +56,16 @@ print "ONINIT" self.getControl( 1 ).setLabel( self.name); - self.getControl( 2 ).setLabel( self.moviegroups ); - self.getControl( 3 ).setLabel( self.description ); - self.getControl( 10 ).setLabel( self.playlength ); - self.getControl( 11 ).setLabel( self.codecdetails ); + self.getControl( 2 ).setLabel( self.moviegroups ) + self.getControl( 3 ).setLabel( self.description ) + self.getControl( 10 ).setLabel( self.playlength ) + self.getControl( 11 ).setLabel( self.codecdetails ) + + + + orig_img_width = self.getControl(40).getWidth() + self.starwidth = ( float(self.imdbrating) / 10.0) * orig_img_width; + self.getControl(40).setWidth( int(self.starwidth) ) def setUrl( self, url): print "SETURL:" + url @@ -84,6 +90,8 @@ + + def setName( self, name ): self.name = name