HooliganHarls / plugin.video.plexbmc

PleXBMC for XBMC
GNU General Public License v2.0
19 stars 169 forks source link

Untitled #3

Closed hippojay closed 13 years ago

hippojay commented 13 years ago

right, working movies and TV shows. Full-ish metadata and comunication back into PMS. Resume and watched should work.

I'm going to review some of the code next, as I've noticed errors due to lack of metadata. I need to add in some more exception handling, as when these turn up, the plugin usually stops.

I'm also not happy about the addLink function now, as it's trying to do too much up front. I'm thinking about passing a list to it of properties and parsing this into the listitem/setInfo. This will allow the function to control what goes into setinfo and therefore stop the plugin failures.. (most of this is caused by TV shows and movies needing slightly different data and the 'all episodes' link storing the data in different places)..

Anyway, at least this commit gives 90% functionality and I've tested it against my 600-odd movies of varying types and a few hundred TV episodes covering all sorts of crazy stuff....