Thank you for your reply, though the information isn't really helping.
1. I know I'm not the first to point this out, but calling filebot as just filebot does not work in OS X.
peanutismint wrote:p.s.
rednoah wrote:I don't know when
/Applications/Filebot.app/Contents/filebot.sh got a thing, but that's a pretty stupid way to call a cmdline tool. It's just
filebot in all the examples because it literally is just
filebot. You call filebot by calling
filebot. Like exactly any single one of my examples, and it works the same on all platforms. That's how cmdline tools work.

It 'got [to be] a thing' because 'just Filebot' doesn't work under OS X

Although you'll probably say it DOES work, we're just not doing it right because we're all obviously dumb....!!

Calling it as you suggest results in this:
Code: Select all
Heathers-MacBook-Pro-2:~ hpadaetz$ filebot -script fn:sysinfo
-bash: filebot: command not found
Heathers-MacBook-Pro-2:~ hpadaetz$
2. Please link the manual that you are referencing, as I can't find any information that states that the script does not process audio. The amc manual here:
viewtopic.php?f=4&t=215#p1561 doesn't note this and actually lists music as an existing function in #4 of the description. I can't find anything in this manual
http://www.filebot.net/forums/viewtopic.php?f=3&t=7 either. Also, this doesn't explain the difficulties in the other example provided that used a video file.
EDIT: I found the option for music under options in the manual. It might be a good idea to note this separately or earlier on, as I'm sure it's a popular option and kind of buried there with everything else. The way it's written now, the guide makes it seem like it does music without telling it specifically to and that the options are just for processing and naming preferences.
3. Thank you for pointing out the issues withe quotes, something happened to the font between various cutting and pastings. After rewriting the script from scratch (and without copy/pasting to avoid font changes) with this change, transmission now isn't calling the script at all
Overnight, after an automatic download of a file, the original script was activated with a slightly different outcome than before, though still not working.
Code: Select all
Parameter: artwork = y
Parameter: cleaner = y
Parameter: ut_dir = /Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]
Parameter: ut_kind = multi
Parameter: ut_title = Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]
Input: /Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV.mkv
Exclude: /Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/BookmarkAndRead.txt
Exclude: /Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/Sample/sample-saturday.night.live.s40e10.amy.adams-one.direction.720p.hdtv.x264-batv_s.jpg
Exclude: /Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/saturday.night.live.s40e10.amy.adams-one.direction.720p.hdtv.x264-batv.nfo
Group: [tvs:saturday night live] => [Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Saturday Night Live]
Fetching episode data for [Saturday Night Live]
Fetching episode data for [Saturday Night Live (JP)]
Fetching episode data for [Saturday Night Live (Korea)]
[COPY] Rename [/Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV.mkv] to [/“/Volumes/Data-1”/TV Shows/Saturday Night Live/Season 40/Saturday Night Live - S40E10 - Amy Adams One Direction.mkv]
[COPY] Failed to rename [/Users/hpadaetz/Downloads/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV[brassetv]/Saturday.Night.Live.S40E10.Amy.Adams-One.Direction.720p.HDTV.x264-BATV.mkv]
IOException: Failed to create folder: /“/Volumes/Data-1”/TV Shows/Saturday Night Live/Season 40
Finished without processing any files
Failure (°_°)
I see that it failed at creating the new folder. Is that because of the issue with the italicized quote, or does that part of the code need to be changed from "/Volumes... to just Volumes... since it seems the script is adding in a / before it anyway. /Volumes/Data-1 is an Apple Time Capsule that is always connected and is also used as the network router. As it is 2TB, barely half full, and the internet was working, it wasn't the disk that failed.
EDIT:
Transmission wasn't calling the new script because I forgot to capitalize the B in FileBot when calling the command when I rewrote the script
I fixed that and now it calls the new script:
Code: Select all
#!/bin/bash
/Applications/FileBot.app/Contents/MacOS/filebot.sh -script fn:amc \
--output "/Volumes/Data-1" \
--log-file "/Users/hpadaetz/Documents/Scripts/amc.log" \
--action move \
--conflict override -non-strict \
--def artwork=y music=y cleaner=y "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
But it still wouldn't work. I altered the output to a directory on my hard drive instead of an external one, and that worked, so the issue isn't with the script itself, but with FileBot creating the new folder on the external drive. I tried creating an alias for the external drive in my user folder and sending the file to that instead, but that results in the same error.
Code: Select all
Parameter: artwork = y
Parameter: cleaner = y
Parameter: ut_dir = /Users/hpadaetz/Downloads/Family.Guy.S13E01.HDTV.x264-2HD.mp4
Parameter: ut_kind = multi
Parameter: ut_title = Family.Guy.S13E01.HDTV.x264-2HD.mp4
Input: /Users/hpadaetz/Downloads/Family.Guy.S13E01.HDTV.x264-2HD.mp4
Group: [tvs:family guy] => [Family.Guy.S13E01.HDTV.x264-2HD.mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [Family Guy]
Fetching episode data for [Family Guy]
Fetching episode data for [Family Guns]
[MOVE] Rename [/Users/hpadaetz/Downloads/Family.Guy.S13E01.HDTV.x264-2HD.mp4] to [/Users/hpadaetz/Data/TV Shows/Family Guy/Season 13/Family Guy - S13E01 - The Simpsons Guy.mp4]
[MOVE] Failed to rename [/Users/hpadaetz/Downloads/Family.Guy.S13E01.HDTV.x264-2HD.mp4]
IOException: Failed to create folder: /Users/hpadaetz/Data/TV Shows/Family Guy/Season 13
Finished without processing any files
Failure (°_°)
.
I need the files to be moved to my external drive, because that's where all the files for my media server are, and to avoid taking up too much space on my hard drive. How do I fix this issue? I tried creating a workflow in automator to move files from my hard drive after the script puts them there, but I can't seem to figure out how to have it watch the folder and move them as they are added. Is there another program or script for this? Or a way to make FileBot write to the external drive?
[/color]
Thanks again for your help.