Allows to integrate the movies and tv series into Kodi. You have the option to configure the behaviour to export everything or only the items in "My List". This can be configured separately for movies and series. When switching from a full export to "My List", you need to run Library cleanup for the other items to be removed from your library.
When running a library cleanup, we take a snapshot of all ids's in the catalog (or in my list if you only export that) and check if they are in that list. This is a lot faster than using the API, and is also more correct compared with if we would use the cache.
There were quite some issues / wtf's:
I couldn't get the Library cleanup feature to work reliably when using "folder paths" like /library/tvshows/123456/, therefore, I'm using query parameters.
When adding a path to the library, even if you enter it without a trailing slash, when you edit, it will have a slash appended.
The routing library strips trailing slashes, but Kodi expects a trailing slash. This in combination with the previous line causes some headache.
There is no way to add sources programmatically, therefore, the best we can do is indicate the user to read the README, and add a shortcut to the right screen where he can add the sources.
Allows to integrate the movies and tv series into Kodi. You have the option to configure the behaviour to export everything or only the items in "My List". This can be configured separately for movies and series. When switching from a full export to "My List", you need to run Library cleanup for the other items to be removed from your library.
When running a library cleanup, we take a snapshot of all ids's in the catalog (or in my list if you only export that) and check if they are in that list. This is a lot faster than using the API, and is also more correct compared with if we would use the cache.
There were quite some issues / wtf's:
/library/tvshows/123456/
, therefore, I'm using query parameters.More information on the implementation: https://github.com/xbmc/xbmc/pull/13566 and https://github.com/xbmc/xbmc/pull/14210