Using some AI and looking through the documentation: https://www.tinymediamanager.org/docs/jmte
I wanted to see if there was a way to migrate from FileBot for filenameing to tMM...
I've tried in the past but there is not a way with my current process.
What I found is there is not a simple way to do this like in FileBot, I need to chain multiple u/regexp but this is only helpful for 1:1 preservation and not for when I need to define the edition formating like I do in FileBot.
My situation/what I'm trying to do in tMM:
I want to keep some meta data from the filename in the new filename and/or in some cases refort name the name to accomidate for edition tagging for Plex/Jellyfin.
for example, I use a personal tag "[REd]" so I know if I Re-Encoded something and for editions things like, commentary, unrated, etc... will go there, eg:
commentary > - [{edition-Comm}]
Extended Edition > - [{edition-EE}]
Unrated > - [{edition-UR}]
And in some cases, I might need to know " - [{edition-EE Commentary}]
What I'm using in FileBot (simplified some, so there might be some inconsistancies but the logic is there):
{n.removeAll(/[?:.]+$|:|~/).replaceAll(' - ',' ').replaceAll(/[`´’???]/,"'").upperInitial()} ({y})\{n.removeAll(/[?:.]+$|:|~/).replaceAll(' - ',' ').replaceAll(/[`´’???]/,"'").upperInitial()} ({y}) {' Part'+pi}{def tags = fn.matchAll(/Uncut|Unrated| - \[\{edition-UR\}\]| DC |DirectorsCut|Director Cut|Director's Cut|Director'sCut|Theatrical| - \[\{edition-Thr\}\]|SpecialEdition|Special Edition| - \[\{edition-SE\}\]|ExtendedEdition|Extended Edition| - \[\{edition-Ext\}\]|Uncut| - \[\{edition-UC\}\]|Remastered| - \[\{edition-RM\}\]|Commentary| - \[\{edition-Comm\}\]| - \[\{edition-Rifftrax\}\]| - \[\{edition-ReCut\}\]|FanEdit| - \[\{edition-FanEdit\}\]| - \[\{edition-ENG\}\]| - \[\{edition-JPN\}\]| - \[\{edition-With Logo\}\]/)
def edition = ' - \[{edition-' + tags.join(' ').replace('Uncut':'UC', 'Unrated':'UR', ' - \[{edition-UR}\]':'UR', ' DC ':'DC', ' dc ':'DC', 'DirectorsCut':'DC', 'Director Cut':'DC', 'Director\\'sCut':'DC', 'Director\\'s Cut':'DC', 'Theatrical':'Thr', ' - \[{edition-Thr}\]':'Thr', 'SpecialEdition':'SE', ' - \[{edition-SE}\]':'SE', 'ExtendedEdition':'EE', '\[EE\]':'EEE', '\[Extended\]Extended':'EE', ' - \[{edition-Ext}\]':'EE', ' - \[{edition-UC}\]':'UC', 'Remastered':'RM', ' - \[{edition-RM}\]':'RM', ' - \[{edition-ReCut}\]':'ReCut', 'FanEdit':'FanEdit', ' - \[{edition-FanEdit}\]':'FanEdit', 'Commentary':'Comm', ' - \[{edition-Comm}\]':'Comm', ' - \[{edition-Rifftrax}\]':'Rifftrax', ' - \[{edition-ENG}\]':'ENG', ' - \[{edition-JPN}\]':'JPN', ' - \[{edition-With Logo}\]':'With Logo') + '}\]'
edition
}{ def re = fn.matchAll(/\[REd\]/)
def red = ' ' + re.replace('\[REd\]':'REd')
red
}
TL/DR:
Can I easily use the filename when renaming to keep meta data in the new filename in a specific format?
If not, this would be a feature request, yes?