Hi everyone!! I am new to these forums but love dopus. It IS the best file manager of all time.
But I have run into a problem trying to customise it for my needs.
I will try to be as simple and as concise as I possibly can and if you don't understand please ask me to re-phrase.
I hope someone on this forum can help as I believe this would be beneficial to a lot of dopus users.
I need a rename script that capitalises each word, removes junk from the file names, formats the name too and I intend it to be used mainly on downloaded media files like movies and music and would be generally used to clean and capitalise most files.
I have found 2 scripts in the forum that if combined may be perfect but unfortunately I don't know nothing about scripting. But somehow I can follow lines of code - even if I don't understand most of it.
These scripts are TitleCasePlus - cleanup & smartly capitalise [url]TitleCasePlus - cleanup & smartly capitalise]
and ranMa's script for cleaning dance mp3 filenames [url]TitleCasePlus - cleanup & smartly capitalise].
If these options from ranMa's script :
[ul]'dashedWords' array
'numberedArtists' array,
'nonCapitalizedWords' array
Replace "featuring"
Replace "presents"
Replace "versus"[/ul]
are added to the title case script the resulting script would be much more powerful.
Also I would like to have it keep movie info like source/year/CD#/edition (all should be in brackets), and in the following order, for example:
[MOVIE NAME] [MOVIE SOURCE] [YEAR] [EDITION] [RESOLUTION] (CD#) [EXT]
CAM 2006 UNRATED 720P CD1 .AVI
DVDRip 2009 EXTENDED 1080P CD2 .WMV
R5 2010 UNCUT 480I CD3 .MOV
and remove the rest of the junk in filenames.
'James.Bond.The.Living.Daylights.(1987).DVDRip.XviD.SWESUB.MovieCom.se.widescreen.720p.CD01.avi'
should become
'James Bond - The Living Daylights [DVDRip] [1987] [WIDESCREEN] [720P] (CD1) .avi'
Maby this can be achieved by using something like ranMa's arrays in his mp3 rename script to omit words certain words from being deleted.
Would this be possible or do I have something to learn about the limitations of scripts?