Auto-Organize & .cue, .m3u and .log files

Any ideas about how to improve MediaMonkey for Windows 4? Let us know!

Moderator: Gurus

riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Auto-Organize & .cue, .m3u and .log files

Post by riffcat »

I am having a problem with Auto-Organize and my .cue, .m3u and .log files not being moved with the music during the auto-organize process.

Is there some way to have these files also moved to the new renamed directory during the move process? I don't see an option to allow this.

These files are very important to maintain in my collection. Especially the .log files created during the rip/encoding process.


[edit]: one thing i noticed. Would it be possible to have option to instead of displaying "Unknown" in empty custom fields or "0000" in the <year> fields have the default value be left empty.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Try my Move Files script, there's a variable at the top of the scriptfile to specify the extensions you want to move.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Post by riffcat »

The move script, somewhat meets my needs. It helps for when i am manually adding new albums and I import/auto-organize new directories into my existing collection/directory structure; thank you.

The script doesnt seem to trigger when i make a change to the <album> or <artist> that cause the folder name to get changed and the files moved to the new folder.

The problem really stands out when i make little changes to lots of different albums and the File Monitor picks up these changes and creates a new folder and moves the files into it leaving .jpg .cue .m3u .log files in the old folder. And, since the folder is now not empty only containg the log, cue, jpg and m3u i now have this "semi-half-empty-duplicate" folder.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

My script only moves tracks which have the same name as the track, sorry. It doesn't move album files, which it turns out you're after. It could be modified though to do what you want.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Post by riffcat »

maybe i wasnt clear or im not sure what you are saying. So far it works for me better than without, much so. But, it only fullfills the first part of my needs.

I currently have my library in \.music\<artist>\<album> (<year>) [<Extension>]\<Track#:2> - <title>

I have music directories waiting to be imported in .\temp\music

I use MM to browse My Computer .\temp\music directories one at time and edit the tags and update if needed via web lookups. If the files are tagged correctly i right click on directories within MM and select Auto-Organize. It moves the the files into my MM music folder structure according to the \.music\<artist>\<album> (<year>) [<Extension>]\<Track#:2> - <title> auto-organize configuration. Then it fires off your script if it finds <cue, log, m3u, txt, jpg> in the directory structure and asks me if I'd like to move these as well. Then it deletes the origional .\temp\music directory once all have been moved. i repeat the procedure until all my music has been moved into the set MM music directory.

All is good so far. This makes my importing new music into MM much easier.

Now is where I loose the functionality i desire. Sometimes i decide to make changes to my folder structure or more often i notice an <artist> or <album> or whatever is spelled incorrectly. I will make changes to the tag and due to the MM File Monitoring it changes the directory name and then moves all the tracks into the new directory.

Now this is where MM fails. The old directory still has all the cue, log, m3u, txt, jpg files in it (MM only deletes the old directories if empty). I now have the correct renamed directory with all the tracks in and a leftover incorrect directory with all misc files. I have to manually browse and cut/paste all the files into the new directory and delete the old.

It would be great if whenever MM (via File Monitoring or Auto Organize) or your script attempts to delete a directory but finds files, it would ask or automatically move (depending on config) the remaining file types into the newly created directory and then deletes the old directory.
trixmoto
Posts: 10024
Joined: Fri Aug 26, 2005 3:28 am
Location: Hull, UK
Contact:

Post by trixmoto »

Unfortunately I think this is a matter of when the event is fired and there's nothing that I can do as a scripter. Maybe a new event is needed in this case.
Download my scripts at my own MediaMonkey fansite.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Post by riffcat »

:cry: I cant see how this hasn't affected other people. Even if people don't keep .log .cue or .m3u files - many are sure to store album-art.jpg files in directories. Do people manually name their directories and move files? I cannot see how people make do without an option that when it is enabled it allows certain other types files to be moved as well the track files.
Lowlander
Posts: 59153
Joined: Sat Sep 06, 2003 5:53 pm

Post by Lowlander »

Auto-Organize Files does request to move several filetypes when all files are moved from a folder. CUE is included as well as images, I don't know if LOG files are supported.

So the flaw here seems that when you use the automatic Auto-Organize in MediaMonkey 3 that it doesn't ask the user to move related files. Maybe you should not use the automated Auto-Organize Files and instead use the manual Auto-Organize Files in the meanwhile till this gets sorted out.
riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Re: Auto-Organize & .cue, .m3u and .log files

Post by riffcat »

This is still a problem. For example, if i rename an album or artist to correct a spelling mistake. Auto-organize will rename my directory and move the music files BUT it leave all the important .cue .txt .nfo .log, et cetera in the old directory. Also, since the old directory is not empty i have semi duplicate directory because the auto-organize only removes empty directories. Now i am having to choose between manually searching (thousands of directories) and moving the files to the proper newly renamed directory or running some utility that search for directories with these files in them and deleting them. This is a major inconvenience and design flaw that i hope will not continue to get ignored.
Lowlander
Posts: 59153
Joined: Sat Sep 06, 2003 5:53 pm

Re: Auto-Organize & .cue, .m3u and .log files

Post by Lowlander »

Which version of MediaMonkey are you using. MediaMonkey for many versions has been displaying a dialog box at the end of Auto-Organize Files asking if it should move these music related files as well.
riffcat
Posts: 13
Joined: Fri Dec 07, 2007 8:23 pm

Re: Auto-Organize & .cue, .m3u and .log files

Post by riffcat »

Lowlander wrote:Which version of MediaMonkey are you using. MediaMonkey for many versions has been displaying a dialog box at the end of Auto-Organize Files asking if it should move these music related files as well.
im at work so i cant verify exact version but whatever the latest mm3 that is available (i routinely grab the latest version) none of them have ever operated correctly or as i would like it to function.

it is important to note that if i trigger the auto organize it will ask to move associated files. But it will not move the associated files if i rename an artist that triggers file-monitor to rename the folders based on auto-organize rules.
Post Reply