2020-04-11, 01:00
(2020-04-10, 21:05)DjDiabolik Wrote: Hi @Milhouse i don't know if i can ask to you and if your script can do somethings similar but i try anyway:
Can you script manage the already "Watched" database of kodi or the "Partial" watched ?? On currently kodi version it's possible to Reset the timing to resume a partial watched video (apparently it's a feature add on kodi 18.x)....... but how it's stored this database ? How it's works ? It's a database different for every device ?
Yes you can backup and restore watched state.
To backup:
text:
texturecache watched movies backup /tmp/movies.dat
texturecache watched tvshows backup /tmp/tvshows.dat
You can also specify the name of a media item to only backup that item (or matching items), eg:
to only backup the watched state of movies that include "zombieland" in the title.text:
texturecache watched movies backup /tmp/movies.dat zombieland
And to restore all items in the specified file:
text:
texturecache watched movies restore /tmp/movies.dat
texturecache watched tvshows restore /tmp/tvshows.dat