
Un Auto Organised 3.0 [MM2+3] - Updated 30/10/2009
It's a nice idea and I'll certainly put it on the list. Not sure how to add tracks to the list, but I'll mull it over and see what I come up with! 

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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Trixmoto,
Thanks for the wonderful script. This is great!
This new version is very fast too! The scripters for this program are wonderful!
I also use your backup script. It saved my database on one occassion, after I did something pretty stupid. Thanks!
One question about thw Un Autoorganized script. Is there an easy change I can make to the current copy to ignore tags ending in those special characters, such as a period (.) I know you plan to address this in a later version, but just wondering.
Thanks for the great work.
Greg (toxboy)
Recent MM gold member.
Thanks for the wonderful script. This is great!
This new version is very fast too! The scripters for this program are wonderful!
I also use your backup script. It saved my database on one occassion, after I did something pretty stupid. Thanks!
One question about thw Un Autoorganized script. Is there an easy change I can make to the current copy to ignore tags ending in those special characters, such as a period (.) I know you plan to address this in a later version, but just wondering.
Thanks for the great work.
Greg (toxboy)
Recent MM gold member.
Hopefully I will be releasing that fix later today! 

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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
New version (2.1) is now available from my website. Changes include...
- Fixed BPM appearing as "0-1" when blank (should be 000)
- Fixed bitrate appearing as 6 digits by default (should be 3)
- Fixed trailing characters in folders not removed
- Added exclusion list to stop tracks appearing in this node
At the moment a red cross is added to the standard toolbar. Clicking this will add all the selected tracks to the exclusion list (so they will not appear in the UnAutoOrganised list even if they are not organised correctly). The script is designed to that in the next version of MM, when the SendTo list bug has been fixed, this icon will disappear and reappear in the SendTo menus.
Currently the only way to remove tracks from the list is to manually edit the list. It is stored in a the file "UnAutoOrganised.vbs.dat". Once the SendTo menus are fixed I will work on a proper interface for editing the list, but this should do the job for now!
- Fixed BPM appearing as "0-1" when blank (should be 000)
- Fixed bitrate appearing as 6 digits by default (should be 3)
- Fixed trailing characters in folders not removed
- Added exclusion list to stop tracks appearing in this node
At the moment a red cross is added to the standard toolbar. Clicking this will add all the selected tracks to the exclusion list (so they will not appear in the UnAutoOrganised list even if they are not organised correctly). The script is designed to that in the next version of MM, when the SendTo list bug has been fixed, this icon will disappear and reappear in the SendTo menus.
Currently the only way to remove tracks from the list is to manually edit the list. It is stored in a the file "UnAutoOrganised.vbs.dat". Once the SendTo menus are fixed I will work on a proper interface for editing the list, but this should do the job for now!
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 2283
- Joined: Tue Aug 29, 2006 1:09 pm
- Location: Kansas City, Missouri, United States
BPM, The ending Period & the Exclusion List are all working fine from what I can tell, though, Bitrates are still being converted to 6 digits rather then the three.trixmoto wrote:- Fixed BPM appearing as "0-1" when blank (should be 000)
- Fixed bitrate appearing as 6 digits by default (should be 3)
- Fixed trailing characters in folders not removed
- Added exclusion list to stop tracks appearing in this node
Overall, impressive update, definitely didn't expect the implementation of an Exclusion List so quickly. *Thumbs Up* Get the Bitrate issue solved once again and the script should be solid.
Bitrate is an exception because it's the only numeric field that actually rounds the value. I'll try to make sure that's working for the next version.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 2283
- Joined: Tue Aug 29, 2006 1:09 pm
- Location: Kansas City, Missouri, United States
Was just thinking a minute ago of a way you could expand the usage of the Exception list. You see, I often rip my CD's to a "Quarantine Folder," I normally tag everything pretty quickly and get it organized like the rest of my library, but there are some occasions where I will rip something, and let it sit there for a while before I mess with it.
Maybe a way to exclude a complete path, as it's a "Quarantine Folder," I already know it's not Organized, I don't really need it to show up in the node. (I mainly use your script to catch the files where I alter the titles, or other fields I use to organize, but forget to organize them after.) Thoughts?
Just tossing ideas out there again.
Maybe a way to exclude a complete path, as it's a "Quarantine Folder," I already know it's not Organized, I don't really need it to show up in the node. (I mainly use your script to catch the files where I alter the titles, or other fields I use to organize, but forget to organize them after.) Thoughts?
Just tossing ideas out there again.
Nice idea, I've added it to my to do list. 

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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
New version (2.2) is now available to download from my website. Changes include...
- Fixed bitrate appearing as 6 digits by default (should be 3)
- Added option to exclude folders
If you select multiple songs in the same folder and click the exclude button then you will be asked if you wish to exclude the folder or the files individually.
- Fixed bitrate appearing as 6 digits by default (should be 3)
- Added option to exclude folders
If you select multiple songs in the same folder and click the exclude button then you will be asked if you wish to exclude the folder or the files individually.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 2283
- Joined: Tue Aug 29, 2006 1:09 pm
- Location: Kansas City, Missouri, United States
Just DLed & Installed a bit ago and gave it a run through. The Bitrates appear to finally be fixed, tried it with both VBRs & CBRs and both were processed correctly.trixmoto wrote:- Fixed bitrate appearing as 6 digits by default (should be 3)
- Added option to exclude folders

