I'm looping back to this because I have most of what I want worked out for my own "auto-import" but the AnalyzeAudio step is still giving me issues. It seems to only take a treepath, even if you pass it a file. I can pass it a file and it works just fine, but it takes the parent path and uses that. This works fine for album level folders, but fails when I don't have a flac in the right folder. For example, I have a folder titled Y:\Albums. Inside of that folder are various subfolders, and one lonely flac file. If I pass this flac like this:
http://localhost:52199/MCWS/v1/Control/AnalyzeAudio?treepath=Y:%5Calbums%5Clonelyflacfile.flacMy MC instance works for a while, then loads everything in Y:\Albums into the Analyze Audio window. I'd like to be able to pass a file to Control/AnalyzeAudio, have it proceed without user intervention, and allow me to add to a queue. So if I hit a new album, I want to send track1, the track2, then track3, etc.
I can 'fix' the immediate issue by not having a flac in the parent folder like that, but think it would be better if I could simply control what files get analyzed directly. I went this approach of sending individual files because I can't send it a directly with coverart or log files or I get an error. But if I send it a file like this, it loads up basically my entire library. Thanks!