Page 1 of 3

Auto Organize doesn't delete empty folders [1933]

Posted: Wed Nov 21, 2007 12:55 pm
by crayak
I have noticed that even when when you select the option to automatically delete empty folders while using Auto organize it doesn't work. I have tested the about 4 times now. I'm not sure if this has already been documented or not, but it just came to my attention.

Auto-Organize problem

Posted: Fri Nov 23, 2007 12:08 pm
by rusty
Crayak,

I can't reproduce this. on my machine, the folder is deleted IF:
-Any artwork linked to the file has been moved with the file
-No other tracks remain in the folder
-No other files (hidden or otherwise) are left in the folder

Can you give me more info re. exactly how you reproduce this?

Thx.

-Rusty

Posted: Fri Nov 23, 2007 9:42 pm
by crayak
Right now I have man albums that have multiple albums. I accidentally used Itunes to organize my library awhile back, so all the albums with multiple artists are organized Artists feat X\track, and so on. When I go into MM3 RC2 and search for a album title lets say the 8 mile sound track which as man artists. I select tools>auto organize I can see in the preview that the Alums tracks are scatter all over my music folder, I have setup MM to reorganize based on album artists\album\tracks.mp3 when I go back into my music folder I see see some of the folders that once contained a single track from the 8 mile albums. Besides that the only thing else I can say is that maybe this is happening because I'm using Windows Vista.

Posted: Fri Nov 23, 2007 11:10 pm
by drjboulder
I recently did a major re-organization and was also left with empty folders. I downloaded a program that searches for empty folders and it found none. Seems Vista stores some info in the folders (folder.jpg ???) that makes it appear empty to the user but not to programs that search for empty folders or programs that are suppose to delete folders that they have emptied (MM). So, seems to be a Vista issue and not a Monkey issue.

Posted: Sat Nov 24, 2007 10:27 am
by PromisedPlanet
I am still getting the following error with the latest version of MM3 (3.0.0.1105):

"Cannot delete {folder path}. Access is denied. The file may be in use or may not have access rights."

I have auto-organize with delete empty folders enabled. This occurs during the startup scan, when auto-organize moves an MP3 out of a folder, leaving it empty. While this dialog box is up, Process Explorer shows that MediaMonkey has a handle open on the folder with the specified path. Clicking the dialog box's "retry" button causes the error to repeat.

This is on Windows XP SP2.

Posted: Sun Nov 25, 2007 1:17 am
by crayak
drjboulder wrote:I recently did a major re-organization and was also left with empty folders. I downloaded a program that searches for empty folders and it found none. Seems Vista stores some info in the folders (folder.jpg ???) that makes it appear empty to the user but not to programs that search for empty folders or programs that are suppose to delete folders that they have emptied (MM). So, seems to be a Vista issue and not a Monkey issue.
I think you hit the nail dead on. It seems to be a Vista only issue. I also downloaded a program that is supposed to find empty folders and delete them, which didn't work. I don't know if a Vista bug, or just an issue with Media Monkey, and other programs not being coded to access the Vista file system properly. I'm pretty sure the file system in Vista is a little bit different then XP. You guys do amazing work, keep it up!

Posted: Sun Nov 25, 2007 6:11 am
by joejoe
I noticed somthing similar in Vista. The folder looks empty, but it still constains 4 system files

AlbumArt_{9A905385-3229-408A-981B-AE5B42E378FD}_Large.jpg
AlbumArt_{9A905385-3229-408A-981B-AE5B42E378FD}_Small.jpg
AlbumArtSmall.jpg
Folder.jpg

Link files aren't deleted

Posted: Mon Dec 03, 2007 12:56 pm
by rusty
Hi,

I just tested this out with tracks that have many linked artwork files, but couldn't reproduce the problem.

Can you tell me the attributes of the files that weren't deleted/moved? (right click on them in Explorer and click Properties).

Thx.

-Rusty

Posted: Mon Dec 03, 2007 3:46 pm
by joejoe
For some reason it doesn't happen to ALL folders. Here is the contents of a folder, after the move, but the directory was left behind

C:\Users\Public\Music\Ab Logic>attrib
A SH C:\Users\Public\Music\Ab Logic\AlbumArtSmall.jpg
A SH C:\Users\Public\Music\Ab Logic\AlbumArt_{080C0CDB-EC14-4EF0-BB1A-9F
496E5D06F9}_Large.jpg
A SH C:\Users\Public\Music\Ab Logic\AlbumArt_{080C0CDB-EC14-4EF0-BB1A-9F
496E5D06F9}_Small.jpg
A SH C:\Users\Public\Music\Ab Logic\Folder.jpg

Hope this helps, can't see much of a patern. I'll do some more tests to see if I can come closer to the issue.

Posted: Mon Dec 03, 2007 4:19 pm
by nohitter151
These are most likely Album Art files added by Windows Media Player that were never picked up by MM and linked.

Posted: Mon Dec 03, 2007 4:48 pm
by quofiend
This maybe irrelevant .. but if you are runing Vista, do you have UAC controls set on or off ? This seems to make a big diff when it comes to deleting folders/files. Does it fail regardless of these settings ? Just a thought.

Posted: Mon Dec 03, 2007 5:35 pm
by nohitter151
Mine is off and Auto Organize works as it should.

Posted: Tue Dec 04, 2007 11:45 am
by Guest
I have mine off. I'll wait to see if the final release fixes this issue before I turn it off.

album art files not deleted

Posted: Tue Dec 11, 2007 8:54 pm
by rusty
joejoe,

For the album art files that aren't deleted, when you right-click Properties, what attributes are checked off? (e.g. hidden/read-only/etc).

-Rusty

Same issue on XP

Posted: Thu Dec 13, 2007 8:31 am
by NightSTORM
Hi,

I'm having the same problem on WinXP SP2. How it all happened:

- Used to organise tracks with iTunes, so all compilations went under MP3\Compilations\Album\...
- Installed Monkey, added Auto-Organise rules and let it scan at startup (Just to re-organise all existing tracks).
- Noticed all mp3s that were under MP3\Compilations have been moved to MP3\Artist\Album\...
- Renamed all these albums' Album Artist to 'Various'
- Enabled 'Delete Empty Folders', restarted MM to rescan the folder.
- Error "Cannot delete {folder path}. Access is denied. The file may be in use or may not have access rights." pops up. Folder path obviously being the 'old' Artist\Album folder.

I checked those folders and they are barren and empty (Yes, I show hidden and system files).

Any ideas what may have gone wrong? When I do a startup scan these days it doesn't even try to delete the folders...