Code: Select all
Star.Trek.2009.720p.BrRip.x264.mp4
Star.Trek.2009.720p.BrRip.x264.srt
Code: Select all
--def exec="/config/postprocess.sh -d {quote folder} -f {quote f} -t {quote type}"
Thanks,
Harry
Code: Select all
Star.Trek.2009.720p.BrRip.x264.mp4
Star.Trek.2009.720p.BrRip.x264.srt
Code: Select all
--def exec="/config/postprocess.sh -d {quote folder} -f {quote f} -t {quote type}"
No, {type} is not the file type, but the match type, which is either Movie, or Episode, or MoviePart, or MultiEpisode, etc. You probably mean to pass along {ext} so that your script can do different things for video files or subtitle files, though you can already do that based on {f}.HarryMuscle wrote: ↑13 Apr 2022, 18:09 Shouldn't the type be "Subtitle" for the srt file? Or are all movie related files flagged as "Movie" type?
Thanks for the info.rednoah wrote: ↑13 Apr 2022, 18:27No, {type} is not the file type, but the match type, which is either Movie, or Episode, or MoviePart, or MultiEpisode, etc. You probably mean to pass along {ext} so that your script can do different things for video files or subtitle files, though you can already do that based on {f}.HarryMuscle wrote: ↑13 Apr 2022, 18:09 Shouldn't the type be "Subtitle" for the srt file? Or are all movie related files flagged as "Movie" type?
Code: Select all
--def exec="echo 1"
Code: Select all
--def exec="echo {quote folder}"
Code: Select all
--def exec="echo {quote f}"
Code: Select all
--def exec="echo {quote id}"
Code: Select all
--def exec="echo {quote object}"