2011-11-04, 00:41
Eldorado Wrote:Pushed in some more updates, it's gotta be almost there!
- single movie refresh should be working solid, would like others to test this one out.. it's really meant to correct failed lookups or incorrect matches when searching by name. If you already have the imdb/tmdb id then it may insert a duplicate entry
- a bunch of other small fix ups here and there, more logging etc.
- dates converting properly now
Would really like some good testing against the refresh stuff, I'm pretty sure I got it to be as good as we can get in an addon
I've also added a small tester addon to the repository, it's very quick and just shows how to search a movie by the 3 different forms:
- by imdb id
- by tmdb id
- by name/year
Then does tvshow, seasons, and episodes all with meta data
Also demonstrating how to toggle watched/unwatched status via the context menu.. still need to do some coding to automatically set it when you have actually watched the video, but is outside of metahandlers
And last showing how to do a single movie meta refresh via context menu
I should note that the tester addon works on the t0mm0's latest version of his common library plus my own edits to add context menu support so it won't actually work until he is able to add that support officially... so for now you can at least read the code
Also... I'm noticing that I'm not getting watched marks to show, has anyone else been able to get them to show up? I'm pretty sure I am correct in setting infolabel 'overlay' to 6 for unwatched, 7 for watched... ? Using the confluence skin you should see a check mark when a video is marked as watched
This is really good now I refactered my code to use you private methods but I needed add a SQL coalesce to _cache_lookup_episode to allow for tvbd_id to be nullable.
For the watched status, could you fire a background thread on play event that polls what's video is currently at 75%?
Both file ice sample is on dropbox and updated metahandler is on my github.