2013-12-20, 13:54
Hi guys,
I need to ask for a little help with testing my addon. Hopefully the following information is what you need. Otherwise I can add more
I dont know much about skinning, so dont know how to test any of this.
What does the addon do?
The main purpose of the addon is to populate a list with the Next to Watch episode of each TV Show. It finds the last watched episode in each show and then finds the first unwatched episode after that.
And?
My first version of the addon was very slow on the Raspberry Pi and I wanted to speed it up. So in this version I have moved most of the "heavy-lifting" to a service, which puts the episode info into the 10000 window, allowing the addon to retrieve and display it much more quickly. The service also updates the data when a TV show is watched or the library updates. It should work for both Frodo and Gotham (it uses onNotification in Gotham).
So?
That info is available for skins if they want it. I copied the skin widgets items, so hopefully it will serve similarly. The shows are ordered by the time when the TV Show was last watched. The properties are structured like this: LazyTV.Place.Title, where Place is an integer with that order.
Yay?
Yeah. My addon wants a 'Next Episode' for every TV Show, but that meant it took too long to get the initial list. So I set it to populate for the first 10 shows first, then wait 5 seconds and populate the rest.
I saw the HEADS UP:Filling a list from a directory/plugin thread and have tried to incorporate that stuff in the default.py and have the script
Call the script with two arguments: request and limit. Limit is the number of shows you want and Request can be either 'lastwatched' for the latest watched or 'random' for a random sample of shows. (I dont know if it needs to be a plugin for this to work. As I said, no idea how to test)
Well?
So I guess I am asking if someone can either test the addon, or punt me in the right direction for how to test.
Thanks!
https://github.com/KODeKarnage/script.la...ee/testing
I need to ask for a little help with testing my addon. Hopefully the following information is what you need. Otherwise I can add more
I dont know much about skinning, so dont know how to test any of this.
What does the addon do?
The main purpose of the addon is to populate a list with the Next to Watch episode of each TV Show. It finds the last watched episode in each show and then finds the first unwatched episode after that.
And?
My first version of the addon was very slow on the Raspberry Pi and I wanted to speed it up. So in this version I have moved most of the "heavy-lifting" to a service, which puts the episode info into the 10000 window, allowing the addon to retrieve and display it much more quickly. The service also updates the data when a TV show is watched or the library updates. It should work for both Frodo and Gotham (it uses onNotification in Gotham).
So?
That info is available for skins if they want it. I copied the skin widgets items, so hopefully it will serve similarly. The shows are ordered by the time when the TV Show was last watched. The properties are structured like this: LazyTV.Place.Title, where Place is an integer with that order.
Yay?
Yeah. My addon wants a 'Next Episode' for every TV Show, but that meant it took too long to get the initial list. So I set it to populate for the first 10 shows first, then wait 5 seconds and populate the rest.
I saw the HEADS UP:Filling a list from a directory/plugin thread and have tried to incorporate that stuff in the default.py and have the script
Call the script with two arguments: request and limit. Limit is the number of shows you want and Request can be either 'lastwatched' for the latest watched or 'random' for a random sample of shows. (I dont know if it needs to be a plugin for this to work. As I said, no idea how to test)
Well?
So I guess I am asking if someone can either test the addon, or punt me in the right direction for how to test.
Thanks!
https://github.com/KODeKarnage/script.la...ee/testing