Search found 42 matches

by mikejandreau
20 Apr 2022, 19:05
Forum: Scripting and Automation
Topic: AMC working from Transmission, not from Hazel
Replies: 6
Views: 1810

Re: AMC working from Transmission, not from Hazel

That did the trick. Thanks for all the help!
by mikejandreau
20 Apr 2022, 18:04
Forum: Scripting and Automation
Topic: AMC working from Transmission, not from Hazel
Replies: 6
Views: 1810

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.
by mikejandreau
20 Apr 2022, 17:54
Forum: Scripting and Automation
Topic: AMC working from Transmission, not from Hazel
Replies: 6
Views: 1810

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 ...
by mikejandreau
20 Apr 2022, 16:44
Forum: Scripting and Automation
Topic: AMC working from Transmission, not from Hazel
Replies: 6
Views: 1810

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:...
by mikejandreau
13 Apr 2022, 17:26
Forum: Scripting and Automation
Topic: Moving from Transmission to QBittorrent - trouble with AMC
Replies: 5
Views: 1696

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 --d...
by mikejandreau
13 Apr 2022, 15:19
Forum: Scripting and Automation
Topic: Moving from Transmission to QBittorrent - trouble with AMC
Replies: 5
Views: 1696

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...
by mikejandreau
13 Apr 2022, 13:28
Forum: Scripting and Automation
Topic: Moving from Transmission to QBittorrent - trouble with AMC
Replies: 5
Views: 1696

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...
by mikejandreau
23 Nov 2020, 17:29
Forum: Scripting and Automation
Topic: AMC failing, but only sometimes
Replies: 1
Views: 4810

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&quo...
by mikejandreau
28 Mar 2020, 14:36
Forum: Help and Support
Topic: "NullPointerException" grabbing artwork
Replies: 1
Views: 1109

"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 (202...
by mikejandreau
28 Mar 2020, 13:33
Forum: Episode / Movie Naming Scheme
Topic: {plex} with additional information
Replies: 7
Views: 5924

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.
by mikejandreau
28 Mar 2020, 12:06
Forum: Episode / Movie Naming Scheme
Topic: {plex} with additional information
Replies: 7
Views: 5924

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 a...
by mikejandreau
05 Dec 2019, 13:44
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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!
by mikejandreau
05 Dec 2019, 13:11
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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!)
by mikejandreau
05 Dec 2019, 12:35
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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.
by mikejandreau
05 Dec 2019, 12:32
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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 "mo...
by mikejandreau
04 Dec 2019, 23:49
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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 =~ /...
by mikejandreau
04 Dec 2019, 19:15
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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 file...
by mikejandreau
04 Dec 2019, 15:08
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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"...
by mikejandreau
04 Dec 2019, 14:50
Forum: Scripting and Automation
Topic: AMC change I'm looking to make
Replies: 11
Views: 4759

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=&q...
by mikejandreau
06 Aug 2019, 19:56
Forum: Scripting and Automation
Topic: Artwork stopped downloading
Replies: 8
Views: 3619

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.
by mikejandreau
06 Aug 2019, 11:37
Forum: Scripting and Automation
Topic: Artwork stopped downloading
Replies: 8
Views: 3619

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...
by mikejandreau
16 Jan 2019, 11:31
Forum: macOS
Topic: Script error run from Hazel, but works from Terminal
Replies: 3
Views: 5146

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 ...
by mikejandreau
15 Jan 2019, 20:57
Forum: macOS
Topic: Script error run from Hazel, but works from Terminal
Replies: 3
Views: 5146

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

Code: Select all

/Users/Alfred
, which is my user profile and seems correct to me.
by mikejandreau
15 Jan 2019, 20:11
Forum: macOS
Topic: Script error run from Hazel, but works from Terminal
Replies: 3
Views: 5146

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.t...
by mikejandreau
11 Jan 2019, 13:07
Forum: Scripting and Automation
Topic: Automation broke after brew update
Replies: 4
Views: 2438

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.