Page 1 of 1

Utorrent not launching script

Posted: 06 Oct 2013, 13:51
by Calcky82
Hello,

I've used the utorrent script as instructed. Nothing happens. So I;ve read some other topics but still I can't manage to get ik working.

In Utorrent logger I see It is executing. But is does nothing. This is the Utorrent logging:

Code: Select all

[2013-10-06 15:35:27]  Uitvoeren: filebot -script fn:amc --output "F:/downloads" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_dir=F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]" "ut_file=the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi" "ut_kind=multi" "ut_title=The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]" "ut_label=" "ut_state=5"
In the cmd it's working perfect!

Code: Select all

Microsoft Windows [versie 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle rechten voorbehouden.

C:\Users\JEROEN>filebot -script fn:amc --output "F:/downloads" --log-file amc.lo
g --action copy --conflict override -non-strict --def music=y subtitles=en artwo
rk=y "ut_dir=F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2HD[
ettv]" "ut_file=the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi" "ut_kind=multi" "u
t_title=The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]" "ut_label=" "ut_state=5"

Locking C:\Users\JEROEN\AppData\Roaming\FileBot\logs\amc.log
Parameter: music = y
Parameter: subtitles = en
Parameter: artwork = y
Parameter: ut_dir = F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV Xv
iD-2HD[ettv]
Parameter: ut_file = the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi
Parameter: ut_kind = multi
Parameter: ut_title = The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]
Parameter: ut_label =
Parameter: ut_state = 5
Input: F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]\
the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi
Group: [tvs:The Big Bang Theory] => [the.big.bang.theory.s05e19.hdtv.xvid-2hd.av
i]
Get [English] subtitles for 1 files
Looking up subtitles by filehash via OpenSubtitles
Matched [the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi] to [The.Big.Bang.Theory.S
05E19.HDTV.XviD-2HD] via filehash
Fetching [The.Big.Bang.Theory.S05E19.HDTV.XviD-2HD.srt]
Export [The.Big.Bang.Theory.S05E19.HDTV.XviD-2HD.srt] as: SubRip / UTF-8
Writing [The.Big.Bang.Theory.S05E19.HDTV.XviD-2HD.srt] to [the.big.bang.theory.s
05e19.hdtv.xvid-2hd.eng.srt]
Rename episodes using [TheTVDB]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
Auto-detected query: [The Big Bang Theory]
Fetching episode data for [The Big Bang Theory]
okt 06, 2013 3:41:10 PM net.sourceforge.filebot.media.MediaDetection storeMetaIn
fo
WARNING: Failed to set xattr: java.nio.file.AccessDeniedException: F:\Downloads
ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2HD[ettv]\the.big.bang.theory.
s05e19.hdtv.xvid-2hd.avi:filename
[COPY] Rename [F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2H
D[ettv]\the.big.bang.theory.s05e19.hdtv.xvid-2hd.avi] to [F:\downloads\TV Shows\
The Big Bang Theory\Season 05\The Big Bang Theory - S05E19 - The Weekend Vortex.
avi]
[COPY] Rename [F:\Downloads ongesorteerd\The Big Bang Theory S05E19 HDTV XviD-2H
D[ettv]\the.big.bang.theory.s05e19.hdtv.xvid-2hd.eng.srt] to [F:\downloads\TV Sh
ows\The Big Bang Theory\Season 05\The Big Bang Theory - S05E19 - The Weekend Vor
tex.eng.srt]
Processed 2 files
Fetching artwork for F:\downloads\TV Shows\The Big Bang Theory\Season 05 from Th
eTVDB
Banner already exists: F:\downloads\TV Shows\The Big Bang Theory\poster.jpg
Banner already exists: F:\downloads\TV Shows\The Big Bang Theory\banner.jpg
Banner already exists: F:\downloads\TV Shows\The Big Bang Theory\fanart.jpg
Fetching F:\downloads\TV Shows\The Big Bang Theory\Season 05\poster.jpg => {id=9
16433, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasons/80379-5-7.jp
g, BannerType=season, BannerType2=season, Season=5, Language=en, Rating=6.7273,
RatingCount=11}
Fetching F:\downloads\TV Shows\The Big Bang Theory\Season 05\banner.jpg => {id=8
95176, BannerMirror=http://thetvdb.com/banners/, BannerPath=seasonswide/80379-5.
jpg, BannerType=season, BannerType2=seasonwide, Season=5, Language=en, Rating=10
.0000, RatingCount=1}
Fanart already exists: F:\downloads\TV Shows\The Big Bang Theory\clearart.png
Fanart already exists: F:\downloads\TV Shows\The Big Bang Theory\logo.png
Fanart already exists: F:\downloads\TV Shows\The Big Bang Theory\landscape.jpg
Fetching F:\downloads\TV Shows\The Big Bang Theory\Season 05\landscape.jpg => {t
ype=seasonthumb, id=17843, url=http://assets.fanart.tv/fanart/tv/80379/seasonthu
mb/the-big-bang-theory-4fab6d88c93ca.jpg, lang=en, likes=2, season=5}
Done Òâ¥(´╝áÔîÆÒâ╝ÔîÆ´╝á)ÒâÄ

I see there's a warning about java. I've also downloaden Create Hidden Proces from http://www.commandline.co.uk/chp/ but I don't know how to instal it. I just double-click the .exe film in the archive and something happens realy fast (installing) but i can't find the file.

I'm just a beginner so have mercy! :)

Please give me some advise.

Jeroen

Re: Utorrent not launching script

Posted: 06 Oct 2013, 14:15
by Calcky82
Oh my god! I Just added .exe in the script after 'filebot' and now it works!

So the right code for the utorrent script is:

Code: Select all

filebot.exe -script fn:amc --output "X:/path/to/media" --log-file amc.log --action copy --conflict override -non-strict --def music=y subtitles=en artwork=y "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S"
I hope this could be verry usefull to others!

Re: Utorrent not launching script

Posted: 07 Oct 2013, 06:06
by rednoah
It's because you haven't restarted utorrent after you installed filebot. Windows applications (including cmd) will only copy the PATH and won't know when the msi installer updates the PATH.

This always works:
If you have PATH issues (e.g. 'filebot' command not found) try using the absolute path to the executable, e.g. "C:/Program Files/Filebot/filebot.exe" or "./Applications/Filebot.app/Contents/MacOS/filebot.sh"

Re: Utorrent not launching script

Posted: 07 Oct 2013, 06:21
by Calcky82
I restarded utorrent many times! And i also tried your solution because a read it somewhere on this forum but that didn't work. I wil try that again and show you the logcode in this tread.