Ok... It all seems to be working now. Both that last code AND the script you had me create before. NOTE: The reason for the delay in getting back to you and maybe one reason it now works....I had to do a full re-install of Windows 10 a couple weeks ago. Many things working again that had NOT been working before..
I still get an error however it creates the xml file just fine. Here is what it does (the script AND the line in that folder via powershell):
Code: Select all
PS D:\AppBackups\MyFileBotPrefs> filebot -script fn:preferences --output D:\AppBackups\MyFileBotPrefs
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedConstructor$1 (file:/C:/Program%20Files/WindowsApps/PointPlanck.FileBot_4.8.1.0_x64__49ex9gnthnt12/lib/groovy-all.jar) to constructor java.util.prefs.Preferences()
WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedConstructor$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Export User Preference Node: / to D:\AppBackups\MyFileBotPrefs\gdswa.prefs.xml
Print User Preference Node: /
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE preferences SYSTEM "http://java.sun.com/dtd/preferences.dtd">
<preferences EXTERNAL_XML_VERSION="1.0">
<root type="user">
<map/>
<node name="net">
<map/>
<node name="filebot">
<map>
<entry key="getting.started" value="1"/>
<entry key="dialog.open.folder" value="M:\Movies HD\Abraham Lincoln - Vampire Hunter (2012) 3D\Abraham Lincoln - Vampire Hunter [2012, R, 94 Min] [Benjamin Walker, Dominic Cooper, Anthony Mackie] [Action, Fantasy, Horror] [3D, 1080p, AAC@2ch].mp4"/>
</map>
<node name="ui">
<map>
<entry key="window.x" value="825"/>
<entry key="window.y" value="30"/>
<entry key="window.width" value="2193"/>
<entry key="window.height" value="650"/>
</map>
<node name="rename">
<map>
<entry key="rename.format.episode" value="Z:/TV Series/{n.upperInitial().colon(' -').replace('?', '!') }/{ any{"Season $s $sy"}{'Specials'} }/{n.upperInitial().colon(' -').replace('?', '!') } - {s00e00} - [{airdate}] - {t.colon(" - ").replace('?', '!') }"/>
<entry key="rename.last.format.state" value="Episode"/>
<entry key="format.sample.movie" value="{"@type":"Movie","year":2012,"imdbId":1611224,"tmdbId":72331,"language":"en","id":72331,"name":"Abraham Lincoln: Vampire Hunter","aliasNames":[]}"/>
<entry key="format.sample.file" value="M:\Movies HD\Abraham Lincoln - Vampire Hunter (2012) 3D\Abraham Lincoln - Vampire Hunter [2012, R, 94 Min] [Benjamin Walker, Dominic Cooper, Anthony Mackie] [Action, Fantasy, Horror] [3D, 1080p, AAC@2ch].mp4"/>
<entry key="rename.format.movie" value="{vf == /2160p/ ? 'L:/Movies 4K' : vf =~ /1080p|720p/ ? 'M:/Movies HD' : 'M:/Movies'}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} [{y}, {any{csv('M:/replacecert1.csv').get(certification)}{certification}{"NR"} }, {runtime} Min] {[actors.take(3).join(', ')]} {[genres.take(3).join(', ')]} [{fn.match(/3D/)+', '}{"$vf, $ac@$af"}]"/>
<entry key="rename.match.mode" value="Opportunistic"/>
<entry key="rename.language" value="en"/>
<entry key="rename.episode.order" value="Airdate"/>
<entry key="dialog.select.repeat" value="false"/>
<entry key="dialog.select.width" value="942"/>
<entry key="dialog.select.height" value="741"/>
</map>
<node name="format.recent.episode">
<map>
<entry key="0" value="Z:/TV Series/{n.upperInitial().colon(' -').replace('?', '!') }/{ any{"Season $s $sy"}{'Specials'} }/{n.upperInitial().colon(' -').replace('?', '!') } - {s00e00} - [{airdate}] - {t.colon(" - ").replace('?', '!') }"/>
<entry key="1" value="M:/TV Series/{n.upperInitial().colon(' -').replace('?', '!') }/{ any{"Season $s $sy"}{'Specials'} }/{n.upperInitial().colon(' -').replace('?', '!') } - {s00e00} - [{airdate}] - {t.colon(" - ").replace('?', '!') }"/>
</map>
</node>
<node name="format.recent.movie">
<map>
<entry key="0" value="{vf == /2160p/ ? 'L:/Movies 4K' : vf =~ /1080p|720p/ ? 'M:/Movies HD' : 'M:/Movies'}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} [{y}, {any{csv('M:/replacecert1.csv').get(certification)}{certification}{"NR"} }, {runtime} Min] {[actors.take(3).join(', ')]} {[genres.take(3).join(', ')]} [{fn.match(/3D/)+', '}{"$vf, $ac@$af"}]"/>
<entry key="1" value="M:/{vf == /2160p/ ? 'Movies 4K' : vf =~ /1080p|720p/ ? 'Movies HD' : 'Movies'}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' - ').replace('?', '!')} {' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition|redux/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'} {any{' Part '+pi}{null}} [{y}, {any{csv('M:/replacecert1.csv').get(certification)}{certification}{"NR"} }, {runtime} Min] {[actors.take(3).join(', ')]} {[genres.take(3).join(', ')]} [{fn.match(/3D/)+', '}{"$vf, $ac@$af"}]"/>
<entry key="2" value="M:/Movies/{n.upperInitial().colon(' -').replace('?', '!')} ({y}) {fn.match(/3D/)}/{n.upperInitial().colon(' -').replace('?', '!')}{' Part '+pi} [{y}, {certification}, {runtime} Min] [{actors.take(3).join(', ')}] [{genres.take(3).join(', ')}] [{fn.match(/3D/)+', '}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'}{"$vf, $ac@$af]"}"/>
<entry key="3" value="M:/Movies/{n.upperInitial().colon(' -').replace('?', '!')} ({y})/{n.upperInitial().colon(' -').replace('?', '!')} ({y}){' Part '+pi} [{certification}, {runtime} Min] [{actors.take(3).join(', ')}] [{genres.take(3).join(', ')}] [{fn.match(/3D/)+', '}{' (' + fn.matchAll(/extended|uncensored|remastered|unrated|uncut|directors.cut|special.edition/)*.upperInitial()*.lowerTrail().sort().join(', ').replaceAll(/[._]/, " ") + ')'}{" Part $pi"}{"$vf, $ac@$af]"}"/>
</map>
</node>
<node name="format.recent.music">
<map/>
</node>
<node name="presets">
<map/>
</node>
</node>
</node>
</node>
</node>
</root>
</preferences>
Done ?(?????)?