So I created a new Music library using option+click when I opened the Music.app. The new location is on an external drive at file:///Volumes/Dummy/Music/Test. That is now the default library when I open the Music.app.
However, when I run my app that uses the ITLibrary Framework the resulting call to library.mediaFolderLocation is not that location, even though I can see the music in the newly created default library on the external drive when I retrieve a mediaItem.
Is there another way, short if parsing an individual media item location, to get the real location of the current library and displaying that location in my app? The issue I have is if the Music Library is not set to keep the media consolidated. The mediaItem could then be in any location, if I understand that option in the Music.app correctly.