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 |
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 |
90 |
|
|
91 |
|
|
92 |
|
|
93 |
|
|
94 |
|
|
95 |
def setName( self, name ): |
def setName( self, name ): |
96 |
self.name = name |
self.name = name |
97 |
|
|