Un Auto Organised 3.0 [MM2+3] - Updated 30/10/2009

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: Un Auto Organised 3.0 [MM2+3] - Updated 30/10/2009

Re: Un Auto Organised 3.0 [MM2+3]

by trixmoto » Fri Oct 30, 2009 6:46 am

New version (3.0) is now available to download from my website. Changes include...

- Fixed problems with Folder, Filename and Extension
- Fixed errors when brackets at beginning of mask
- Fixed $USE function not accepted as valid
- Fixed file mappings now includes folder delimiter
- Fixed blank track number not behaving correctly
- Fixed @ wasn't ignoring prefix strings

Re: Un Auto Organised 2.9 [MM2+3]

by trixmoto » Thu Aug 27, 2009 5:45 am

This script is currently second on my list to look at.

Re: Un Auto Organised 2.9 [MM2+3]

by Guest » Thu Aug 27, 2009 5:08 am

Hi trix,
dont want to push you, but i still have the same problem,
any update?
Guest wrote:windows error:
error #5 - Runtime error Microsoft VBS script
Invalid procedure or argument: 'Mid'
File: "C:\program files\mediamonkey\scripts\auto\unautoorganised.vbs", Line 764, Column: 2.

After that MMerror:
Error happened during script execution:
Invalid procedure or argument: 'Mid'

Also, what's weird: I can only find unautoorganised (in the menu, file - reports) when running MM as administrator...

tx a lot for your very quick answer.

Re: Un Auto Organised 2.9 [MM2+3]

by trixmoto » Fri May 29, 2009 4:40 am

Ok, I'll try and figure out the cause of the error. The script only appearing when running as administrator probably indicates that you've got two copies of "Scripts.ini", one in the MediaMonkey folder and one in your VirtualStore.

Re: Un Auto Organised 2.9 [MM2+3]

by Guest » Fri May 29, 2009 4:28 am

windows error:
error #5 - Runtime error Microsoft VBS script
Invalid procedure or argument: 'Mid'
File: "C:\program files\mediamonkey\scripts\auto\unautoorganised.vbs", Line 764, Column: 2.

After that MMerror:
Error happened during script execution:
Invalid procedure or argument: 'Mid'

Also, what's weird: I can only find unautoorganised (in the menu, file - reports) when running MM as administrator...

tx a lot for your very quick answer.

Re: Un Auto Organised 2.9 [MM2+3]

by trixmoto » Fri May 29, 2009 3:37 am

What error does it give?

Re: Un Auto Organised 2.9 [MM2+3]

by Guest » Thu May 28, 2009 9:09 am

Running 2,9 and i think i might have some problems with nesting too.

Sub CheckFunctions(i,j,str)
Dim s : s = UCase(str)
Select Case Mid(s,i-3,3)

Last line gives an error, anyone got an idea? line 764 column 2

Re: Un Auto Organised 2.9 [MM2+3]

by trixmoto » Mon Mar 09, 2009 8:33 am

I thought I'd fixed all the nesting issues in the latest version - are you definitely running 2.9?

Re: Un Auto Organised 2.9 [MM2+3]

by Mizery_Made » Mon Mar 02, 2009 2:23 pm

I was going to suggest it might be case sensitive and to try "$first", however I converted the two "$left" statements I use over to "$first", making one "$First" and the other "$first" and they both worked properly. I'm guessing your issue is coming from nesting it in the "$MovePrefix" function. Perhaps you could run a test, removing this function temporarily?

Re: Un Auto Organised 2.9 [MM2+3]

by JoJoBAH » Mon Mar 02, 2009 1:52 pm

Mizery_Made: Similar results:

Code: Select all

mask=M:\My Music\$MovePrefix($First(%R,1))\%L (%Y)\\(%2T) %A - %S
orig=M:\My Music\Bright Eyes\One Jug of Wine, Two Vessels [EP] (2004)\(04) Bright Eyes - I'll Be Your Friend.wma
path=M:\My Music\$First(Bright Eyes; Neva Dinova,1)\One Jug of Wine, Two Vessels [EP] (2004)\(04) Bright Eyes - I'll Be Your Friend.wma

Re: Un Auto Organised 2.9 [MM2+3]

by Mizery_Made » Mon Mar 02, 2009 12:36 pm

- $First(string,count,start from) - There was added parameter 'start from' (optional), which specifies to skip a number of items in multi-value string. E.g. $First(a;b;c,1,1) returns 'b'.
What happens if you use "$First(<Album Artist>,1)"?

Re: Un Auto Organised 2.9 [MM2+3]

by JoJoBAH » Mon Mar 02, 2009 11:27 am

This script seems to have a problem with $First statement.

Code: Select all

mask=M:\My Music\$MovePrefix($First(%R))\%L (%Y)\\(%2T) %A - %S
orig=M:\My Music\Bright Eyes\One Jug of Wine, Two Vessels [EP] (2004)\(04) Bright Eyes - I'll Be Your Friend.mp3
path=M:\My Music\$First(Bright Eyes; Neva Dinova)\One Jug of Wine, Two Vessels [EP] (2004)\(04) Bright Eyes - I'll Be Your Friend.mp3

Re: Un Auto Organised 2.9 [MM2+3]

by sonofjon » Thu Feb 26, 2009 12:18 pm

Thanks! That fixed it.

Re: Un Auto Organised 2.9 [MM2+3]

by trixmoto » Thu Feb 26, 2009 4:45 am

Ooops, that would be a typo! :oops: Open "UnAutoOrganised.vbs" in a text editor, find line 1043 and replace "GetPath" with "GetPart".

Re: Un Auto Organised 2.9 [MM2+3]

by sonofjon » Thu Feb 26, 2009 12:35 am

Hi, I'm just trying this out (looks like a very useful script!) but when I go File/Create Reports/UnAutoOrganized it runs through two thirds of my collection and then halts with the following error message:

Image

The logfile doesn't show anything related to the error. Not sure if I did something wrong. I read something about clicking an icon on the toolbar, but I didn't find one.

I've got a fairly complicated sort string including several nested $If statements:

Code: Select all

E:\Media\New\$If(<Grouping>,<Grouping>,Uncategorized)\$If(<Album Artist>,<Album Artist>,<Artist>)\$If(<Album>,$If(<Album Artist><>Various Artists,$If(<Year>,<Year> ~ ,),)<Album>,Other)\$If(<Grouping>=Podcasts,<Filename>,$If(<Track#>,<Track#:2> ~ ,)<Title>$If(<Album Artist>,$If(<Album Artist><>Various Artists,, (<Artist>$)),))

Top