Auto Organize doesn't delete empty folders [1933]

Beta Testing for Windows Products and plugins

Moderator: Gurus

crayak
Posts: 54
Joined: Wed Nov 30, 2005 12:20 am

Auto Organize doesn't delete empty folders [1933]

Post 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.
rusty
Posts: 8886
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Auto-Organize problem

Post 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
crayak
Posts: 54
Joined: Wed Nov 30, 2005 12:20 am

Post 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.
drjboulder
Posts: 1119
Joined: Mon Apr 09, 2007 12:03 am
Location: Boulder, Colorado, USA

Post 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.
D Rock
Image
MediaMonkeyGoldv3.0.3.1183
Vista Home Basic|4thGen 20GPod
Zune Small Player Skin w/ Aqua 4 Player Mod
Backup | Last FM Node | Scrobbler DJ | TopTracks | StayInSameStyleDJ
RadioDJ | RadioFreeMonkey | PrettyPictures | MiniLyricsEmbedder
LyricsViewer | Lyricator | LyricsPlugin | VisualizationEmbedder | MonkeyRok
RightClickForWeb | WebSearchPanels | WebNodes | MagicNodes | FavoritesNodes
NowPlayingArtNode |AutoRateAccurate | TaggingInconsistencies
AdvancedDuplicateFind&Fix | CaseModify | PlayHistory&Stats | Etc...
PromisedPlanet
Posts: 159
Joined: Mon Feb 19, 2007 9:45 am
Location: Ohio, United States

Post 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.
crayak
Posts: 54
Joined: Wed Nov 30, 2005 12:20 am

Post 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!
joejoe
Posts: 47
Joined: Sun May 13, 2007 6:10 am
Location: Aussie in Switzerland

Post 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
rusty
Posts: 8886
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

Link files aren't deleted

Post 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
joejoe
Posts: 47
Joined: Sun May 13, 2007 6:10 am
Location: Aussie in Switzerland

Post 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.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Post by nohitter151 »

These are most likely Album Art files added by Windows Media Player that were never picked up by MM and linked.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
quofiend
Posts: 161
Joined: Sun Jan 14, 2007 5:36 pm

Post 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.
nohitter151
Posts: 23640
Joined: Wed Aug 09, 2006 10:20 am
Location: NJ, USA
Contact:

Post by nohitter151 »

Mine is off and Auto Organize works as it should.
MediaMonkey user since 2006
Need help? Got a suggestion? Can't find something?

Please no PMs in reply to a post. Just reply in the thread.
Guest

Post by Guest »

I have mine off. I'll wait to see if the final release fixes this issue before I turn it off.
rusty
Posts: 8886
Joined: Tue Apr 29, 2003 3:39 am
Location: Montreal, Canada

album art files not deleted

Post 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
NightSTORM

Same issue on XP

Post 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...
Post Reply