Don't remove unavailable items if UNC is unavailable [#8863]
Moderator: Gurus
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Don't remove unavailable items if UNC is unavailable [#8863]
Long story, short suggestion:
If the root folder that's being monitored is unavailable, MediaMonkey probably shouldn't prune the contents of that folder and its subfolders from the library even when 'remove unavailable items' is ticked - or should at least ask the user. Obviously, if subfolders (only) are missing their contents should be pruned. This means that in the case of hard drive or network failure the library isn't lost while keeping the value of 'remove unavailable items'. It also shouldn't require much programming to achieve
If the root folder that's being monitored is unavailable, MediaMonkey probably shouldn't prune the contents of that folder and its subfolders from the library even when 'remove unavailable items' is ticked - or should at least ask the user. Obviously, if subfolders (only) are missing their contents should be pruned. This means that in the case of hard drive or network failure the library isn't lost while keeping the value of 'remove unavailable items'. It also shouldn't require much programming to achieve
Last edited by Lowlander on Mon Apr 29, 2013 10:40 am, edited 1 time in total.
Reason: to Bug Report forum
Reason: to Bug Report forum
Re: Don't remove unavailable items if root folder is unavail
It's the whole point of removing unavailable items. I believe though that if the drive isn't available that the files won't be removed (as an unavailable drive may be of temporary nature).
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
I'm not sure if you're understanding? If I'm monitoring the "My Music" folder and "My Music" is unavailable, I suggest items shouldn't be removed without prompting the user. Obviously if anything within what I've asked to be monitored is missing (a whole genre's folder or artist's folder for example), it should be got rid of.
I don't know specifically about drives, but I do know about network locations - and lost the whole library as a result. It's my fault, I'm not whining but I can't imagine people would often have set up a root folder to monitor, that they delete or rename or is inaccessible, but they want MM to keep monitoring the folder that doesn't exist...
Maybe other people use the file monitor very differently from me, but I only have a very few root folders selected in it.
I don't know specifically about drives, but I do know about network locations - and lost the whole library as a result. It's my fault, I'm not whining but I can't imagine people would often have set up a root folder to monitor, that they delete or rename or is inaccessible, but they want MM to keep monitoring the folder that doesn't exist...
Maybe other people use the file monitor very differently from me, but I only have a very few root folders selected in it.
Re: Don't remove unavailable items if root folder is unavail
And why would the folder be temporarily unavailable? Drives can be (think external/network), but folders don't tend to be temporarily unavailable. Thus it's logical that the root folder gets the same treatment as sub-folders.
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
Well I am talking about a network location - network connection down, folder temporarily unavailable. I'm suggesting the important thing is not the drive but the root folder.
I guess my question is why not? Why not at least ask? I'd have thought it would be rare that it would be triggered and rare users would want the answer to be yes.
For me, the purpose of the feature is to tidy up everything else, not remove my entire collection.
I guess my question is why not? Why not at least ask? I'd have thought it would be rare that it would be triggered and rare users would want the answer to be yes.
For me, the purpose of the feature is to tidy up everything else, not remove my entire collection.
Re: Don't remove unavailable items if root folder is unavail
Like I said if the drive (internal/external or network location) is unavailable the files on the drive shouldn't be removed from the Library. If files are removed from an unavailable drive that would be a bug.
How are you connecting to the network drive (IP, UNC or mapped drive)?
How are you connecting to the network drive (IP, UNC or mapped drive)?
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
UNC:
\\diskstation\music
\\diskstation\music
Re: Don't remove unavailable items if root folder is unavail
If \\discstation is unavailable no files should be removed from the Library from it. If you do experience this you may want to capture this in a debug log (step 4b) and send it to support: http://www.mediamonkey.com/forum/viewtopic.php?f=4&t=69
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
Okay, will do. Shame I've just scanned in the whole collection again
Re: Don't remove unavailable items if root folder is unavail
Copy the DB and do the debug, the restore DB: http://www.mediamonkey.com/support/inde ... ticleid=17
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
I submitted ticket YAW-575064. Apparently, it is expected behaviour.
So, I repeat my wish that if the root folder or network location or drive - whichever you'd prefer - is unavailable, MM prompts the user to ask if all items should be removed.
Personally, I don't see that behaviour as the point of the 'remove unavailable items' option, but it's clearly the consequence. I see the point being that it keeps your library in sync with a collection that you edit from outside of MM. It also makes the option very dangerous on a network location, as I discovered.
Do I have support from you Lowlander?
So, I repeat my wish that if the root folder or network location or drive - whichever you'd prefer - is unavailable, MM prompts the user to ask if all items should be removed.
Personally, I don't see that behaviour as the point of the 'remove unavailable items' option, but it's clearly the consequence. I see the point being that it keeps your library in sync with a collection that you edit from outside of MM. It also makes the option very dangerous on a network location, as I discovered.
Do I have support from you Lowlander?
Re: Don't remove unavailable items if root folder is unavail
If the location (the network location) is unavailable files shouldn't be removed. That is my understanding of how MediaMonkey works, but I could be mistaken.
Download MediaMonkey | License
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
Help: Knowledge Base | MediaMonkey for Windows 5 | MediaMonkey for Android
Lowlander (MediaMonkey user since 2003)
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
Okay, for an experiment I put some files on an external drive. When I unplug the external drive, the files don't disappear from the library, so you were right. However, for the network location they disappear, at least with UNC.
So it sounds like it is a bug, because the expected behaviour is that if the root location is unavailable it doesn't remove the files from the library. I'll try reopening the ticket and see what happens.
You can do the experiment too. Add a network folder to the file monitor, turn on 'remove unavailable items', switch off networking, see what happens
So it sounds like it is a bug, because the expected behaviour is that if the root location is unavailable it doesn't remove the files from the library. I'll try reopening the ticket and see what happens.
You can do the experiment too. Add a network folder to the file monitor, turn on 'remove unavailable items', switch off networking, see what happens
-
- Posts: 215
- Joined: Sat May 21, 2011 9:13 am
Re: Don't remove unavailable items if root folder is unavail
Just to say the issue is being tracked (and has been for a very long time!) in Mantis:
http://www.ventismedia.com/mantis/view.php?id=8863
http://www.ventismedia.com/mantis/view.php?id=8863