"HDR" Added to Every Movie Title
Posted: 05 Feb 2022, 12:44
For some reason, that I can't seem to figure out, the text HDR gets added to every movie. I want to tag HDR movies with HDR, but even SDR movies get HDR added to the filenames.
Here is the script I am using
Here is the chunk from the log
Here is the screenshot of the filebot bindings where hdr is blank and therefore, the if hdr portion should be false and use the false part of the code.
https://drive.google.com/file/d/1F3UCr6 ... sp=sharing
Thanks for any help!!
Here is the script I am using
Code: Select all
movieFormat=p:/movies/{n.sortName('$2, $1')} ({y})/{n}.{hdr = 'HDR' ? allOf{vf}{channels}{vc}{aco}{bitdepth+'bit'}{'HDR'}.join('.') : allOf{vf}{channels}{vc}{aco}.join('.')}
Code: Select all
Run script [fn:amc] at [Fri Feb 04 04:16:09 EST 2022]
Parameter: clean = y
Parameter: deleteafterextract = y
Parameter: emby = *****
Parameter: movieFormat = p:/movies/{n.sortName('$2, $1')} ({y})/{n}.{hdr = 'HDR' ? allOf{vf}{channels}{vc}{aco}{bitdepth+'bit'}{'HDR'}.join('.') : allOf{vf}{channels}{vc}{aco}.join('.')}
Parameter: seriesFormat = p:/TV Shows/{n.sortName('$2, $1')}/{'Season '+s}/{n} - {s00e00} - {t.replaceAll(/[!?:.]+$/).replaceAll(/[`´‘’ʻ]/, "'")}.{hdr = 'HDR' ? allOf{vf}{af}{vc}{aco}{VIDEO[0].HDR_format_commercial}.join('.') : allOf{vf}{af}{vc}{aco}.join('.')}
Invalid usage: input folder [P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP] must not be inside output folder [P:\] and vice versa
Input: P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP.mkv
Group: {Movie=American Underdog (2021)} => [American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP.mkv]
Rename movies using [TheMovieDB]
Auto-detect movie from context [P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP.mkv]
[MOVE] from [P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP.mkv] to [p:\movies\American Underdog (2021)\American Underdog.2160p.5.1.HEVC.Dolby Digital Plus with Dolby Atmos.10bit.HDR.mkv]
Processed 1 file
Notify Emby [embyserver]
POST: https://embyserver:8920/Library/Refresh?api_key=05ef5cd09bf54b2ea00e8756be8389a2
Connect timed out
Clean clutter files and empty folders
Delete P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP\RARBG.txt
Delete P:\TBOT\American.Underdog.2021.2160p.WEB-DL.x265.10bit.SDR.DDP5.1.Atmos-NOGRP
https://drive.google.com/file/d/1F3UCr6 ... sp=sharing
Thanks for any help!!