The Folder Exclusion appears to work aswell, though it's a little more strict then I thought it would be. It appears that it only processes the files in THAT folder that you've added, which makes sense, though it would be nice if it processed sub folders and such aswell, so that I could add
Code: Select all
C:\Documents and Settings\*Name*\My Documents\My Music\Quarantine
Code: Select all
C:\Documents and Settings\*Name*\My Documents\My Music\Quarantine\X-Clan - Return From Mecca

Thank you for your kind words. I'm glad you find this script useful.
I will exclude subfolders as well in the next version. I'm glad bitrate is finally sorted!!
I will exclude subfolders as well in the next version. I'm glad bitrate is finally sorted!!

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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
Today I found your script and thought, that I can use it to find "incorrect" filenames. But then I got an errormessage on the first run.
As I'm not an Script-Newbie, I found out, that there was a problem with URL's (radio-streams) in my library. As a workaround I used the following changes to your code to exclude paths starting with "http:\\"
Maybe there is a better way to do this within other parts of the script.
Now the script runs fine and I got a complete resultnode.
But as I examine the result, I noticed, that there are a lot of songs, which I don't want to get listed there. The reason is, that these songs are on external medias (DVD, CD, etc.). So as I can't change them, I don't want to see them.
Or they are on devices (MP3-Player), where I need "special" naming.
Currently you support file- and/or folder-exclusions. So I extended the according function:
BTW External media can now be excluded via your dat-file using ?: for the start of the path.
Again. Maybe there are better ways for you to achive this. But with these additions the script works nearly perfect for me.
On last suggestion is to add an option to ignore cases. As I think that this would be done easily, I will try to implement this.
I hope, that it is ok for you, that I modify the scripts according to my needs and of course my possibilities.
Thanks for coding this and so many other useful scripts.

Code: Select all
Dim exclude : exclude = "SongPath NOT LIKE 'http://%'"
Dim sqlexclude : sqlexclude = ""
...
If exclude <> "" Then
sqlexclude = " WHERE " & exclude
End If
Dim iter : Set iter = SDB.Database.OpenSQL("SELECT Count(1) AS SongCount FROM Songs" & sqlexclude)
...
If exclude <> "" Then
sqlexclude = "AND " & exclude
End If
Set iter = SDB.Database.QuerySongs(sqlexclude)
Now the script runs fine and I got a complete resultnode.

But as I examine the result, I noticed, that there are a lot of songs, which I don't want to get listed there. The reason is, that these songs are on external medias (DVD, CD, etc.). So as I can't change them, I don't want to see them.


Code: Select all
Function NotInList(key,lst)
Dim h : h = 0
NotInList = False
For h = LBound(lst) To UBound(lst)
If Right(lst(h),1) = "\" Then
If Left(key,InStrRev(key,"\")) = lst(h) Then
Exit Function
End If
Else
If Right(lst(h),1) = ":" Then
If Left(key,InStrRev(key,":")) = lst(h) Then
Exit Function
End If
Else
If key = lst(h) Then
Exit Function
End If
End If
End If
Next
NotInList = True
End Function
Again. Maybe there are better ways for you to achive this. But with these additions the script works nearly perfect for me.
On last suggestion is to add an option to ignore cases. As I think that this would be done easily, I will try to implement this.
I hope, that it is ok for you, that I modify the scripts according to my needs and of course my possibilities.
Thanks for coding this and so many other useful scripts.
Of course it is ok for you to modify this script for your own needs. I'll include the fix for streams in the next version.
In the next version subfolders will be excluded as well so you'll be able to put "?:\" in the .dat file to exclude all tracks on a certain drive.
In the next version subfolders will be excluded as well so you'll be able to put "?:\" in the .dat file to exclude all tracks on a certain drive.
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.
All the code for my website and scripts is safely backed up immediately and for free using Dropbox.
-
- Posts: 1321
- Joined: Thu Jun 15, 2006 3:26 pm
- Location: Geelong, Victoria, Australia