@
cguZZMan I believe I found a possible bug. I was able to replicate it as well. As an example, lets say everything is set up using the strm export method and the addon export function is set to watch for changes and update library as well. Now lets say I noticed a misspelled movie (strm is created but kodi cant find it on themovie.db), but kodi is left running so the gdrive addon is still checking for changes. I get onto google drive and remove the file from the folder, now checking back on kodi using the file explorer, the movie is gone along with its folder (I have each movie separated in its own folder). Now changing the name and re-adding it back into the google drive folder on a browser, I went back to kodi to find that nothing was getting updated. So going back into the file manager on kodi, it shows the folder created of the newly named file but going inside of that, there is no strm file created.
I then reset everything, and tested this with a file that worked (was named correctly and was already in my library).
1. went to file explorer in kodi to the directory I planned to move
2. on google drive in browser, I moved movie out of the scope of the export function (movie worked and showed up in kodi)
3. monitored kodi and saw the file and folder were removed and an update library was invoked
4. moved that same file on google drive back into the same spot
5. monitored kodi and saw that the folder was recreated, but no strm file was created nor did the update library get invoked
Here is my log file:
http://paste.kodi.tv/zijicacoqe
Edit: Just realized I forgot to enable debug mode, I'll do that later today and get a new log file up after I test again.
Edit 2: Here is that log file, I redid what I stated above and then some to see what else I could have it do
http://paste.kodi.tv/gaquyimucu
It looks to misbehave when a file it has seen is then gone
Thanks Again for the amazing addon! I'll keep looking around to see if I can possibly find the issue.
FYI, the file I used to test this was named Akira
Edit 3: Have not found the problem but found a work around. On the export, disable "update library" and then install "watchdog" to update and remove. Seems to work very well actually.