/[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 2595 by torben, Tue Jun 30 13:03:55 2015 UTC revision 2596 by torben, Tue Jun 30 13:39:04 2015 UTC
# Line 3  Line 3 
3    
4  '''  '''
5      Todic plugin for XBMC      Todic plugin for XBMC
6      Version 0.0.14      Version 0.0.15
7  '''  '''
8    
9  import sys  import sys
# Line 56  class TodicMovieDialog(xbmcgui.WindowXML Line 56  class TodicMovieDialog(xbmcgui.WindowXML
56    
57                  print "ONINIT"                  print "ONINIT"
58                  self.getControl( 1 ).setLabel( self.name);                  self.getControl( 1 ).setLabel( self.name);
59                  self.getControl( 2 ).setLabel( self.moviegroups );                  self.getControl( 2 ).setLabel( self.moviegroups )
60                  self.getControl( 3 ).setLabel( self.description );                  self.getControl( 3 ).setLabel( self.description )
61                  self.getControl( 10 ).setLabel( self.playlength );                  self.getControl( 10 ).setLabel( self.playlength )
62                  self.getControl( 11 ).setLabel( self.codecdetails );                  self.getControl( 11 ).setLabel( self.codecdetails )
63    
64            
65    
66                    orig_img_width = self.getControl(40).getWidth()
67                    self.starwidth = ( float(self.imdbrating) / 10.0) * orig_img_width;
68                    self.getControl(40).setWidth( int(self.starwidth) )
69    
70          def setUrl( self, url):          def setUrl( self, url):
71                  print "SETURL:" + url                  print "SETURL:" + url
# Line 84  class TodicMovieDialog(xbmcgui.WindowXML Line 90  class TodicMovieDialog(xbmcgui.WindowXML
90    
91    
92    
93    
94    
95          def setName( self, name ):          def setName( self, name ):
96                  self.name = name                  self.name = name
97    

Legend:
Removed from v.2595  
changed lines
  Added in v.2596

  ViewVC Help
Powered by ViewVC 1.1.20