2023-03-16, 03:55
im trying to work with medialibraryscanpath in an addon but i cannot for the life of me find the documentation for it, only a couple of addons even use it including embycon
in an extension you can tell kodi that your addon is a library source with the following :
and then your addon can be treated as a library source and have it's content scanned into the library as if local files
when i try to use it, it works as expected but tmdb gets a key error 'title' so i want to know what information to output
i tried looking through embycon but there's quite a lot more going on in there and it's not the easiest source to read
in an extension you can tell kodi that your addon is a library source with the following :
<extension point="xbmc.python.pluginsource" library="default.py">
<provides>video audio</provides>
<medialibraryscanpath content="movies">library/movies</medialibraryscanpath>
<medialibraryscanpath content="tvshows">library/tvshows</medialibraryscanpath>
</extension>
and then your addon can be treated as a library source and have it's content scanned into the library as if local files
when i try to use it, it works as expected but tmdb gets a key error 'title' so i want to know what information to output
i tried looking through embycon but there's quite a lot more going on in there and it's not the easiest source to read