deleting unneeded libraries

Richard's Avatar

Richard

06 Aug, 2018 02:25 AM

Hello,

I am trying to "clean up" by BeaTunes 5.1.8.

For testing purposes, over time I have created a number of "new libraries" that are really just a small subset of my overall music collection. Now I'm ready to point BeaTunes to my whole library (which is actually two separate, non-nested folders). Before I do that (which means messing with the preferences2.xml file as described elsewhere), I would like to get rid of all the previous "libraries" I set up.

Question: Is it simply a matter of getting rid of all the unneeded "file-collection" + "root" lines in the xml file, plus deleting the matching "h2.db" and "trace.db" files? I don't see a menu item to Delete a Library (probably for good reason). (I'm on a Windows PC with folder-based libraries.)

I don't want to delete any mp3 files. Just the unneeded library structures.

Thanks.

  1. Support Staff 1 Posted by hendrik on 06 Aug, 2018 05:11 AM

    hendrik's Avatar

    Hey Richard,

    to delete a library, just select it in the general preferences and then click on the [-] button below it.

    -hendrik

  2. 2 Posted by Richard on 06 Aug, 2018 06:00 AM

    Richard's Avatar

    Thank you, Hendrick. I didn't think to look there.
    So I went to General Preferences, clicked on the list box, selected the first library alphabetically (which is one I want to delete). It pops up a dialog box saying that it is Synchronizing with music library... and there it sits doing nothing. Yes, the folder that the library points to still exists and has music files in it. It has 1 artist and 1 album with 14 tracks. It's been sitting there for 10 minutes with nothing going on in the progress bar. Ideas?

    Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 12:11 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

     #yiv5747675193 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv5747675193 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  3. 3 Posted by Richard on 06 Aug, 2018 06:04 AM

    Richard's Avatar

    Update: If I press Cancel on the dialog box, it doesn't do anything. Same if I press the "close window" X in the upper right. The app is frozen.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 12:59 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Thank you, Hendrick. I didn't think to look there.
    So I went to General Preferences, clicked on the list box, selected the first library alphabetically (which is one I want to delete). It pops up a dialog box saying that it is Synchronizing with music library... and there it sits doing nothing. Yes, the folder that the library points to still exists and has music files in it. It has 1 artist and 1 album with 14 tracks. It's been sitting there for 10 minutes with nothing going on in the progress bar. Ideas?

    Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 12:11 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

     #yiv4346442331 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv4346442331 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  4. 4 Posted by Richard on 06 Aug, 2018 06:10 AM

    Richard's Avatar

    More update: beaTunes is showing minimal activity in Process Explorer while this is going on:

    "Hung" now for 20 minutes-plus. I'll have to terminate the task in Process Explorer (Task Manager-type app).

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:04 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Update: If I press Cancel on the dialog box, it doesn't do anything. Same if I press the "close window" X in the upper right. The app is frozen.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 12:59 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Thank you, Hendrick. I didn't think to look there.
    So I went to General Preferences, clicked on the list box, selected the first library alphabetically (which is one I want to delete). It pops up a dialog box saying that it is Synchronizing with music library... and there it sits doing nothing. Yes, the folder that the library points to still exists and has music files in it. It has 1 artist and 1 album with 14 tracks. It's been sitting there for 10 minutes with nothing going on in the progress bar. Ideas?

    Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 12:11 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

     #yiv0991454378 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv0991454378 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  5. 5 Posted by Richard on 06 Aug, 2018 06:21 AM

    Richard's Avatar

    Further update (sorry about the volley of e-mails):
    I restarted beaTunes and tried to delete the library it was already on. That worked fine. Then I deleted the next one that popped up. That worked fine, too. But when I went to select the one I first tried to delete, it hung again. Either something about that particular library it doesn't like, or it can't change libraries.

    I restarted beaTunes and this time selected a different library in the Preferences (not the one that it was hanging on before). Same thing: it hangs if I select a different library than the one that comes up when I start up beaTunes.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:09 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    More update: beaTunes is showing minimal activity in Process Explorer while this is going on:

    "Hung" now for 20 minutes-plus. I'll have to terminate the task in Process Explorer (Task Manager-type app).

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:04 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Update: If I press Cancel on the dialog box, it doesn't do anything. Same if I press the "close window" X in the upper right. The app is frozen.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 12:59 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Thank you, Hendrick. I didn't think to look there.
    So I went to General Preferences, clicked on the list box, selected the first library alphabetically (which is one I want to delete). It pops up a dialog box saying that it is Synchronizing with music library... and there it sits doing nothing. Yes, the folder that the library points to still exists and has music files in it. It has 1 artist and 1 album with 14 tracks. It's been sitting there for 10 minutes with nothing going on in the progress bar. Ideas?

    Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 12:11 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

     #yiv8206613893 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv8206613893 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  6. 6 Posted by Richard on 06 Aug, 2018 03:09 PM

    Richard's Avatar

    Hendrick, continuing with my library issue...
    Is it possible that the problem is something simple like beaTunes doesn't like certain kinds of folder names? And maybe that was something that was introduced in an update that came in after I had created those libraries?

    My folder naming convention is to place music into the D:\Rips folder (for music I rip myself) or the D:\MuDl folder (for music I download). And then the subfolders get the artist name, except for the MuDl subfolders I append " [d]" to the folder name just to make it easier to distinguish folders for the same artist that appear under my two top level folders.
    I notice that beaTunes seems to have a problem with all of the libraries that are based on a folder with a "[d]" in the name. See screen cap below of all of my remaining libraries. When I try to delete the "10cc" library, it appears to do so, then it tries to access the "Arena [d]" library and gets hung. When I terminate & reopen beaTunes, it goes back to the 10cc library. So it didn't actually finish deleting that library, I guess because it had no viable alternate library to go to?

    Richard

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:17 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Further update (sorry about the volley of e-mails):
    I restarted beaTunes and tried to delete the library it was already on. That worked fine. Then I deleted the next one that popped up. That worked fine, too. But when I went to select the one I first tried to delete, it hung again. Either something about that particular library it doesn't like, or it can't change libraries.

    I restarted beaTunes and this time selected a different library in the Preferences (not the one that it was hanging on before). Same thing: it hangs if I select a different library than the one that comes up when I start up beaTunes.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:09 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    More update: beaTunes is showing minimal activity in Process Explorer while this is going on:

    "Hung" now for 20 minutes-plus. I'll have to terminate the task in Process Explorer (Task Manager-type app).

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 1:04 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Update: If I press Cancel on the dialog box, it doesn't do anything. Same if I press the "close window" X in the upper right. The app is frozen.

          From: Richard Patton <[email blocked]>
     To: hendrik <[email blocked]>
     Sent: Monday, August 6, 2018 12:59 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

    Thank you, Hendrick. I didn't think to look there.
    So I went to General Preferences, clicked on the list box, selected the first library alphabetically (which is one I want to delete). It pops up a dialog box saying that it is Synchronizing with music library... and there it sits doing nothing. Yes, the folder that the library points to still exists and has music files in it. It has 1 artist and 1 album with 14 tracks. It's been sitting there for 10 minutes with nothing going on in the progress bar. Ideas?

    Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 12:11 AM
     Subject: Re: deleting unneeded libraries [Questions #9878]

     #yiv1562716310 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv1562716310 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  7. Support Staff 7 Posted by hendrik on 06 Aug, 2018 08:12 PM

    hendrik's Avatar

    Ah—usually when you select a library beaTunes syncs. That does not make a lot of sense when you just want to delete it.

    So the better approach in your case may really be to delete the corresponding entries in preferences2.xml

    If you decide to do so:

    - keep a copy of the original around so that you can go back
    - make sure beaTunes is shut down, while you edit the file

    Good luck!

    -hendrik

  8. 8 Posted by Richard on 06 Aug, 2018 08:31 PM

    Richard's Avatar

    Hendrick, I can do that as a workaround (removing the entries from preferences2.xml). But doesn't that indicate a problem nonetheless? What if I really wanted to make one of those folders my library? beaTunes hangs when synching in the course of switching to it, so I couldn't designate one of those as my library even if I wanted to.  Just sayin'.
    Also, as part of the workaround, should I delete the h2 and trace db files corresponding to the libraries I'm deleting from preferences2.xml?

    Best regards,Richard

          From: hendrik <[email blocked]>
     To: [email blocked]
     Sent: Monday, August 6, 2018 3:12 PM
     Subject: Re: deleting unneeded libraries [Questions #9878]
       
     #yiv0723234375 pre {width:92%;margin:10px 2%;padding:5px 2%;background:#efefef;border:1px solid #d6d6d6;}#yiv0723234375 blockquote {margin-left:0;padding-left:1em;border-left:5px solid #ccc;}

  9. Support Staff 9 Posted by hendrik on 06 Aug, 2018 08:53 PM

    hendrik's Avatar

    Yes, you can delete the corresponding h2 files.

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