Since I'm not getting answers I'm slowly learning by trial and error. Still I hope the dev will be able to shed some light on a couple of aspects.
- Unless I'm missing something, I don't find at console.developers.google.com any project active for this plugin. I ask because I'd like to monitory the API calls generated but it seems it's not there. I hope we are not running against a single account (the developer's at drive-login.herokuapp.com), as that could mean trouble in the future, if the plugin gets traction and more users "consume" API calls.
- I see that the strm approach is much faster than the "use as a source one". On the other hand, unless I'm missing something, there's no way to simply run all the exports together to update them in one go.
When you create an export there are several options for it. You can setup a scheduled update (but that won't work for me, as the HTPC is not on 24/7) and you can "watch the cloud folder for modifications", or something along those lines. I'm not clear about this second option. What does it do?
If I go inside the addon "Exports" section I can use the contextual menu to "run" the export. But there's no way to run all the exports together. Moreover, is the "watch the cloud folder for modifications" needed for the export to simply add the new files and not overwrite everything that's already been parsed in the past?
(2018-08-18, 00:37)cguZZMan Wrote: A new version is in my repository: Scheduled exports and Watch folder export.
Add an export as usual: Context menu of a folder, then "Export to .strm files..."- Select the Destination folder. The local folder with the strm files will be <Destination Folder>\<Your exported folder> (same as before).
- The switch "Update library after export" will trigger the "Update library" after any change is detected by the "watch" functionality or after an scheduled export or manual export was executed.
- The switch "Watch for changes in the Cloud Folder" will watch every minute for changes in your cloud drive folder. If a change is detected, it will replicate it in the local exported folder.
- The switch "Schedule automatic exports" will enable the list of schedules where you can add multiple rows.
- For example you can schedule the export to run "Every startup" or "Every Day at 02:00" or "Every Monday at 23:00" or all of them.
- The hour format is 24 hours.
Another question on the above, for the developer.
I have a folder with many, many episodes. Every single time I tried to export .strm for that folder, Kodi crashes. The majority of files has been scanned and the .strm files have been created locally. But the problem is that if I relaunch Kodi, it deletes everything and restarts. And then crashes. Rinse and repeat.
Now, even if I were to move some files out of that folder, scan it and then add them later... if everytime the strm creation deletes everything... there's no solution.
Is this the way it's supposed to be? Every time a change is detected every .strm file is deleted from that folder and everything is scanned and recreated again? Shouldn't it limit itself to change/add what's been changed/added?
If one needs a bit of automation and has the shares automatically update at startup, it means thousands and thousands of writes on a daily basis. If one uses an SSD that's not good practice.