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}"
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 (°_°)
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?