getmusicbee.com

Support => Bug Reports => Topic started by: psychoadept on December 08, 2016, 06:08:38 AM

Title: organizing removable drives
Post by: psychoadept on December 08, 2016, 06:08:38 AM
Related to this: http://getmusicbee.com/forum/index.php?topic=20392.0

This has happened twice now:

I moved the files to the SD card, no problem there.  I figured, since they're not on an organized drive, I could at least organize them manually.  When I use the Move to Organized Folder command, instead of the manual organize window it opens the Auto-Organize settings, but only with Audiobooks showing (they're in the Audiobooks node).

So I tried to add a rule for organization on the SD card (E:), and get the error message that I can't use the drive as a root folder for my library.  I close the window.  Then, when I open the auto-organize settings via preferences, my auto-organize settings for Music are completely gone, replaced with blank Music auto-organize setting for E:.

I've been able to recover my settings with the .bak file, but it's a little bit of a heart-stopper.  :)
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 08, 2016, 06:52:19 PM
When I use the Move to Organized Folder command, instead of the manual organize window it opens the Auto-Organize settings, but only with Audiobooks showing (they're in the Audiobooks node).
how did you do that? Move to Organised Folder should be disabled for portable devices and hotkey just opens the normal manual organise dialog

edit:
Maybe a screenshot where MB has opened the auto-organise dialog might help
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 08, 2016, 07:04:02 PM
No, I have a bunch of files in the Audiobooks node of my library, but they are located on an SD card that is seen as drive E:\ by Windows.  I'm doing these operations from my library's Audiobooks node.

If that didn't make sense, I'll get you the screenshot tonight
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 08, 2016, 07:14:19 PM
that makes sense
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 08, 2016, 07:47:33 PM
I am not able to reproduce the bug. Are you using v3.1 or v3.0?
When you say you tried to add a rule for organisation on the E:, could you describe those steps some more eg.
i assume the "send to organised folder" dialog started with the rule for your C: drive - did you then change c: to e: and then click the ... button on the "to folder field" or did you click the "Add Drive" button and cancel that dialog when you got the "can't use the drive as a root folder" error message?
For me what happens is when i open the library preferences auto-organisation setup, a rule is a created for audiobooks E: but it is blank for the "to folder" and "naming template". All other rules are still there

So I tried to add a rule for organization on the SD card (E:), and get the error message that I can't use the drive as a root folder for my library.  I close the window.  Then, when I open the auto-organize settings via preferences, my auto-organize settings for Music are completely gone, replaced with blank Music auto-organize setting for E:.
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 08, 2016, 08:13:30 PM
or did you click the "Add Drive" button and cancel that dialog when you got the "can't use the drive as a root folder" error message?

It was this, and I'm pretty sure I set it to audiobooks rather than music before I tried to apply it, too.  Plus I put in my audiobooks template, which isn't too complicated but maybe that contributed.

I'll check the version and post the template when I get home.
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 09, 2016, 04:01:27 AM
I was on 3.1.6174.  I updated to 6186 just now and can't reproduce the issue.  I'll keep an eye on it.

Meanwhile, how can I get these files organized?
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 09, 2016, 06:51:10 AM
Meanwhile, how can I get these files organized?
the manual organiser is the only way i think (File/ Organise Files)
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 10, 2016, 01:52:29 PM
i have made a change for the next v3.1 update so if you follow the steps i described, MB will no longer create a null entry for the incomplete drive mapping. I cant say for sure that was related to the initial bug reported
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 10, 2016, 04:38:26 PM
Meanwhile, how can I get these files organized?
the manual organiser is the only way i think (File/ Organise Files)

I tried that, but I still get the auto-organize window, not the manual organization.
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 10, 2016, 05:09:16 PM
You are right. So long as the files are in the library the auto-organise dialog will appear. I might make the change to remove the restriction on mapping a portable drive. The risk being the portable drive letter changes at a later date.
Is there a particular reason the files need to be in the library eg. you could remove them from the library and manually organise via the computer folder node
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 10, 2016, 06:18:40 PM
I might make the change to remove the restriction on mapping a portable drive. The risk being the portable drive letter changes at a later date.

Yes, please.  A drive letter change can be fixed by remapping.  Maybe you could give a warning when someone maps a removable drive, telling them how to remap the drive letter.

Quote
Is there a particular reason the files need to be in the library eg. you could remove them from the library and manually organise via the computer folder node

I guess I can, I'm just in the habit of keeping everything in the library. It makes syncing and organizing a lot smoother.  I'd really like to keep them auto-organized.

I suppose I could install MB portable on the sd card and create a library just for these files, but that seems like overkill.
Title: Re: Auto-organize settings erased by error
Post by: Steven on December 10, 2016, 08:19:34 PM
i removed the portable device restriction for auto-organisation but i also had to make changes in a couple of places for the library organisation handling for such files. I have tested it but i suggest you keep an eye on the first few times to make sure it is organising as expected

http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
Title: Re: Auto-organize settings erased by error
Post by: psychoadept on December 12, 2016, 05:30:35 AM
So far, so good.  Thank you!
Title: Re: Auto-organizing removable drives
Post by: psychoadept on December 17, 2016, 02:45:51 AM
I've been doing a lot of editing on these files (filling in dates, standardizing titles, etc), and now they've disappeared from my library.  I fought with them for quite a while last night, rescanning folders and moving things from the inbox, etc, and finally got them to show up again in my audiobooks node.  But now they're gone again.  All 600+ files.  Not in the library, audiobooks, or inbox.  A search won't find them.  The only places I see them are in portable devices and an auto-playlist I made based on folders (because I'm comparing the library copies with the originals on my external drive).

Specifically, here's a sequence of steps I just did:

* Dragged all 620 files to the Audiobooks node (from the playlist): nothing shows up
* Rescanned for files: MB says 620 files added to the inbox, inbox count reflects this.  but if I actually go to the Inbox, the file count is the same as without them, and a search will not find them.
* Looked at the auto-organize rule for E:\ and made a change: nothing shown in the auto-organize preview.
* I deleted the playlist and rescanned again, and was then able to re-add the files to audiobooks from the inbox
* Then I recreated the same auto-playlist, and the files disappeared from audiobooks.
* It seems like the playlist is part of the problem, but this isn't entirely conclusive, because I was able to get the files back in place at one point last night without deleting the playlist, so... ?

Any ideas?


Edit: Also, there are some files which I originally converted to 320k (from WAV), and then I reconverted from the original file to a VBR file and used the Replace command to switch for the 320k version. But every time I reload the playlist (the one using folders rather than the library), they say 320k again.  As soon as I recan the file, it shows the correct VBR, but it never sticks.  Reload the playlist and it's 320k again.  This has been across many restarts of MusicBee.  I've also removed the files from the playlist and restored them a few times.  I've even recreated the playlist from scratch.
Title: Re: organizing removable drives
Post by: Steven on December 17, 2016, 08:17:58 AM
You mean they are gone from the library and are still on the device at the expected location?
Send me a link to a zip of your musicbeelibrary.mbl file and let me know the name of a couple of the songs - artist, title and album
Title: Re: organizing removable drives
Post by: Steven on December 17, 2016, 07:01:01 PM
I dont see any files on the e: drive but they are located on D:\PHC1of3, D:\PHC2of3, D:\PHC3of3, D:\A Prairie Home Companion, etc
It appears your drive letter changed since you initially added them, and none are marked as being in any library.
If you can confirm that and add any comments you might think relevant, then i will think about what MB would have done when the drive letter was different - i cant immediately think of why MB would have changed the path to d: - i guess the old e: files were removed and new ones scanned from the d: drive
Do you you check for updated or missing files enabled in the library preferences?

edit:
the only way i can think of it would happen is if the drive became D: and E: was an accessible drive. In that case the files would have been flagged as dead links instead of being marked as not accessible. Then the dead links might have been removed
Title: Re: organizing removable drives
Post by: psychoadept on December 17, 2016, 08:58:15 PM
There are files on both D:, which is my external drive, and E:, which is the SD card.  

The files on D: are the originals that I recently downloaded, now mostly in .flac format.  There are 398 of these, last I checked.  They have never been added to my library.  However, the folders PHC1of 3, etc no longer exist.  Everything has been merged into A Prairie Home Companion, organized in folders by individual date.

The files on E: are all MP3s, some converted from the files on D: (but not everything on D: is on E:) and others I acquired elsewhere.  There are 620 of these, organized in folders by year.  These are the ones that i was trying to organize originally,  And now can't find in the library.  It is definitely still E:.
Title: Re: organizing removable drives
Post by: psychoadept on December 18, 2016, 08:06:34 PM
Here's a screenshot of the playlist.

(http://i.imgur.com/RJUKEAn.png) (http://imgur.com/RJUKEAn)
Title: Re: organizing removable drives
Post by: Steven on December 18, 2016, 08:32:15 PM
Yes there is a bug that removes the file from the library cache when you include files from device in an auto-playlist using folders. This should fix it, but please test it out tonight if you have time

http://musicbee.niblseed.com/V3_1/MusicBee31_Patched.zip
Title: Re: organizing removable drives
Post by: psychoadept on December 19, 2016, 03:45:54 AM
I updated and have been using it for about an hour.  So far so good.  Thanks!
Title: Re: organizing removable drives
Post by: El Chapin on May 13, 2017, 03:26:18 AM
Related to this issue, it was suggested by another Forum member that I post my issue on this similar question.  Although, my issue is simpler than the OP's:

 My urgent question is:

** what are the steps to populate MusicBee 3.0.6335 (dated May 6, 2017) library from an SDXC card that IS recognized in MusicBee Navigator Panel under Devices? (I'm under Windows 8.1. SDXC card is set up as removable media and works fine with VLC player.)**

I think the need for these instructions is much greater due to more use of removable storage media.
Let me add a clearer way to see the problem:

I uninstalled and reinstalled MB.  When asking if I want to scan my folders for MB library set up, it only shows a couple of folders on my C: drive. So I unchecked them. The same window however, also presents a box "choose folders".

Click "choose folders" and it shows:
_ Libraries
_ Windows C:
_ WLAN backup hard drive
 
(Interesting that it shows the WiFi hard drive, but neither of the removable drives on my PC -- the SDXC card or the USB drive.)  My music files are all on the SDXC card. 

And then, this is probably the most helpful way to see the problem:

>I go into Edit/Preferences

>Under Preferences/Devices the SDXC card clearly shows as a device.  (Note the "Folders" box at bottom of that window is empty.)

>Under Preferences/Library/Monitored folders there is another "choose folders" box.  Click it to choose the SDXC device and the Music folder in it (with all my music files), but again, it only shows the same 3 folders as when I clicked it above.  The SDXC does NOT show up as an option to choose music source files from -- even though it shows in Devices.

That's where I dead end.  Can anyone else replicate this problem to see the issue?