2023-08-19, 10:40
Hello,
recently I have started to write a kodi video plugin for a custom webservice, and the basic features work (showing the files in logical subfolders) but there some convenience features that would be nice, but I do not know how to implement them.
Can anybody give me a hint how to implemented this features?
PS: My plugin uses addDirectoryItem and endOfDirectory to create the directory structure, but I have to it in a different way, I am fine with that.
recently I have started to write a kodi video plugin for a custom webservice, and the basic features work (showing the files in logical subfolders) but there some convenience features that would be nice, but I do not know how to implement them.
- Mark the files as watched (the webservice manages this state, but I do not know how to get that information from kodi into my plugin)
- Save the last position in each folder to continue watching from there
Can anybody give me a hint how to implemented this features?
PS: My plugin uses addDirectoryItem and endOfDirectory to create the directory structure, but I have to it in a different way, I am fine with that.