Welcome Guest
[ Log In :: Register ]

 

[ Track this topic :: Email this topic :: Print this topic ]

Topic: Problem with " - " at the end of filename.< Next Oldest | Next Newest >
Pompie8
Board Newbie



Group: Members
Posts: 1
Joined: Dec. 2007
Posted: Dec. 31 2007,15:44

Hi everyone I have just seen the question posted by killabee44, I think this macro will take care of the problem of " - " at the end of the filenames, also spaces and capitalization.
(How do I upload a macro??)
Thank you Magnus, still couldn't attach a file though!
This is the macro (text) for [Mass Clean up Files]

Latest revision 10th Jan 08

PLEASE NOTE IF YOU COPY & PASTE THIS MACRO YOU WILL NEED TO PUT A SPACE AT THE END OF LINES 46 & 56 TO AVOID SYNTAX ERRORS. COUNT FIRST LINE AS :-    [MacroFileVersion=3506]

MacroFileVersion=3506
[DirectRename]
TemplateIn=<Artist> - <Title>.mp3
TemplateOut=<Artist> - <Title>.mp3
DoReplaceSpaces=FALSE
ReplaceSpacesWith=_
{Casefix}
CasefixMode=1
TrimEndSpaces=TRUE
CleanMultiSpaces=TRUE
ApplyToArtist=TRUE
ApplyToTitle=TRUE
ApplyToAlbum=FALSE
ApplyToComment=FALSE
ApplyToCustom1=FALSE
ApplyToCustom2=FALSE
ApplyToCustom3=FALSE
ApplyToCustom4=FALSE
DoSubStringReplace=TRUE
AlwaysToBeCapitalized1=i
AlwaysToBeCapitalized2=ii
AlwaysToBeCapitalized3=iii
RecognizedPrefixes1={
RecognizedPrefixes2=(
RecognizedPrefixes3=[
IgnoredWordSuffixes1=)
IgnoredWordSuffixes2=]
IgnoredWordSuffixes3=}
ExceptionSuffixes1='m
ExceptionSuffixes2='re
ExceptionSuffixes3='s
ExceptionSuffixes4='ve
ExceptionSuffixes5='ll
ExceptionSuffixes6='d
ExceptionSuffixes7='t
ExceptionSuffixes8=m
ExceptionSuffixes9=re
ExceptionSuffixes10=s
ExceptionSuffixes11=ve
SubStringReplacementsFrom1= - .MP3
SubStringReplacementsTo1=.mp3
SubStringReplacementsCaseSensitive1=TRUE
SubStringReplacementsApplyBeforeCF1=FALSE
SubStringReplacementsMatchWholeWordsOnly1=FALSE
SubStringReplacementsFrom2=-
SubStringReplacementsTo2= -
SubStringReplacementsCaseSensitive2=TRUE
SubStringReplacementsApplyBeforeCF2=TRUE
SubStringReplacementsMatchWholeWordsOnly2=FALSE
SubStringReplacementsFrom3=.MP3
SubStringReplacementsTo3=.mp3
SubStringReplacementsCaseSensitive3=TRUE
SubStringReplacementsApplyBeforeCF3=TRUE
SubStringReplacementsMatchWholeWordsOnly3=FALSE
SubStringReplacementsFrom4=_
SubStringReplacementsTo4=  -
SubStringReplacementsCaseSensitive4=TRUE
SubStringReplacementsApplyBeforeCF4=TRUE
SubStringReplacementsMatchWholeWordsOnly4=FALSE

[DirectRename]
TemplateIn=<Artist> - <Title> - <TRASH>.mp3
TemplateOut=<Artist> - <Title>.mp3
DoReplaceSpaces=FALSE
ReplaceSpacesWith=_

Hope this helps.

Edited by Pompie8 on Jan. 10 2008,21:23
Back to top
Profile PM 
Magnus Brading
Almighty Author



Group: Super Administrators
Posts: 2751
Joined: Aug. 2002
Posted: Jan. 01 2008,14:15

Hi Pompie8, you can either include the macro contents inline in the post (they are text base), or attach it as a file.

Thanks for contributing!

--------------
Software author and website owner
Back to top
Profile PM WEB 
nikkil
Board Buff



Group: Members
Posts: 57
Joined: Mar. 2012
Posted: Dec. 31 2012,16:46

Very nice. Tried this myself just to see it if it's working. t worked on the first try!
Back to top
Profile PM 
2 replies since Dec. 31 2007,15:44 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]