Page 1 of 1

uTorrent not triggering FileBot script

Posted: 07 Nov 2018, 13:55
by GavZ
I recently got a new computer so have moved all the processing from my old one to the new one, however when uTorrent finishes downloading a torrent, fileBot isnt working to move/rename it.

Here is the command I have included in the run program when torrent finished box:

Code: Select all

filebot -script fn:amc --output "//ZEPHIR-CLOUD/ZephirMedia" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def gmail=***** --def reportError=y --def clean=y --def kodi=*****
The strange thing is when I try the same command that I extract from the logger in the cmd window it works perfectly, e.g:

Code: Select all

[2018-11-07 13:12:18]  Executing: filebot -script fn:amc --output "//ZEPHIR-CLOUD/ZephirMedia" --action copy --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=showRSS" "ut_state=20" "ut_title=Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]" "ut_kind=multi" "ut_file=Downloaded from www.ETTV.tv .txt" "ut_dir=C:\Users\DELL\Videos\Unsorted Media\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]" --def gmail=***** --def reportError=y --def clean=y --def kodi=*****
Any help as to why uTorrent is executing the script would be appreciated.

Re: uTorrent not triggering FileBot script

Posted: 07 Nov 2018, 14:49
by rednoah
What does the log say? You can use --log-file C:\Users\DELL\Videos\amc.log to make the log more easy to find.

:idea: Since you're using network shares, I guess that might be the issue. Best to log at the logs from the uT call.

Re: uTorrent not triggering FileBot script

Posted: 07 Nov 2018, 17:05
by GavZ
There is nothing in the log for when uTorrent calls the script, but when I call it manually from the command line, I get the following in the log:

Code: Select all

Run script [fn:amc] at [Wed Nov 07 13:16:08 GMT 2018]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = showRSS
Parameter: ut_state = 20
Parameter: ut_title = Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]
Parameter: ut_kind = multi
Parameter: ut_file = Downloaded from www.ETTV.tv .txt
Parameter: ut_dir = C:\Users\DELL\Videos\Unsorted Media\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]
Parameter: gmail = *****
Parameter: reportError = y
Parameter: clean = y
Parameter: kodi = *****
Input: C:\Users\DELL\Videos\Unsorted Media\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv].mp4
Group: [tvs:modern family] => [Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv].mp4]
Rename episodes using [TheTVDB]
Auto-detected query: [Modern Family]
Fetching episode data for [Modern Family]
Fetching episode data for [Modern Farmer]
[COPY] from [C:\Users\DELL\Videos\Unsorted Media\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]\Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv].mp4] to [\\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10\Modern Family - S10E06 - On the Same Paige.mp4]
Failed to set xattr: NoSuchFileException: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10\Modern Family - S10E06 - On the Same Paige.mp4:net.filebot.metadata
Processed 1 files
Fetching series artwork for [Modern Family / Season 10] to [\\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10]
Generate Series NFO: Modern Family [95011]
Banner already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\poster.jpg
Banner already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\banner.jpg
Banner already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\fanart.jpg
Fetching \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10\poster.jpg => [season/10/680x1000, en, 10.0, https://thetvdb.com/banners/seasons/5bb461598d281.jpg]
Resource not found: https://api.thetvdb.com/series/95011/images/query?keyType=seasonwide
Banner not found: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10\banner.jpg / seasonwide:seasonwide
Fanart already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\clearart.png
Fanart already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\logo.png
Fanart already exists: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\landscape.jpg
Fanart not found: \\ZEPHIR-CLOUD\ZephirMedia\TV Shows\Modern Family\Season 10\landscape.jpg / seasonthumb
Notify Kodi: [host:192.168.1.6, port:8080]
POST: http://*****/jsonrpc {"jsonrpc":"2.0","method":"GUI.ShowNotification","params":{"title":"FileBot finished processing 1 files","message":"Modern.Family.S10E06.HDTV.x264-SHiTSPREAD[ettv]","image":"https://app.filebot.net/icon.png"},"id":1}
POST: http://*****/jsonrpc {"jsonrpc":"2.0","method":"VideoLibrary.Scan","id":1}
Done ヾ(@⌒ー⌒@)ノ
Its like uTorrent isnt even call FileBot despit it being in the logger.

Re: uTorrent not triggering FileBot script

Posted: 07 Nov 2018, 17:22
by rednoah
"nothing" means that filebot isn't called at all, and that would be very strange. My first sanity check would be to replace filebot with cmd /c filebot or the absolute path to the filebot.exe executable so it can't not be called.

Re: uTorrent not triggering FileBot script

Posted: 07 Nov 2018, 21:10
by GavZ
Thanks, changing to cmd /c filebot seems to have made the difference and it is working now.