getmusicbee.com

Support => Questions => Topic started by: simonw on July 29, 2012, 12:45:27 PM

Title: Lost my library...
Post by: simonw on July 29, 2012, 12:45:27 PM
Ok, two drives c: and d: both with windows installed on then. Music is in a folder d:\music (as the drive is bigger)
Everything is working great with musicbee on my c: drive pointing at the d:\music folders with the library mbl file sitting in c:\users\my music...

I then booted into the d: drive (where I also have musicbee installed) and chose the library off the other drive. No music files show up. I then boot back into the c: drive and also now, no music files show up either.

Using the latest beta, and using remap dialog, I'm not sure what folder I should be selecting (c:\users... or d:\music) but neither is giving me any library data anymore.

Have I messed up my library mbl file beyond recovery ? Is there anything I can do ? Please help

Update: Even the Remap dialog is no longer showing up now...agghhh

Simon
Title: Re: Lost my library...
Post by: Steven on July 29, 2012, 01:13:48 PM
as a guess the path to the music files is different if you boot up from the c: drive vs. booting from the d: drive.
If you were using the same musicbee library file then when booting from the d: drive the files would not exist at the expected location and hence be flagged as dead links. If you have the option to automatically remove dead links (set in the library preferences) then the file links would be removed from the library.
If this is the case you would only be able to recover from a backup of the library you may have made. MB keeps one backup copy automatically (MusicBeeLibrary.bak in the root folder of the music library folder) but if you changed anything on the subsequent restarts then that would be overwritten with the latest empty library.
If all the above is true and you have no backup then you will need to recreate the library by rescanning the files into it.
Title: Re: Lost my library...
Post by: simonw on July 29, 2012, 08:14:04 PM
Oh dear.
I really like to sort by date added. Now they'll all be the same ...  :(

update 1:
Just checked and I don't have the dead link removal checked. Does this help in any way. Is the library an ini file change away from recovery?!

update 2:
If I open the mbl file in notepad (!) all the file paths correctly point to d:\music. Surely there must be something that I can do?
Title: Re: Lost my library...
Post by: simonw on July 30, 2012, 07:11:21 PM
Anybody?
Title: Re: Lost my library...
Post by: Steven on July 30, 2012, 07:48:46 PM
make sure you keep a copy of that file.
the most obvious thing is do you have that library selected. You can check by starting MB holding the shift key down which will show a dialog with all the libraries MB knows about and their file paths. If the first item in the list is not the one you expect then select the correct one.
If you are sure you have the correct library selected, can you clarify - are you saying that no files appear in the main panel?
if so, upload a zip of the .mbl file and PM me a link and let me know the root folder path where the music files reside
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 05:30:10 PM
I think this is the problem I'm having, too.

If I open my mbl file in notepad, all the file paths correctly point to my K drive where the files are, but on opening musicbee i get a long list of these:

6/20/2016 2:24:10 PM - startup monitored folder:: dead file link removed: K:\Lenovo T420\Music\Music Library\Art Tatum\1949-1953 {Chronological Classics, 1411}\16 Elegie.mp3

But the files are all in that location! I also sort by date added, and my playlists (which all open correctly, but without any files in them!) are very very important to me. Surely there must be something that I can do to keep those two things? For the future, im going to set up autotagging to write the date added information into the file's tags, but I don't want to lose all my past information if possible.




Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 06:04:28 PM
So do you have a copy of the mbl file and reproduce the step?

Then try this:
Open MusicBeeLibrarySettings.ini file in your library folder with a text editor.
Find:
<OrganisationMonitoringCheckStatus>true</OrganisationMonitoringCheckStatus>
Change the value to false.

Then relaunch MB and see if those dead links stay and you can use remap music folders command.
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 06:10:53 PM
the value was already false, so i launched and tried remap folders, which completed immediately and didn't do anything...
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 06:19:57 PM
the value was already false

Then find this:

<OrganisationMonitoredFolders>

and delete up to
</OrganisationMonitoredFolders>
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 06:24:43 PM
that setting syntax doesn't exist in the file...
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 06:30:52 PM
Then I don't understand this part:

on opening musicbee i get a long list of these:

