2011-02-01, 20:45
Malexx Wrote:another noob one.
I tried to get Genre to get listed in Recently Added.
I tried to put this line in the script
# set properties
- self.WINDOW.setProperty( "LatestMovie.%d.Title" % ( count + 1, ), fields[ 2 ] )
- self.WINDOW.setProperty( "LatestMovie.%d.Rating" % ( count + 1, ), fields[ 7 ] )
- self.WINDOW.setProperty( "LatestMovie.%d.Year" % ( count + 1, ), fields[ 9 ] )
- self.WINDOW.setProperty( "LatestMovie.%d.Plot" % ( count + 1, ), fields[ 4 ] )
- self.WINDOW.setProperty( "LatestMovie.%d.RunningTime" % ( count + 1, ), fields[ 13 ] )
- self.WINDOW.setProperty( "LatestMovie.%d.Genre" % ( count + 1, ), fields[ 16 ] )
of course it dont works.
Is this someway possible?
Do you get an script error or just no data? It should work. Be sure to use a python editor and not just notepad++ which sometimes has some trouble with indents/linebreaks for python code.
If you don't use one of the other properties you could just rename it and change the index on the fields array to 16.