2019-04-08, 16:12
Hello Forum,
im currently working on a Video Addon, but since scraping over 1400 videos from the website all the time takes a few minutes and nobody wants to wait this long to get a simple video-list, i would like to store the data between addon sessions.
The python-code itself works just fine (created & tested in PyCharm), but i cant load the json-file with the same code when Kodi runns it.
I've read that the addon-folder is read-only, but i ant even read the file, and i'd like to know how to write files to the filesystem anyway.
I'm actually really confused that i found next to nothing addressing this, and i searched quite a bit.
The file is named 'library.json' and located in 'resources/data/'.
I'm testing on KODI v18 Leia.
thank you for your help
A20
im currently working on a Video Addon, but since scraping over 1400 videos from the website all the time takes a few minutes and nobody wants to wait this long to get a simple video-list, i would like to store the data between addon sessions.
The python-code itself works just fine (created & tested in PyCharm), but i cant load the json-file with the same code when Kodi runns it.
I've read that the addon-folder is read-only, but i ant even read the file, and i'd like to know how to write files to the filesystem anyway.
I'm actually really confused that i found next to nothing addressing this, and i searched quite a bit.
The file is named 'library.json' and located in 'resources/data/'.
I'm testing on KODI v18 Leia.
thank you for your help
A20