6/20/2016 2:24:10 PM - startup monitored folder:: dead file link removed: K:\Lenovo T420\Music\Music Library\Art Tatum\1949-1953 {Chronological Classics, 1411}\16 Elegie.mp3

If you have no monitored folders and disabled check missing files setting, why does MB scan and remove dead links at startup?
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 06:50:16 PM
i have no idea, i've just reproduced the error. this is what i get:

Musicbee Startup Error
Invalid URI: The format of the URI could not be determined.;

And a huge error log which im trying to copy to pastebin now but is taking a while...



Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 06:54:06 PM
okay since pastebin's not playing nice, ive copied the error log to my public dropbox, find it here:

https://www.dropbox.com/s/gpde518f9e9xz2t/ErrorLog.dat?dl=0
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 07:07:41 PM
Can you post a screenshot of your current library settings (Preferences> Library)?
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 07:13:51 PM
And just to be clear, if you open MB, then you get the dead links removed message box and your library is completely empty and playlists show only titles without any tracks in them. Is that what you're saying?
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 07:14:30 PM
not sure how to post images here, but link to screenshot:


https://www.dropbox.com/s/5uwd3omksdjrj4l/library%20settings.PNG?dl=0

Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 07:21:36 PM
And can you show the auto-organization settings too?
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 07:25:01 PM
sure thing (thanks again for your help!)

https://www.dropbox.com/s/ok2upj5bxc63ml5/autoorg.PNG?dl=0
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 07:34:45 PM
I moved my music library from one folder to another, and then thought better of it, and moved it all back. I opened music bee, and it asked me to locate my library file, which I did.

From which folder to which folder did you move? Also where is your library folder?
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 07:38:03 PM

moved both the Music Library and MusicBee settings/library folder from K:\Lenovo T420\Music to  K:\Lenovo T420\IDrive-Sync_steveeldonkerr\Music

moved them back, meaning that now music library is:
K:\Lenovo T420\Music\Music Library

and musicbee settings/library folder is:

K:\Lenovo T420\Music\MusicBee
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 07:55:04 PM
I missed your reply #14, but yeah that is the problem in a nutshell.
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 08:10:03 PM
Try moving your music files folder to anther place with MB closed and then run MB to see if dead links stay.
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 08:18:31 PM
Didn't work, got the same error
 Tried remapping folders afterwards and it said remapping complete but nothing changed. Tried putting files back in original place and repeating, but no difference.
Title: Re: Lost my library...
Post by: redwing on June 21, 2016, 08:23:15 PM
Can you try it again with auto-organization option disabled?
Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 08:54:39 PM
yep, same error message saying dead links removed.

i tried to remap folders, the first time i get the error message below. If i close and re-open music bee it allows me to remap, but again, doesn't actually change anthing, it just says "remap complete"


MusicBee v3.0.5995.40050 (Win6.1), 21 Jun 2016 15:52:

System.UriFormatException: Invalid URI: The format of the URI could not be determined.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at #=qQce3CvCWHPqSOQnX3PL8RzF0zMichbJS0QPNp1ecLR0Sddz2VZg0D2qA4VCqwAJc..ctor()
   at MusicBee.MusicBeeMain.MainMenu.#=qRtWEdqe$wm1B96$DAHHMeJ$ajLal5_YB$guyhtJO6zo=(Object #=q$pT9ugM$JarRIwPQaFeU1Q==, EventArgs #=qdjAGRgNuykZe8nBxToZIxg==)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Title: Re: Lost my library...
Post by: euanek on June 21, 2016, 09:02:01 PM
weirdly, if i put the music files back in their original location, i can play them from the "now playing" selector in the left window of musibee, but playing them doesnt add them back to the library
Title: Re: Lost my library...
Post by: redwing on June 22, 2016, 07:45:36 AM
Ask Steven what that error message means.

As for what happened, my guess is when you moved the folders back to the original location your sync app didn't release the folders for some reason, so MB couldn't locate both your library folder and music files. Hence it asked you to select a library, but probably it took it as a different one. The same thing must have happened to music files as well: MB doesn't think they are the same as existing ones in your library.
Title: Re: Lost my library...
Post by: euanek on June 23, 2016, 02:30:24 AM
damn, that sucks. thanks so much for your efforts tho!