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
Code: Select all
filebot -script fn:artwork.tvdb FILENAME
Code: Select all
2019-01-15 15:07:15.597 hazelworker[85551] DEBUG: New rule signature. Executing actions.
Old signatures: (
"{dateModified ==[cd] today}:{(shellscript:/bin/bash:68c81b5413852440b9a8da72e66a7dec,{\n})}"
)
New Signature:{dateModified ==[cd] today}:{(shellscript:/bin/bash:b529c86417ade1c4773924896f541d89,{
})}
2019-01-15 15:07:16.100 hazelworker[85551] DEBUG: == script output ==
java.nio.file.AccessDeniedException: /.filebot
java.nio.file.AccessDeniedException: /.filebot
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:19)
at net.filebot.Main.initializeSystemProperties(Main.java:388)
at net.filebot.Main.main(Main.java:106)
java.nio.file.AccessDeniedException: /.filebot
java.nio.file.AccessDeniedException: /.filebot
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:21)
at net.filebot.Main.initializeSystemProperties(Main.java:388)
at net.filebot.Main.main(Main.java:106)
java.nio.file.AccessDeniedException: /.filebot
java.nio.file.AccessDeniedException: /.filebot
at net.filebot.ApplicationFolder.<init>(ApplicationFolder.java:34)
at net.filebot.ApplicationFolder.<clinit>(ApplicationFolder.java:23)
at net.filebot.Main.initializeSystemProperties(Main.java:388)
at net.filebot.Main.main(Main.java:106)
Error during startup
java.lang.ExceptionInInitializerError
at net.filebot.Main.main(Main.java:110)
Caused by: net.sf.ehcache.CacheException: java.nio.file.AccessDeniedException: /.filebot
at net.filebot.CacheManager.<init>(CacheManager.java:36)
at net.filebot.CacheManager.<clinit>(CacheManager.java:22)
... 1 more
Caused by: java.nio.file.AccessDeniedException: /.filebot
at net.filebot.util.FileUtilities.createFolders(FileUtilities.java:184)
at net.filebot.CacheManager.acquireDiskStore(CacheManager.java:73)
at net.filebot.CacheManager.<init>(CacheManager.java:33)
... 2 more
== End script output ==
- Making the main directory writeable to "Everyone"
- Running the script with /usr/local/bin/filebot in it
- Making the the directory it's outputting to writeable to "Everyone"
- Adding an Output destination to the command
- Trying to output to my Desktop