Author Topic: Folder deleted after music moved  (Read 605 times)

palatkik

  • Newbie
  • *
  • Posts: 2
When one select any number of music files and choses right click

* Send To/Folder(move)/Move Files To Folder,

if the files are moved and there is not at least one file remaining in the send from folder, Musicbee deletes the empty folder whereas one might expect the empty folder and name to remain until the user decides to remove it.

Steven

  • Administrator
  • Hero Member
  • *****
  • Posts: 34416

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10712
I can only speak for myself, but I wouldn't want this behavior to change
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches (3.5/3.6)
(Unzip and overwrite existing program files)

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9446
I can only speak for myself, but I wouldn't want this behavior to change
You may speak for me also. I do not want this behavior to change. When the folder is empty, delete it. I don't need empty folders lying around.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

MotleyG

  • Full Member
  • ***
  • Posts: 156
Is there a reason you would want to keep an empty folder? Typically the ask goes the other way, to clean up behind an action that moves all files from a folder.

Mayibongwe

  • Sr. Member
  • ****
  • Posts: 1139
  • Heal The World
https://getmusicbee.com/forum/index.php?topic=41148.0

On the above link is an identical report from earlier in the month.
The user in that thread mentioned that they were going to delete the empty folders in any case.

Their issue was mainly that MusicBee did not notify them of such a deletion.
Normally, that's a genuine concern of course, but not here where folders are empty and users would not have done anything else other than delete them anyway.
The source code to any of my contributions is available on the same download link as the add-ons

palatkik

  • Newbie
  • *
  • Posts: 2
Is there a reason you would want to keep an empty folder?

There is a reason because I am using the folder as a location to move files into and out of all the time so sometimes it can be empty and when MB deletes it I have to recreate it. The folder is also used by other applications I use.

But thats not the point. The point is no software should be deleting stuff on your computer without first asking permission or explaining what it is doing. As some of you guys clearly like the feature it maybe should be added to settings?

phred

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 9446
It's easy to work around this issue.

Create a text file with nothing it in. Or with "Do not delete" in it. Name the text file "Do not delete.txt". Place it in the directory you don't want deleted.

As long as you don't have "also move non-media files" enabled, that file will always be there and your directory won't be deleted.
Download the latest MusicBee v3.5 or 3.6 patch from here.
Unzip into your MusicBee directory and overwrite existing files.

----------
The FAQ
The Wiki
Posting screenshots is here
Searching the forum with Google is  here

psychoadept

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 10712
I think if you did want to use "also move non-media files" you could create a subfolder as an anchor rather than a single file. I haven't tested to be sure, though.
MusicBee Wiki
Use & improve MusicBee's documentation!

Latest patches (3.5/3.6)
(Unzip and overwrite existing program files)