2016-02-13, 19:13
I currently have 5 instances of Kodi around the house and have been looking for a way to 'synchronize' episodes/movies that I have watched.
From what I gather, all of the current solutions to this rely on synchronized DBs, or external sites, but I have come up with a simple idea of how this could be implemented (I hope this doesn't already exist) and wonder if anyone is up to the challenge.
My idea is that every time something is watched, a file is created in the directory with the same name as the video (but different extension).
So for example, if you just watched:
Silicon.Valley.S01E01.720p.5.1Ch.BluRay.mkv
Then as soon as you finish, a file is created called:
Silicon.Valley.S01E01.720p.5.1Ch.BluRay.watched
Then if the file exists, Kodi would make the program as watched.. And if it doesn't.. Not.. and this would "sync" across all devices..
This means that if the same logic is used by all Kodi instances, they would know which movies have been watched and which not and would make them as such. As an added benefit with this method, if you had already watched some movies/TV shows/etc, you could manually create these 'watched' files without the need for any complex database.
To take this a step futher, the 'watched' file could also contain info about when it was watched.. Or even a timestamp so you could "resume" on another Kodi instance.
Does anything like this exist? Is it even possible? Is it something that anyone with a bit of coding/addon experience would like to have a crack at?
Jon
From what I gather, all of the current solutions to this rely on synchronized DBs, or external sites, but I have come up with a simple idea of how this could be implemented (I hope this doesn't already exist) and wonder if anyone is up to the challenge.
My idea is that every time something is watched, a file is created in the directory with the same name as the video (but different extension).
So for example, if you just watched:
Silicon.Valley.S01E01.720p.5.1Ch.BluRay.mkv
Then as soon as you finish, a file is created called:
Silicon.Valley.S01E01.720p.5.1Ch.BluRay.watched
Then if the file exists, Kodi would make the program as watched.. And if it doesn't.. Not.. and this would "sync" across all devices..
This means that if the same logic is used by all Kodi instances, they would know which movies have been watched and which not and would make them as such. As an added benefit with this method, if you had already watched some movies/TV shows/etc, you could manually create these 'watched' files without the need for any complex database.
To take this a step futher, the 'watched' file could also contain info about when it was watched.. Or even a timestamp so you could "resume" on another Kodi instance.
Does anything like this exist? Is it even possible? Is it something that anyone with a bit of coding/addon experience would like to have a crack at?
Jon