Using AMC Script and "Orphaned Subtitles"
Posted: 30 Apr 2017, 18:32
I sometimes have files that come in with subtitles in a "subs" or "subtitles" folder that are simply named by the language, and exclude the filename (eg: English.srt). I've noticed that the AMC script will ignore those, stating things along the line of:
Since this tells me it is finding and comprehending the .srt file, and ignoring it, is there a way to turn this off? It handles everything else amazingly well, and any .srt in the same directory or named the same as the video file does great! If I can make it do this as well I'll be set for life. Well worth the money.
Essentially, if it finds a file named "English.srt" I'd like for it to follow the typical naming convention I have it set up for already and add the ".en.srt" onto the end. Even if that can be achieved some other way, that'd work for me.
My code running from uTorrent is:
and the contents of amc_args.txt:
I'm not that great at command-line items, and I've only recently started using FileBot, but any help would be greatly appreciated.
Code: Select all
Ignore orphaned subtitles: K:\Downloads\[filename]\Subs\English.srt
Essentially, if it finds a file named "English.srt" I'd like for it to follow the typical naming convention I have it set up for already and add the ".en.srt" onto the end. Even if that can be achieved some other way, that'd work for me.
My code running from uTorrent is:
Code: Select all
"C:/Program Files/FileBot/filebot.launcher.exe" -script fn:amc --action move -non-strict -no-xattr --log-file "j:/amc.log" --filter "any{episode; age < 92}{true}" --def "@j:/amc_args.txt" "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Code: Select all
skipExtract=n
deleteAfterExtract=y
unsorted=n
music=n
subtitles=en
artwork=n
extras=n
clean=y
seriesFormat=J:/{plex}
movieFormat=I:/{plex}
plex=127.0.0.1:[token]