utorrent-postprocess not working?
Posted: 11 Feb 2013, 06:47
So I love using FileBot to organize my media and make it look as nice as possible. Today I started to automate the process with the utorrent-postprocess and ran into an issue.
I am using transmission-daemon as my torrent client and am calling the filebot script with the following bash file:
So here's the problem. The script is successfully called, but nothing is actually done. It successfully gets the show name and attempts to query TheTVDb, but never actually copies the file. Here is the output:
So when I run the script manually everything works properly and it is magical.
The only thing that I can think of is transmission-daemon runs under it own user, but I have checked the permissions for all the folders and everything that it uses.
Running xbmcbuntu (based off 12.10) and here is the sysinfo data:
Thanks in advance! It's late and I'm running out of ideas
I am using transmission-daemon as my torrent client and am calling the filebot script with the following bash file:
Code: Select all
#!/bin/bash
filebot --log all -script fn:utorrent-postprocess --output "/media/externalHD" --action copy --conflict override -non-strict --def artwork=n "ut_dir=$TR_TORRENT_DIR/$TR_TORRENT_NAME" "ut_kind=multi" "ut_title=$TR_TORRENT_NAME" >> /home/dinsfire/scripts/filebot.log
Code: Select all
Parameter: artwork = n
Parameter: ut_dir = /media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv
Parameter: ut_kind = multi
Parameter: ut_title = [HorribleSubs] Sword Art Online - 01 [720p].mkv
Input: /media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv
[HorribleSubs] Sword Art Online - 01 [720p].mkv [series: Sword Art Online, movie: null]
Group: [tvs:Sword Art Online, mov:null, anime:null] => [[HorribleSubs] Sword Art Online - 01 [720p].mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Sword Art Online]
Done ?(?????)?
Code: Select all
dinsfire@acerRevo:~/scripts$ filebot -script fn:utorrent-postprocess --output "/media/externalHD" --action copy --conflict override -non-strict --def artwork=y "ut_dir=/media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv" "ut_kind=multi" "ut_title=[HorribleSubs] Sword Art Online - 01 [720p].mkv"
Parameter: artwork = y
Parameter: ut_dir = /media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv
Parameter: ut_kind = multi
Parameter: ut_title = [HorribleSubs] Sword Art Online - 01 [720p].mkv
Input: /media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv
[HorribleSubs] Sword Art Online - 01 [720p].mkv [series: Sword Art Online, movie: null]
Group: [tvs:Sword Art Online, mov:null, anime:null] => [[HorribleSubs] Sword Art Online - 01 [720p].mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Sword Art Online]
Fetching episode data for [Sword Art Online]
[COPY] Rename [/media/externalHD/Torrents/[HorribleSubs] Sword Art Online - 01 [720p].mkv] to [/media/externalHD/TV Shows/Sword Art Online/Season 1/Sword Art Online - S01E01 - World of Swords.mkv]
Processed 1 files
Fetching artwork for /media/externalHD/TV Shows/Sword Art Online/Season 1 from TheTVDB
Fetching /media/externalHD/TV Shows/Sword Art Online/poster.jpg => {id=914040, BannerMirror=http://thetvdb.com/banners/, BannerPath=posters/259640-2.jpg, BannerType=poster, BannerType2=680x1000, Language=en, Rating=7.5714, RatingCount=7}
Fetching /media/externalHD/TV Shows/Sword Art Online/banner.jpg => {id=916002, BannerMirror=http://thetvdb.com/banners/, BannerPath=graphical/259640-g2.jpg, BannerType=series, BannerType2=graphical, Language=en, Rating=9.0000, RatingCount=2}
Fetching /media/externalHD/TV Shows/Sword Art Online/fanart.jpg => {id=914041, BannerMirror=http://thetvdb.com/banners/, BannerPath=fanart/original/259640-1.jpg, BannerType=fanart, BannerType2=1920x1080, Colors=|44,42,43|36,34,35|255,255,255|, Language=en, Rating=6.6000, RatingCount=5, SeriesName=false, ThumbnailPath=_cache/fanart/original/259640-1.jpg, VignettePath=fanart/vignette/259640-1.jpg}
Fetching /media/externalHD/TV Shows/Sword Art Online/Season 1/poster.jpg => {id=939015, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasons/259640-1-2.jpg, BannerType=season, BannerType2=season, Season=1, Language=en, Rating=6.0000, RatingCount=1}
Banner not found: /media/externalHD/TV Shows/Sword Art Online/Season 1/banner.jpg / season:seasonwide
Fetching /media/externalHD/TV Shows/Sword Art Online/clearart.png => {type=clearart, id=19672, url=http://assets.fanart.tv/fanart/tv/259640/clearart/sword-art-online-50247eaa1d55d.png, lang=en, likes=1}
IOException: Server returned HTTP response code: 403 for URL: http://assets.fanart.tv/fanart/tv/259640/clearart/sword-art-online-50247eaa1d55d.png
Done ヾ(@⌒ー⌒@)ノ
Running xbmcbuntu (based off 12.10) and here is the sysinfo data:
Code: Select all
FileBot 3.3 (r1412)
JNA Native: 3.5.0
MediaInfo: java.lang.UnsatisfiedLinkError: Unable to load library 'mediainfo': libzen.so.0: cannot open shared object file: No such file or directory
7-Zip-JBinding: OK
Extended Attributes: OK
GVFS: OK
OpenJDK Runtime Environment 1.7.0_09
32-bit OpenJDK Client VM
Linux (i386)
Done ヾ(@⌒ー⌒@)ノ