Mafarricos / Mafarricos-xbmc-dev-addons

Addons still in development
GNU General Public License v2.0
1 stars 1 forks source link

A very slight improvement (Watched feature) #21

Closed gb160 closed 9 years ago

gb160 commented 9 years ago

Hi...ive managed to modify the code in the internalPlayer.py so that episodes and movies that are watched past 90% of their duration are automatically marked as 'watched' in the kodi library.

I know its not a big deal to a lot of people but it was something that was bugging me a bit, the updated internalPlayer.py can be found here... http://pastebin.com/bSpb6tmq

The only drawback is , again, that the feature won't work when movies/episodes are played from a widget, but i was expecting that :(

Nonetheless,it fits in very nicely with the Resume feature you implemented earlier.

Mafarricos commented 9 years ago

You have to use github and fork my project ;) I will apply the pastebin.

Mafarricos commented 9 years ago

Already on beta006 ;)

gb160 commented 9 years ago

Ok will use GitHub in the future mate...glad to see the update has been pushed so quickly.

Really the only thing missing now is the widget support...what's the logical approach to solving that issue? I know you mentioned a scraper but it's not clear to me how genesis achieves this .

Mafarricos commented 9 years ago

I think that genesis can also identify movies from widget with the ID that is used to mark as watched and to get data about the movie. I will have to check the addon. But I think the use imdb id on .strm file, and that way you really know what movie or serie is when requesting to a tmdb/tvdb api.