Open HeadLessX opened 5 years ago
I also had this problem with other video addons. I think the main issue is, that the Kodi video database (MyVideos##.db) saves the watched state on a per file basis together with the description/poster/rating etc that is shown in the Movies/TV Shows section in Kodi. To save and restore the watched state with my addon, it is necessary to have the unique media descriptor such as imdb-id for movies and thetvdb-id, season and episode number for tv shows. So the video addon (youtube/vimeo/...) has to provide this information.
There are two solutions that I found for me:
Regarding videos, that are not "official" movies or tv episodes: This is not possible at the moment due to the addon structure. It would however be possible to create a fake movie id for each video and then save them in the watchedlist. You would need to save the videos in the Kodi movie library with that ID; probably by modifying the video addons.
I have not found yet an Addon to simply show what was watched using Video Addons: be it Youtube, Vimeo or anything else. For me, main source of Online Video content is the Reddit Viever Addon. I know that all this data is stored in the main database file MyVideos[num].db in the files table. I think there's some work like this in the My Watch History Addon: (could not find original src) https://github.com/KodiGhostRider/GhostRiderRepo/tree/master/repo/plugin.video.watchhistory
Is there a way to incorporate online videos history into this Addon?
Also: some simple GUI to Show this data on my RaspberryPi would be great (using OpenElec currently). Could be a standalone Addon?