tag:help.beatunes.com,2009-07-24:/discussions/questions/15281-multiple-music-librariesbeaTunes: Discussion 2020-10-13T15:17:18Ztag:help.beatunes.com,2009-07-24:Comment/487024332020-10-07T19:43:43Z2020-10-07T19:43:43ZMultiple Music Libraries<div><blockquote>
<p>Can I get a confirmation that beaTunes 5.2.13 support multiple Apple Music Libraries on macOS 10.15 Catalina?</p>
</blockquote>
<p>It does.</p>
<p>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.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/487024332020-10-07T22:16:39Z2020-10-07T22:16:41ZMultiple Music Libraries<div><p>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.</p></div>Victor Pangtag:help.beatunes.com,2009-07-24:Comment/487024332020-10-08T02:40:50Z2020-10-08T02:40:51ZMultiple Music Libraries<div><p>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.</p></div>Victor Pangtag:help.beatunes.com,2009-07-24:Comment/487024332020-10-08T09:44:10Z2020-10-08T09:44:10ZMultiple Music Libraries<div><blockquote>
<p>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.</p>
</blockquote>
<p>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.</p>
<p>Note that you effectively create a separate beaTunes library for each Music.app library.</p>
<blockquote>
<p>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.</p>
</blockquote>
<p>beaTunes will <strong>not</strong> prompt you, but simply start creating a new library.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/487024332020-10-08T09:51:52Z2020-10-08T09:51:55ZMultiple Music Libraries<div><p>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"?</p></div>Victor Pangtag:help.beatunes.com,2009-07-24:Comment/487024332020-10-08T10:59:30Z2020-10-08T10:59:30ZMultiple Music Libraries<div><blockquote>
<p>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"?</p>
</blockquote>
<p>Yes.</p>
<p>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:</p>
<pre>
<code>tell application "Music"
return persistent ID of (first source where kind is library)
end tell</code>
</pre></div>hendriktag:help.beatunes.com,2009-07-24:Comment/487024332020-10-13T15:17:17Z2020-10-13T15:17:17ZMultiple Music Libraries<div><p>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?</p></div>Victor Pang