Strict mode causes fb to "Ignore orphaned subtitles"
Posted: 21 Jun 2022, 19:46
I have a post-download filebot shell script that missed some pretty simple file names (will give example below). It was set to -non-strict mode. In a recent post Red said to use strict mode if the file is being matched incorrectly. Tried that once and the mp4 file was matched correctly but the subtitles that have always been renamed and moved correctly before are now ignored and left behind. (the example for this is poor because there was only 1 file and no subtitles but you have to trust me here )
The file that prompted me to try strict mode
The results after changing to strict mode
The shell script
The file that prompted me to try strict mode
Code: Select all
[2022-06-21 11:06:27.687] Run script [fn:amc] at [Tue Jun 21 11:06:27 CDT 2022]
[2022-06-21 11:06:27.706] Parameter: minFileSize = 10000000
[2022-06-21 11:06:27.707] Parameter: minLengthMS = 300000
[2022-06-21 11:06:27.707] Parameter: ut_kind = multi
[2022-06-21 11:06:27.707] Parameter: ut_title = True.Things.2021.1080p.WEBRip.x265-RARBG
[2022-06-21 11:06:27.707] Parameter: ut_label = Movies
[2022-06-21 11:06:27.707] Parameter: ut_dir = /Volumes/SeedDrive/complete/True.Things.2021.1080p.WEBRip.x265-RARBG
[2022-06-21 11:06:27.707] Parameter: ut_rpath = /Volumes/SeedDrive/complete/True.Things.2021.1080p.WEBRip.x265-RARBG
[2022-06-21 11:06:27.707] Parameter: ut_spath = /Volumes/SeedDrive/complete
[2022-06-21 11:06:27.708] Parameter: ut_files = 3
[2022-06-21 11:06:27.708] Parameter: ut_bytes = 1699264819
[2022-06-21 11:06:27.708] Parameter: ut_track = udp://9.rarbg.to:2820
[2022-06-21 11:06:27.708] Parameter: ut_info = 92ef7f5fe1d345d09cfdcc4523820bcd828c8703
[2022-06-21 11:06:27.708] Parameter: ut_tags =
[2022-06-21 11:06:27.708] Parameter: excludeList = /Users/john/.filebot/amc_excludes.txt
[2022-06-21 11:06:27.709] Parameter: pushover = *****
[2022-06-21 11:06:27.709] Parameter: unsorted = y
[2022-06-21 11:06:27.709] Parameter: music = y
[2022-06-21 11:06:27.709] Parameter: skipExtract = y
[2022-06-21 11:06:27.709] Parameter: movieDB = TheMovieDB
[2022-06-21 11:06:27.710] Parameter: seriesDB = TheTVDB
[2022-06-21 11:06:27.710] Parameter: animeDB = AniDB
[2022-06-21 11:06:27.710] Parameter: musicDB = ID3
[2022-06-21 11:06:27.710] Parameter: seriesFormat = /Volumes/PlexMedia/PlexServer_1/{plex.derive{' {thetvdb-'}{id}{'}'}{' - ['+allOf{tags}{vf}{vs}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}
[2022-06-21 11:06:27.710] Parameter: movieFormat = /Volumes/PlexMedia/PlexServer_1/{plex.derive{' {imdb-'}{imdbid}{'}'}{' ['+allOf{tags}{audio.language}{if ('Documentary' in genres)'[doc]'}{info:video[0].displayAspectRatioString.colon('∶').replace('?', '')}{ws}{vf}{vs}{vc}{runtime}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}
[2022-06-21 11:06:28.398] Use excludes: /Users/john/.filebot/amc_excludes.txt (5654)
[2022-06-21 11:06:28.591] Input: /Volumes/SeedDrive/complete/True.Things.2021.1080p.WEBRip.x265-RARBG/True.Things.2021.1080p.WEBRip.x265-RARBG.mp4
[2022-06-21 11:06:28.597] Process as Movie [Movies]
[2022-06-21 11:06:28.598] Group: {Movie=true} => [True.Things.2021.1080p.WEBRip.x265-RARBG.mp4]
[2022-06-21 11:06:28.628] Rename movies using [TheMovieDB]
[2022-06-21 11:06:28.629] Auto-detect movie from context [/Volumes/SeedDrive/complete/True.Things.2021.1080p.WEBRip.x265-RARBG/True.Things.2021.1080p.WEBRip.x265-RARBG.mp4]
[2022-06-21 11:06:33.200] Apply filter [none{ id.toString() in csv('/Users/john/.filebot/tvdb_excludes.txt') }] on [27] options
[2022-06-21 11:06:33.225] Include [Terrible Things (2021)]
[2022-06-21 11:06:33.226] Include [The Little Things (2021)]
[2022-06-21 11:06:33.226] Include [Impossible Things (2021)]
[2022-06-21 11:06:33.227] Include [Unspeakable Things (2021)]
[2022-06-21 11:06:33.227] Include [Things Heard & Seen (2021)]
[2022-06-21 11:06:33.228] Include [Things Don't Stay Fixed (2021)]
[2022-06-21 11:06:33.228] Include [A Sign of Things (2021)]
[2022-06-21 11:06:33.228] Include [Tiny Beautiful Things (2021)]
[2022-06-21 11:06:33.229] Include [We Are Living Things (2021)]
[2022-06-21 11:06:33.229] Include [Move Fast & Vape Things (2021)]
[2022-06-21 11:06:33.229] Include [All Those Small Things (2021)]
[2022-06-21 11:06:33.229] Include [The Map of Tiny Perfect Things (2021)]
[2022-06-21 11:06:33.230] Include [The Science(ish) of... Stranger Things (2021)]
[2022-06-21 11:06:33.230] Include [True Things (2022)]
[2022-06-21 11:06:33.230] Include [Love Affair(s) (2020)]
[2022-06-21 11:06:33.231] Include [10 Things We Should Do Before We Break Up (2020)]
[2022-06-21 11:06:33.232] Include [The Swing of Things (2020)]
[2022-06-21 11:06:33.232] Include [The Good Things Devils Do (2020)]
[2022-06-21 11:06:33.232] Include [I'm Thinking of Ending Things (2020)]
[2022-06-21 11:06:33.233] Include [Wild Things (1998)]
[2022-06-21 11:06:33.233] Include [Things You Can Tell Just by Looking at Her (2000)]
[2022-06-21 11:06:33.233] Include [15 Things You Didn't Know About Bigfoot (2019)]
[2022-06-21 11:06:33.233] Include [These Foolish Things (2006)]
[2022-06-21 11:06:33.234] Include [All Good Things (2010)]
[2022-06-21 11:06:33.234] Include [People, Places, Things (2015)]
[2022-06-21 11:06:33.234] Include [The Thing (2011)]
[2022-06-21 11:06:33.235] Include [The Thing (1982)]
[2022-06-21 11:06:33.235] [27] options remaining
[2022-06-21 11:06:40.858] [COPY] from [/Volumes/SeedDrive/complete/True.Things.2021.1080p.WEBRip.x265-RARBG/True.Things.2021.1080p.WEBRip.x265-RARBG.mp4] to [/Volumes/PlexMedia/PlexServer_1/Movies/Terrible Things (2021)/Terrible Things (2021) {imdb-tt14124642} [[en] 4.3 1080p WEB-DL x265 10 07168B8E].mp4]
[2022-06-21 11:06:50.502] Processed 1 file
[2022-06-21 11:06:50.508] Sending Pushover notification
[2022-06-21 11:06:51.071] Done ヾ(@⌒ー⌒@)ノ
Code: Select all
[2022-06-21 14:26:34.247] Run script [fn:amc] at [Tue Jun 21 14:26:34 CDT 2022]
[2022-06-21 14:26:34.263] Parameter: minFileSize = 10000000
[2022-06-21 14:26:34.264] Parameter: minLengthMS = 300000
[2022-06-21 14:26:34.264] Parameter: ut_kind = multi
[2022-06-21 14:26:34.264] Parameter: ut_title = Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG
[2022-06-21 14:26:34.264] Parameter: ut_label = Movies_RSS
[2022-06-21 14:26:34.264] Parameter: ut_dir = /Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG
[2022-06-21 14:26:34.265] Parameter: ut_rpath = /Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG
[2022-06-21 14:26:34.265] Parameter: ut_spath = /Volumes/SeedDrive/complete
[2022-06-21 14:26:34.265] Parameter: ut_files = 5
[2022-06-21 14:26:34.265] Parameter: ut_bytes = 2328611259
[2022-06-21 14:26:34.265] Parameter: ut_track = udp://9.rarbg.me:2960
[2022-06-21 14:26:34.265] Parameter: ut_info = ffd2619191617cba6bd630af92dbffc77333bcac
[2022-06-21 14:26:34.265] Parameter: ut_tags =
[2022-06-21 14:26:34.266] Parameter: excludeList = /Users/john/.filebot/amc_excludes.txt
[2022-06-21 14:26:34.266] Parameter: pushover = *****
[2022-06-21 14:26:34.266] Parameter: unsorted = y
[2022-06-21 14:26:34.266] Parameter: music = y
[2022-06-21 14:26:34.266] Parameter: skipExtract = y
[2022-06-21 14:26:34.267] Parameter: movieDB = TheMovieDB
[2022-06-21 14:26:34.267] Parameter: seriesDB = TheTVDB
[2022-06-21 14:26:34.267] Parameter: animeDB = AniDB
[2022-06-21 14:26:34.267] Parameter: musicDB = ID3
[2022-06-21 14:26:34.267] Parameter: seriesFormat = /Volumes/PlexMedia/PlexServer_1/{plex.derive{' {thetvdb-'}{id}{'}'}{' - ['+allOf{tags}{vf}{vs}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}
[2022-06-21 14:26:34.267] Parameter: movieFormat = /Volumes/PlexMedia/PlexServer_1/{plex.derive{' {imdb-'}{imdbid}{'}'}{' ['+allOf{tags}{audio.language}{if ('Documentary' in genres)'[doc]'}{info:video[0].displayAspectRatioString.colon('∶').replace('?', '')}{ws}{vf}{vs}{vc}{runtime}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}
[2022-06-21 14:26:35.468] Use excludes: /Users/john/.filebot/amc_excludes.txt (5611)
[2022-06-21 14:26:35.642] Ignore orphaned subtitles: /Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG/Subs/6_English.srt
[2022-06-21 14:26:35.643] Ignore orphaned subtitles: /Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG/Subs/7_English.srt
[2022-06-21 14:26:35.645] Input: /Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG.mp4
[2022-06-21 14:26:35.651] Process as Movie [Movies_RSS]
[2022-06-21 14:26:35.652] Group: {Movie=true} => [Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG.mp4]
[2022-06-21 14:26:35.684] Rename movies using [TheMovieDB]
[2022-06-21 14:26:35.684] Auto-detect movie from context [/Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG.mp4]
[2022-06-21 14:26:38.275] Apply filter [none{ id.toString() in csv('/Users/john/.filebot/tvdb_excludes.txt') }] on [1] options
[2022-06-21 14:26:38.313] Include [Everything Everywhere All at Once (2022)]
[2022-06-21 14:26:38.313] [1] options remaining
[2022-06-21 14:26:49.383] [COPY] from [/Volumes/SeedDrive/complete/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG/Everything.Everywhere.All.at.Once.2022.1080p.BluRay.x265-RARBG.mp4] to [/Volumes/PlexMedia/PlexServer_1/Movies/Everything Everywhere All at Once (2022)/Everything Everywhere All at Once (2022) {imdb-tt6710474} [[en] 1.85.1 WS 1080p BluRay x265 140 9589E844].mp4]
[2022-06-21 14:27:03.569] Processed 1 file
[2022-06-21 14:27:03.575] Sending Pushover notification
[2022-06-21 14:27:04.487] Done ヾ(@⌒ー⌒@)ノ
Code: Select all
{
/usr/local/bin/filebot -script fn:amc --output "/Volumes/PlexMedia/PlexServer_1" \
--action copy \
--conflict index \
--log-file amc.log \
--def minFileSize=10000000 \
--def minLengthMS=300000 \
--def "ut_kind"="multi" \
--def "ut_title"="${1}" \
--def "ut_label"="${2}" \
--def "ut_dir"="${3}" \
--def "ut_rpath"="${4}" \
--def "ut_spath"="${5}" \
--def "ut_files"="${6}" \
--def "ut_bytes"="${7}" \
--def "ut_track"="${8}" \
--def "ut_info"="${9}" \
--def "ut_tags"="${10}" \
--def excludeList="/Users/john/.filebot/amc_excludes.txt" \
--def pushover=removed \
--def unsorted=y \
--def music=y \
--def skipExtract=y \
--def movieDB=TheMovieDB seriesDB=TheTVDB animeDB=AniDB musicDB=ID3 \
--def seriesFormat="/Volumes/PlexMedia/PlexServer_1/{plex.derive{' {thetvdb-'}{id}{'}'}{' - ['+allOf{tags}{vf}{vs}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}" \
--def movieFormat="/Volumes/PlexMedia/PlexServer_1/{plex.derive{' {imdb-'}{imdbid}{'}'}{' ['+allOf{tags}{audio.language}{if ('Documentary' in genres)'[doc]'}{info:video[0].displayAspectRatioString.colon('"∶"').replace('?', '')}{ws}{vf}{vs}{vc}{runtime}{crc32}.join(' ')}{']'}}{if (dc > 1) '.'+di}" \
"ut_title"="${1}" "ut_label"="${2}" "ut_dir"="${3}" \
--filter "none{ id.toString() in csv('/Users/john/.filebot/tvdb_excludes.txt') }" \
-exec /Users/john/.filebot/scripts/fb_remove_non-eng_subs.sh {folder}
} >> /Users/john/.filebot/scripts/qBT_e-program_out.txt 2>&1