API startScan support
Another GPM pariah here 🖐️ Still testing before I make the full switch.
Are there any plans to implement startScan and getScanStatus on the API? I understand its a sensitive topic since it could get relatively abused, but it would also be very helpful.
Im planning on creating an app that, among other things, will update Astiga playlists automatically from local m3u/pls files without having to manually use the Import playlist function. This requires that the library is completely synced beforehand.
Usually this is hardly a problem since users will create custom playlists long after the songs themselves have been synced with astiga, but it will be useful for first time users with previously made playlists, plus my app will create automatic playlists based on the folder contents.
Basically, while hourly syncing is usually more than enough, I would like to ensure that the process works smoothly with no input, and that the user doesnt have to remember to re-do it a bit later once the sync is done.
Alternatively to startScan, a method to check the last hour at which the library was synced would work too, so I could pause once an "unsync" situation is detected, and then resume when the next automatic sync is made.
This could potentially be an upto ~59 min. wait time, excluding syncing times, but hey, the trade-offs of automation.
Also related, are there any limits on the API usage, particularly in the number of connections per minute or the like?