However, lately, some files are failing to rename and I can't figure out why.
Here's my script (I believe this is copied straight from the docs):
Code: Select all
#!/bin/sh -xu
# Input Parameters
ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME"
ARG_NAME="$TR_TORRENT_NAME"
ARG_LABEL="N/A"
# Configuration
CONFIG_OUTPUT="/Volumes/Super Storage/Video/To Be Processed"
/usr/local/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict --log-file ~/Desktop/amc.log --def clean=y unsorted=y music=y artwork=y excludeList=".excludes" ut_dir="$ARG_PATH" ut_kind="multi" ut_title="$ARG_NAME" ut_label="$ARG_LABEL"
Code: Select all
Parameter: ut_dir = /Volumes/Super Storage/Video/To Be Processed/TV Shows/a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv
Parameter: ut_title = a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv
Input: /Volumes/Super Storage/Video/To Be Processed/TV Shows/a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv
Group: {Series=a million little things} => [a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv]
Auto-detected query: [A Million Little Things]
Fetching episode data for [A Million Little Things]
[MOVE] from [/Volumes/Super Storage/Video/To Be Processed/TV Shows/a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv] to [/Volumes/Super Storage/Video/To Be Processed/TV Shows/A Million Little Things/Season 03/A Million Little Things - S03E01 - hit & run.mkv]
[MOVE] Failure: java.nio.file.NoSuchFileException: /Volumes/Super Storage/Video/To Be Processed/TV Shows/a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv
NoSuchFileException: /Volumes/Super Storage/Video/To Be Processed/TV Shows/a.million.little.things.s03e01.720p.hdtv.x264-syncopy[eztv.re].mkv
I'm also confused because Filebot is the one moving the file from where it was downloaded to where Hazel is processing it. So, in theory, Hazel shouldn't even see the file until Filebot's run on it.
Any thoughts on what I'm missing?