Multiple Music Libraries

Victor Pang's Avatar

Victor Pang

07 Oct, 2020 04:58 PM

Can I get a confirmation that beaTunes 5.2.13 support multiple Apple Music Libraries on macOS 10.15 Catalina?

I have a few Music libraries for different usage purposes. I understand that beaTunes uses the current library that is selected in Music app. Will beaTunes be able to distinguish different music libraries when I use Option key to switch between libraries when opening Music app?

Thank you.

  1. Support Staff 1 Posted by hendrik on 07 Oct, 2020 07:43 PM

    hendrik's Avatar

    Can I get a confirmation that beaTunes 5.2.13 support multiple Apple Music Libraries on macOS 10.15 Catalina?

    It does.

    Please make sure that whatever library you use in Music, Music is started first and then beaTunes is started. And before switching libraries in Music, stop beaTunes.

  2. 2 Posted by Victor Pang on 07 Oct, 2020 10:16 PM

    Victor Pang's Avatar

    Will beaTunes prompt you if the currently selected Music library has not been scanned previously, that is, not in beaTunes database? I want to leave some Music libraries out from beaTunes database. Thanks.

  3. 3 Posted by Victor Pang on 08 Oct, 2020 02:40 AM

    Victor Pang's Avatar

    Just to clarify why I ask if beaTunes will prompt me if it is a Music library which beaTunes has not scanned into its database...just in case I forgot to switch from a Music library which I want to exclude from the database when I open beaTunes.

  4. Support Staff 4 Posted by hendrik on 08 Oct, 2020 09:44 AM

    hendrik's Avatar

    Will beaTunes prompt you if the currently selected Music library has not been scanned previously, that is, not in beaTunes database? I want to leave some Music libraries out from beaTunes database. Thanks.

    beaTunes will default to the database that is loaded in the current instance of Music.app. This means that only libraries will be created for instances of Music that you have started beaTunes with. If you never start beaTunes for a library loaded in Music, a corresponding beaTunes library will not be created.

    Note that you effectively create a separate beaTunes library for each Music.app library.

    Just to clarify why I ask if beaTunes will prompt me if it is a Music library which beaTunes has not scanned into its database...just in case I forgot to switch from a Music library which I want to exclude from the database when I open beaTunes.

    beaTunes will not prompt you, but simply start creating a new library.

  5. 5 Posted by Victor Pang on 08 Oct, 2020 09:51 AM

    Victor Pang's Avatar

    Can I assume that each Music.app libraries that beaTunes interact with will have separate .db files stored in "~/Library/Application Support/beaTunes/Database/" as "beaTunes-<uuid>.h2.db"?

  6. Support Staff 6 Posted by hendrik on 08 Oct, 2020 10:59 AM

    hendrik's Avatar

    Can I assume that each Music.app libraries that beaTunes interact with will have separate .db files stored in "~/Library/Application Support/beaTunes/Database/" as "beaTunes-.h2.db"?

    Yes.

    Except that it's not just some uuid, but the id used by Music itself. I.e. it's the same ID as returned by this little AppleScript:

    tell application "Music"
        return persistent ID of (first source where kind is library)
    end tell
    
  7. 7 Posted by Victor Pang on 13 Oct, 2020 03:17 PM

    Victor Pang's Avatar

    Can I suggest if the persistent ID of the current Apple Music library does not match with what beaTunes has in its database, allow the user to quit beaTunes without creating a new database, so that the user can do the necessary to switch Music with the correct library?

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac