Search found 35 matches
- 23 Nov 2020, 17:29
- Forum: Scripting and Automation
- Topic: AMC failing, but only sometimes
- Replies: 1
- Views: 1200
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_NAM...
- 28 Mar 2020, 14:36
- Forum: Help and Support
- Topic: "NullPointerException" grabbing artwork
- Replies: 1
- Views: 429
"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...
- 28 Mar 2020, 13:33
- Forum: Episode / Movie Naming Scheme
- Topic: {plex} with additional information
- Replies: 7
- Views: 3320
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: 3320
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: “...
- 05 Dec 2019, 13:44
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 10
- Views: 1544
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: 10
- Views: 1544
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: 10
- Views: 1544
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: 10
- Views: 1544
Re: AMC change I'm looking to make
Console shows success, it moved the file, just not to the right location: [email protected] 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=Movie...
- 04 Dec 2019, 23:49
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 10
- Views: 1544
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: 10
- Views: 1544
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...
- 04 Dec 2019, 15:08
- Forum: Scripting and Automation
- Topic: AMC change I'm looking to make
- Replies: 10
- Views: 1544
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: 10
- Views: 1544
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: 1287
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: 1287
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: 3001
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 ...
- 15 Jan 2019, 20:57
- Forum: macOS
- Topic: Script error run from Hazel, but works from Terminal
- Replies: 3
- Views: 3001
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: 3001
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...
- 11 Jan 2019, 13:07
- Forum: Scripting and Automation
- Topic: Automation broke after brew update
- Replies: 4
- Views: 1007
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.
- 11 Jan 2019, 13:02
- Forum: Scripting and Automation
- Topic: Automation broke after brew update
- Replies: 4
- Views: 1007
Automation broke after brew update
I ran a brew update the other day to update some of my packages, and something that updated caused my Filebot automation to break. I'm running a postprocess.sh script from Transmission: /usr/local/bin/filebot -script fn:amc --output "$CONFIG_OUTPUT" --action move --conflict skip -non-strict --log-fi...
- 05 Nov 2017, 23:32
- Forum: Scripting and Automation
- Topic: Can't Seem to Upgrade
- Replies: 4
- Views: 1402
Re: Can't Seem to Upgrade
Ok, I’ll try finding some steps to update the jar manually and hope that fixes things.
Thanks for the help.
Thanks for the help.
- 05 Nov 2017, 23:06
- Forum: Scripting and Automation
- Topic: Can't Seem to Upgrade
- Replies: 4
- Views: 1402
Re: Can't Seem to Upgrade
Is there a plan to update brew with the fix?
I think the FileBot jar change you mentioned is over my head, unless there’s a guide somewhere I can at least try following.
I think the FileBot jar change you mentioned is over my head, unless there’s a guide somewhere I can at least try following.
- 05 Nov 2017, 22:46
- Forum: Scripting and Automation
- Topic: Can't Seem to Upgrade
- Replies: 4
- Views: 1402
Can't Seem to Upgrade
I'm running Mac OS and seeing the zero bytes issue a few other folks are, so I'm trying to upgrade. I run brew update && brew upgrade && brew cask install filebot --force --appdir=~/Applications and it completes, but I'm still running 4.7.9 and not 4.7.13, like the troubleshooting guide recommends. ...
- 09 Jun 2017, 17:44
- Forum: Scripting and Automation
- Topic: Automation via Transmission failing
- Replies: 16
- Views: 4046
Re: Automation via Transmission failing
I am now successful at getting it to run reliably, just had to get the right output path. Now I just need to set myself a weekly reminder to go clean out the completed torrents directory (since clean=y will only delete empty directories and a bunch of essentially junk gets left behind once the origi...
- 09 Jun 2017, 17:09
- Forum: Scripting and Automation
- Topic: Automation via Transmission failing
- Replies: 16
- Views: 4046
Re: Automation via Transmission failing
I'll check out the presets and muck with the automation some more. I did get the automation to work on my Desktop with some files, so I think it's just my output path. One question for clarification; the script should only run against a torrent file once, right? I think I'm confusing myself because ...
- 09 Jun 2017, 14:59
- Forum: Scripting and Automation
- Topic: Automation via Transmission failing
- Replies: 16
- Views: 4046
Re: Automation via Transmission failing
I'm not sure how it's interpreted. I tried a number of things until I got it to work. Then, for whatever reason, it stopped working. I don't know what I changed to make it stop working, but I can't get it working again. I'll go back to the UI and do this the old fashioned way. I can't get the script...