Page 1 of 1

Transmission & Videos in folder failure

Posted: 16 Feb 2015, 12:58
by mccouch
Hi folks.

I've spent the last hours trying to get this to work and it's driving me mad. I wonder if you could assist me?

I'm currently on a Mac with Mavericks, filebot v.4.5.6 form Homebrew Cask, Transmission 2.8.4.

My problem appears to derive from some torrents coming within a folder and somehow this get's corrupted. Below, the current command i'm calling from within a .sh script, and the output of the log.

current command:

Code: Select all

/usr/local/bin/filebot -script fn:amc  --output "/Users/Shared/00.Videos" --log-file amc.log --action test --def  "seriesFormat=Séries/{n} ({y})/Season {s}/{n.upperInitial().space('_')}.{s00e00}.{t.space('_')}" "movieFormat=Filmes/{n} ({y})/{fn.space('_')}" --def subtitles=en,pt --def gmail=XXX --def [email protected] --conflict override -non-strict  "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
output of the log:

Code: Select all

Locking /Users/filipe/.filebot/logs/amc.log
Parameter: seriesFormat = Séries/{n} ({y})/Season {s}/{n.upperInitial().space('_')}.{s00e00}.{t.space('_')}
Parameter: movieFormat = Filmes/{n} ({y})/{fn.space('_')}
Parameter: subtitles = en,pt
Parameter: gmail = *****
Parameter: mailto = *****
Argument: /Users/filipe/.filebot/logs/ut_dir=/Users/Shared/01.Downloads/02.transmission/Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
Argument: /Users/filipe/.filebot/logs/ut_kind=multi
Argument: /Users/filipe/.filebot/logs/ut_title=Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
File not found: /Users/filipe/.filebot/logs/ut_dir=/Users/Shared/01.Downloads/02.transmission/Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
Failure (°_°)
ok, something about the log, so i disabled the log:

Code: Select all

/usr/local/bin/filebot -script fn:amc  --output "/Users/Shared/00.Videos"  --action test --def  "seriesFormat=Séries/{n} ({y})/Season {s}/{n.upperInitial().space('_')}.{s00e00}.{t.space('_')}" "movieFormat=Filmes/{n} ({y})/{fn.space('_')}" --def subtitles=en,pt --def gmail=XXX --def [email protected] --conflict override -non-strict  "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME"
and i got this, that i have been gotting the entire morning:

Code: Select all

Parameter: seriesFormat = Séries/{n} ({y})/Season {s}/{n.upperInitial().space('_')}.{s00e00}.{t.space('_')}
Parameter: movieFormat = Filmes/{n} ({y})/{fn.space('_')}
Parameter: subtitles = en,pt
Parameter: gmail = *****
Parameter: mailto = *****
Argument: /Users/filipe/.filebot/logs/ut_dir=/Users/Shared/01.Downloads/02.transmission/Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
Argument: /Users/filipe/.filebot/logs/ut_kind=multi
Argument: /Users/filipe/.filebot/logs/ut_title=Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
File not found: /Users/filipe/.filebot/logs/ut_dir=/Users/Shared/01.Downloads/02.transmission/Mike.Tyson.Mysteries.S01E09.HDTV.x264-MiNDTHEGAP[ettv]
Failure (°_°)

At this point, i open for suggestions...

Thanks!

Re: Transmission & Videos in folder failure

Posted: 25 Feb 2015, 01:48
by rednoah
Looks like the cmdline call is messed up. I guess the issue is in the transmission-postprocess glue logic script then. Presumably some of the $TR_TORRENT_DIR variables sometimes come with quotes and sometimes come without, which breaks the script which assumes that it's not quoted already.

If you can fix & test it then I could merge your updates into the official template.