WIP Ember Media Manager 1.9.x - Download & Discussion Thread
(2020-11-20, 17:56)DanCooper Wrote:
(2020-11-20, 16:04)pstrg Wrote: Character/string substitution syntax for file renaming

If a TITLE string contains an illegal character, EMM automatically changes it when renaming the corresponding files - for instance, ":" is changed to " - ".
I would like to change the automatic behavior by means of a conversion table in which strings with illegal file/folder characters would be changed according to its entries.
I guess this may be done by editing Edit > Settings > Movies > Folder/File Name Filters but could not really understand its regex based syntax; in fact, tried to tinker with it but EMM freezes when I add anything to the list... each time have to end task and restart EMM.

What's the proper syntax of each entry in order to change <stringA> into <stringB>?

You can use $?<stringA>?<stringB>? to exchange characters manually. You have to set it to the end of the pattern (otherwise only the part before the flag will be handled), also you can use multiple flags (will be executed from left to right), e.g.:

$T$?:? +?

Movie title: Die Hard: With a Vengeance
Result: Die Hard + With a Vengeance


Movie title: Die Hard: With a Vengeance
Result: Die H999rd+ With 999 Venge999nce

EDIT: and it's not regex
Thank you.
In case I want to make a string substitution rule (like those in your examples) to work always (automatically), should I insert the script somewhere in order to get the wanted result?

p.s. Understood... not regex but looks like some regex dialect ;-)

Messages In This Thread
Miscellaneous > Media List Editor - by pstrg - 2020-06-09, 02:38
MovieSets - by pstrg - 2020-06-11, 22:01
RE: Ember Media Manager 1.5.x - Download & Discussion Thread - by pstrg - 2020-11-20, 18:53
Logout Mark Read Team Forum Stats Members Help
Ember Media Manager 1.9.x - Download & Discussion Thread2
This forum uses Lukasz Tkacz MyBB addons.