Search found 42 matches
- 20 Apr 2022, 19:05
- Forum: Scripting and Automation
- Topic: AMC working from Transmission, not from Hazel
- Replies: 6
- Views: 3063
Re: AMC working from Transmission, not from Hazel
That did the trick. Thanks for all the help!
- 20 Apr 2022, 18:04
- Forum: Scripting and Automation
- Topic: AMC working from Transmission, not from Hazel
- Replies: 6
- Views: 3063
Re: AMC working from Transmission, not from Hazel
Got it, thanks.
Will muck with it and see if I can get Hazel to recognize where the home directory is.
Will muck with it and see if I can get Hazel to recognize where the home directory is.
- 20 Apr 2022, 17:54
- Forum: Scripting and Automation
- Topic: AMC working from Transmission, not from Hazel
- Replies: 6
- Views: 3063
Re: AMC working from Transmission, not from Hazel
Is Filebot calling $HOME somewhere? I don't have that in my amc.sh file: #!/bin/sh -xu /opt/homebrew/bin/filebot -script fn:amc "$@" --output "/Volumes/Super Storage/Video/To Be Processed" --conflict skip -non-strict --log-file "/Users/mj/Desktop/amc.log" --action TEST --def excludeList=".excludes ...
- 20 Apr 2022, 16:44
- Forum: Scripting and Automation
- Topic: AMC working from Transmission, not from Hazel
- Replies: 6
- Views: 3063
AMC working from Transmission, not from Hazel
I'm trying to move from Transmission running Filebot on torrent completion to running it in Hazel when a finished torrent shows up in the directory. The Transmission post processing works great, but when trying to run the Hazel version, I get an error. The script output from Hazel is: 2022-04-20 12 ...
- 13 Apr 2022, 17:26
- Forum: Scripting and Automation
- Topic: Moving from Transmission to QBittorrent - trouble with AMC
- Replies: 5
- Views: 3116
Re: Moving from Transmission to QBittorrent - trouble with AMC
Finally got it to work. It looks like Homebrew installs Filebot to a different location on M1 Macs, so I needed /opt/homebrew/bin/filebot -script fn:amc --output "/Volumes/Iron Storage/Video/To Be Processed" --action copy --conflict skip -non-strict --log-file /Users/mj/Desktop/amc.log --def ...
- 13 Apr 2022, 15:19
- Forum: Scripting and Automation
- Topic: Moving from Transmission to QBittorrent - trouble with AMC
- Replies: 5
- Views: 3116
Re: Moving from Transmission to QBittorrent - trouble with AMC
Got it. I updated the Script to printenv > "/Volumes/Iron Storage/Video/To Be Processed/log.txt" When a test torrent completes, I get no log.txt file in that directory. So I'm guessing it's a permissions thing. QBittorrent hasn't asked for permission to that Volume, but I gave it full disk access in ...
- 13 Apr 2022, 13:28
- Forum: Scripting and Automation
- Topic: Moving from Transmission to QBittorrent - trouble with AMC
- Replies: 5
- Views: 3116
Moving from Transmission to QBittorrent - trouble with AMC
I've had Transmission working with AMC for years without issue, but I'm now moving to QBitorrent for better native M1 support. I've got the script setup as the instructions dictate ( filebot -script fn:amc --output "/Volumes/Iron Storage/Video/To Be Processed" --action duplicate --conflict skip -non ...
- 23 Nov 2020, 17:29
- Forum: Scripting and Automation
- Topic: AMC failing, but only sometimes
- Replies: 1
- Views: 5195
AMC failing, but only sometimes
I've been (happily) running the AMC post-processing script for years. 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): #!/bin/sh -xu # Input Parameters ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME" ARG ...
- 28 Mar 2020, 14:36
- Forum: Help and Support
- Topic: "NullPointerException" grabbing artwork
- Replies: 1
- Views: 1471
"NullPointerException" grabbing artwork
For one particular movie (Vivarium 2020), I'm getting this error when manually fetching artwork from the CLI. Command: filebot -script fn:artwork.tmdb ./ I'm running that from within the directory holding the video file. It outputs: Volumes/Super Storage/Video/Movies/Vivarium (2020) => Vivarium ...
- 28 Mar 2020, 13:33
- Forum: Episode / Movie Naming Scheme
- Topic: {plex} with additional information
- Replies: 7
- Views: 7082
Re: {plex} with additional information
Got it. I didn't realize I needed single tickets around the format.
I've always had quotes around it and now see the error in my ways.
I've always had quotes around it and now see the error in my ways.
- 28 Mar 2020, 12:06
- Forum: Episode / Movie Naming Scheme
- Topic: {plex} with additional information
- Replies: 7
- Views: 7082
Re: {plex} with additional information
I've started using Radarr and thus need the file's quality in the filename so this stupid program knows it's downloaded something already. I'm trying: {plex.derive{" [$vf, $vc, $ac]"}} But my .workflow (I'm using this as a service) gets an error: The action “Run Shell Script” encountered an error: “I ...
- 05 Dec 2019, 13:44
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
All good now, thanks for the help.
My 4k movies are going to the right place with the right formatting and artwork. My other movies and TV shows are going to the right place for Handbrake to process them to change their container and reduce filesize.
Thanks again for the help!
My 4k movies are going to the right place with the right formatting and artwork. My other movies and TV shows are going to the right place for Handbrake to process them to change their container and reduce filesize.
Thanks again for the help!
- 05 Dec 2019, 13:11
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
Thanks. I think I've got something that's working now.
Now to download my first 4k movie and see if this all works (or test from command line if it doesn't!)
Now to download my first 4k movie and see if this all works (or test from command line if it doesn't!)
- 05 Dec 2019, 12:35
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
Okay, if I switch to -script fn:amc, I get the right Plex structure.
But my 4k movie is moving into the regular Movies folder, so I think I need to rename that test file so Filebot knows it's 4k. Or maybe my if else isn't working right. I'll keep poking at it.
But my 4k movie is moving into the regular Movies folder, so I think I need to rename that test file so Filebot knows it's 4k. Or maybe my if else isn't working right. I'll keep poking at it.
- 05 Dec 2019, 12:32
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
Console shows success, it moved the file, just not to the right location: Alfred@Pennyworth Video % /usr/local/bin/filebot -rename Avengers\ Endgame\ \(2019\) --output "/Volumes/Super Storage/Video/To Be Processed" --action move --conflict skip -non-strict --log-file amc.log --def "movieFormat ...
- 04 Dec 2019, 23:49
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
I must be some kind of moron, because that's not working for me, either. I tried: /usr/local/bin/filebot -rename Avengers\ Endgame\ \(2019\) --output "/Volumes/Super Storage/Video/To Be Processed" --action move --conflict skip -non-strict --log-file amc.log --def "movieFormat={fn =~ /2160p|4K|4k|UHD ...
- 04 Dec 2019, 19:15
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
I'm not quite there. This script is working to sort the movies into either Movies or Movies 4k depending on their quality, but: It's not putting them into their own folders like my original script did, which I need to make Plex happy. I've been mucking with it today trying to get it to move the ...
- 04 Dec 2019, 15:08
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
Re: AMC change I'm looking to make
I think I've got it. I found a post on Reddit where someone was trying to do something similar, but without the Transmission tagging bit. I changed my postprocess.sh script to: #!/bin/sh -xu # Input Parameters ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME" ARG_NAME="$TR_TORRENT_NAME" ARG_LABEL="N/A ...
- 04 Dec 2019, 14:50
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 11
- Views: 6833
AMC change I'm looking to make
I'm running the AMC postprocess when a torrent finishes in Transmission and it's working perfectly, but I want to make a change. Here's my current working script: #!/bin/sh -xu # Input Parameters ARG_PATH="$TR_TORRENT_DIR/$TR_TORRENT_NAME" ARG_NAME="$TR_TORRENT_NAME" ARG_LABEL="N/A" # Configuration ...
- 06 Aug 2019, 19:56
- Forum: Scripting and Automation
- Topic: Artwork stopped downloading
- Replies: 8
- Views: 4884
Re: Artwork stopped downloading
Weird, it just started working on its own when I ran it again from the CLI.
Must have been something up at TVDb's end in the API.
Must have been something up at TVDb's end in the API.
- 06 Aug 2019, 11:37
- Forum: Scripting and Automation
- Topic: Artwork stopped downloading
- Replies: 8
- Views: 4884
Artwork stopped downloading
I've been running an amc script for years at this point and it's always worked flawlessly. Last night, I noticed a few new shows I'd downloaded didn't have artwork in Plex, so I set out to manually update them this morning. When I run the script to fetch artwork, Filebot just comes back as done, but ...
- 16 Jan 2019, 11:31
- Forum: macOS
- Topic: Script error run from Hazel, but works from Terminal
- Replies: 3
- Views: 5870
Re: Script error run from Hazel, but works from Terminal
Yeah, that’s the error. I’ve tried everything I can think of and can’t fix it. My $HOME is set properly in my bash profile. Should it be set somewhere else, for Hazel to see it? The only thing I didn’t try was changing /bin/bash in the Hazel script editor. I’ll try that when I get to my desk. Maybe i ...
- 15 Jan 2019, 20:57
- Forum: macOS
- Topic: Script error run from Hazel, but works from Terminal
- Replies: 3
- Views: 5870
Re: Script error run from Hazel, but works from Terminal
Another post has this same error, and it's suggested that $HOME may be set wrong.
My $HOME path is set to, which is my user profile and seems correct to me.
My $HOME path is set to
Code: Select all
/Users/Alfred
- 15 Jan 2019, 20:11
- Forum: macOS
- Topic: Script error run from Hazel, but works from Terminal
- Replies: 3
- Views: 5870
Script error run from Hazel, but works from Terminal
I've got most of my automation working perfectly, except one thing. Once AMC does its thing, Hazel sees a new .mp4 in a directory and moves it to its final home, where Plex sees it. Once there, Hazel should also see there's a new directory and run a simple bash script of filebot -script fn:artwork ...
- 11 Jan 2019, 13:07
- Forum: Scripting and Automation
- Topic: Automation broke after brew update
- Replies: 4
- Views: 3341
Re: Automation broke after brew update
Fixed it.
I must not have fully uninstalled Java11.
For anyone else having the issue on MacOS, go to /Library/Java/JavaVirtualMachines and delete Java11 from there, which should force you back down to Java10 and life will go back to normal.
I must not have fully uninstalled Java11.
For anyone else having the issue on MacOS, go to /Library/Java/JavaVirtualMachines and delete Java11 from there, which should force you back down to Java10 and life will go back to normal.