Case & Leading Zero Fixer 1.4.2 (2008-04-15)

Download and get help for different MediaMonkey for Windows 4 Addons.

版主: Peke, Gurus

andig
帖子: 100
注册时间: 周四 7月 29, 2004 2:15 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 andig »

The current version seems to have a little bug. I have a top 100 album with tracks with leading zeros. However, LZ Fixer only removes them for tracks 1-9 and ignores 10-99.

Any ideas?

Best regards,
Andreas
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

I'll make sure that I fix that in a future version of the script! :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
Maquis

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Maquis »

Excellent!
Diabolic-Destiny
帖子: 223
注册时间: 周日 4月 29, 2007 9:45 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Diabolic-Destiny »

Do you think you can add a little thing or tell me how to customize it myself.

I had one album that instead of spaces used underscores (_) and was hoping if possible you can have this app change those "_" to spaces.
图片
图片
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

Check out Steegy's Personal PersonalTagEnhancer Script:
http://www.mediamonkey.com/forum/viewto ... &sk=t&sd=a
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
auburnrose55
帖子: 25
注册时间: 周四 10月 11, 2007 2:04 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 auburnrose55 »

I've been using this script a lot, thanks for a great time-saver. However, I'm getting an error on one set of freshly ripped tracks. The error pop-up says "Error happened during script execution: Overflow 'Cint' ". No problem with other tracks downloaded or ripped recently, just this one album CD rip (Five for Fighting 'Slice'). Any suggestions?
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

Thanks!
I don't know why you get the error. Do you have the full error message?
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
auburnrose55
帖子: 25
注册时间: 周四 10月 11, 2007 2:04 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 auburnrose55 »

Thanks for the quck response. That is the full error message in the error pop-up: "Error happened during script execution: Overflow: 'Cint' "
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

The first time an error happens the error pop-up usually displays much more information, such as line number etc in the script. Subsequent times this info seems to be left out. So try to restart MM and grab that initial error pop-up message.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
RetroMan
帖子: 44
注册时间: 周一 5月 04, 2009 1:21 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 RetroMan »

I have tried to find the question to my answer though the postings in this topic, but coulnd't find it, so here it is: Does this script allow me to choose/configure how the casing is done? So, can I choose between "Stairway To Heaven" and "Stairway to heaven"?
上次由 RetroMan 在 周日 10月 25, 2009 5:09 am,总共编辑 1 次。
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

"Sentence case", will be added into the next version of the script. :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
RetroMan
帖子: 44
注册时间: 周一 5月 04, 2009 1:21 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 RetroMan »

Bex 写了:"Sentence case", will be added into the next version of the script. :)
Hmmm! I am thrilled about that! Would it also be added to the options that appear when you right-click on a track?

By the way, I hereby offer my help for setting up "logic rules" for casing and naming. I am into this for more than 3 years now, so I think I can add some experience. I also have developed a coding system to tell apart different versions of a song and standardizing artist and song tags. After finetuning this while tagging approx. 20k music files, I think I have a system that would work for a lot of people.
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

RetroMan 写了:Hmmm! I am thrilled about that! Would it also be added to the options that appear when you right-click on a track?
I'm planning to add a link to the option sheet in the confirmation screen so changes can be made more easily. (New feature for scripts as of MM 3.1)
RetroMan 写了:By the way, I hereby offer my help for setting up "logic rules" for casing and naming. I am into this for more than 3 years now, so I think I can add some experience. I also have developed a coding system to tell apart different versions of a song and standardizing artist and song tags. After finetuning this while tagging approx. 20k music files, I think I have a system that would work for a lot of people.
Go ahead! :)
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
auburnrose55
帖子: 25
注册时间: 周四 10月 11, 2007 2:04 pm

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 auburnrose55 »

I didn't realize the full error message appeared only once, thanks for the info. Here's the full error message in the pop-up:

Error #6 - Microsoft VBScript runtime error
Overflow: 'Cint'
File: "C:\Program Files\MediaMonkey\Scripts\Auto\CaseModify.vbs", Line:1279, Column: 6

Thanks again!
Bex
帖子: 6316
注册时间: 周五 5月 21, 2004 5:44 am

Re: Case & Leading Zero Fixer 1.4.2 (2008-04-15)

帖子 由 Bex »

Ok, that line is about removing Leading Zeros. I guess that you either have a very big number as a Track#/Disc# or that one of those fields contain a special "illegal" character, such as <Enter> or similar, which usually is seen as a square character.

You can try to close MM and then open up the script in a text editor (e.g. notepad) and find line 1279:

代码: 全选

If CInt(strng)>0 And CInt(strng)<10 Then RemoveLeadZero = CStr(CInt(strng)) Else RemoveLeadZero = CStr(strng)
And replace it with this line:

代码: 全选

If Clng(strng)>0 And Clng(strng)<10 Then RemoveLeadZero = CStr(Clng(strng)) Else RemoveLeadZero = CStr(strng)
Let me know if it works.
Advanced Duplicate Find & Fix Find More From Same - Custom Search. | Transfer PlayStat & Copy-Paste Tags/AlbumArt between any tracks.
Tagging Inconsistencies Do you think you have your tags in order? Think again...
Play History & Stats Node Like having your Last-FM account stored locally, but more advanced.
Case & Leading Zero Fixer Works on filenames too!

All My Scripts
回复