Transmission Mavericks & filebot 4.2 fail

Any questions? Need some help?
Post Reply
elgallo
Posts: 40
Joined: 29 Apr 2014, 10:33

Transmission Mavericks & filebot 4.2 fail

Post by elgallo »

Hello I am currently using a Mac Mini, OS X ver 10.9.4, Transmission ver 2.84, Java ver 8 update 11, and Filebot ver 4.2.

my previous transmission-postprocess worked fine with 4.0, I noticed that none of my media was being renamed and moved as it was being done previously. I searched this forum and found that I needed to up date Java from 6 to 8.

this how my transmission-postprocess is setup

Code: Select all

#!/bin/bash
/Applications/Filebot.app/Contents/MacOS/filebot.sh -script fn:amc --output "/Volumes/Media/Incomplete/complete" --log-file amc.log --action copy --conflict override -non-strict --def deleteAfterExtract=y plex=gallo artwork=y subtitles=en clean=y "ut_dir=$TR_TORRR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" "seriesFormat=/Volumes/Media/TV/{n.replaceTrailingBrackets()}/Season {s}/{n.replaceTrailingBrackets()} -S{s}E{e.pad(2)} - {t}.{$lang}" "movieFormat=/Volumes/Video/M0vies/{n} ({y})/{n.replaceTrailingBrackets()} ({y}) [{certification}].{$lang}" "musicFormat=/Volumes/Media/Muzik\ to\ add\ to\ iTunes/{artist}/{artist} [{pi.pad(2)}]-{t}"
Transmission is setup to save unfinished downloads (of any kind) in /Volumes/Media/Incomplete
Once a file finished downloading it moves to /Volumes/Media/Incomplete/complete

filebot used to make a show folder and season subfolder to look like /Volumes/Media/Incomplete/complete/Show name/Season #
and copy the file to its destination depending on whether its a movie TV show or music. Because all would not fit on a single volume.

so Movies would go into /Volumes/Video/M0vies/movie name (year)/movie name (year) [PG].en.extension
TV shows into /Volumes/Media/Incomplete/complete/Show name/Season #/Show name -S00E00 -title.extension

My issue is the following error:

Code: Select all

XXXXXs-Mac-mini:~ gallo$ /Users/gallo/Desktop/transmission-postprocess
Locking /Users/gallo/.filebot/logs/amc.log
Parameter: deleteAfterExtract = y
Parameter: plex = gallo
Parameter: artwork = y
Parameter: subtitles = en
Parameter: clean = y
Parameter: ut_dir = /
Parameter: ut_kind = multi
Parameter: ut_title = 
Parameter: seriesFormat = /Volumes/Media/TV/{n.replaceTrailingBrackets()}/Season {s}/{n.replaceTrailingBrackets()} -S{s}E{e.pad(2)} - {t}.{}
Parameter: movieFormat = /Volumes/Video/M0vies/{n} ({y})/{n.replaceTrailingBrackets()} ({y}) [{certification}].{}
Parameter: musicFormat = /Volumes/Media/Muzik2iTunes/{artist}/{artist} [{pi.pad(2)}]-{t}
NullPointerException: java.lang.NullPointerException
java.lang.NullPointerException
	at net.filebot.media.ReleaseInfo$FolderEntryFilter.accept(ReleaseInfo.java:443)
	at net.filebot.media.MediaDetection.isDiskFolder(MediaDetection.java:92)
	at net.filebot.cli.ScriptShellMethods.isDisk(ScriptShellMethods.java:84)
	at Script1.resolveInput(Script1.groovy:143)
	at Script1$_resolveInput_closure80.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_resolveInput_closure80.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_resolveInput_closure80.doCall(Script1.groovy:144)
	at Script1.resolveInput(Script1.groovy:144)
	at Script1$_run_closure46.doCall(Script1.groovy:167)
	at Script1.run(Script1.groovy:167)
	at net.filebot.cli.ScriptShell.evaluate(ScriptShell.java:60)
	at net.filebot.cli.ScriptShell.runScript(ScriptShell.java:81)
	at net.filebot.cli.ArgumentProcessor.process(ArgumentProcessor.java:108)
	at net.filebot.Main.main(Main.java:191)
Failure (°_°)
TV shows when downloaded will create an episode folder and season # subfolder but nothing is moved into it. So it looked like it appears below
http://snag.gy/iGyhP.jpg

any ideas or suggestions as to how to fix so media is copied renamed and moved as it used to work?
User avatar
rednoah
The Source
Posts: 23940
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Transmission Mavericks & filebot 4.2 fail

Post by rednoah »

You're telling filebot to process your entire filesystem:

Code: Select all

Parameter: ut_dir = /
So we know this isn't working:

Code: Select all

$TR_TORRR_TORRENT_DIR/$TR_TORRENT_NAME
First variable is obviously wrong, but the second one doesn't work neither, so Transmission isn't setting these variables before calling the script. You'll need to check Transmission how parameters are supposed to be passed in.

This looks wrong to me as well:

Code: Select all

Parameter: movieFormat = /Volumes/Video/M0vies/{n} ({y})/{n.replaceTrailingBrackets()} ({y}) [{certification}].{}
Can you guess what the issue? Hint: $
:idea: Please read the FAQ and How to Request Help.
Post Reply