Help with updating movie info display
#1
Hi all -

I'm working on a plugin that overrides the IMDB ratings for movies with my personal ratings. Here is how the script functions:

1. From a movie listing screen, a keypress calls the rating script with an argument to increase or decrease the movie rating.
2. The script gets the movie name and rating from the the ListItem info label
3. The script uses the http library to update the rating for that movie
4. The script updates the .nfo file for the movie if it exists
5. The script sends a Container.Refresh to refresh the listing for that movie and display the new rating

It's step 5 that's the problem - it's quite slow. Is there a better/faster way to update information that can be read with getInfoLabel? If I am reading the documentation right, setting info label information is only valid if you are creating the info labels yourself in the script. Is there a way to skirt around that using some of the xbmcgui methods to acquire a window and then figure out some specific ids for the rating controls?

To be clear, I am not creating any gui elements myself, as the script functionality is solely driven by keypresses.

Thanks!
Reply

Logout Mark Read Team Forum Stats Members Help
Help with updating movie info display0