I have written a script to copy audio/video files from it's original location to a preferred location, while updating the filename to remove non-printing characters, spaces, etc. Final step is to use the SetInfo endpoint to update the location in the MediaCenter Database. I'm getting the following error:
Media Center encountered errors while tagging or moving files. Check that the files exist, are not read-only, and are not in use by other programs.
Tagging error: /Users/sean/Pictures/ikigai.jpeg
Tagging error: /Volumes/ELITE SE880/iTunes2/iTunes Library.itl
Those are the original locations, where MC has already imported the library from, so it reads these files all the time. Why would a note about "moving" files exist? I know it is possible to move a library through the MC UI, but that won't change the actual filenames as I want to.