AMC: with utorrent: Only mp4 files gets triggered

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
superflysocal
Posts: 27
Joined: 03 Mar 2013, 04:44

AMC: with utorrent: Only mp4 files gets triggered

Post by superflysocal »

I usually download mp4 files only, so i don't know how long this has been an issue. Lately I noticed that now when I download an avi or mkv files, it doesn't get processed at all, I don't even see a CMD box pop up like when an mp4 file gets finished.

For example this file worked:
Star.Wars.The.Clone.Wars.S06E01.WEBRip.x264-2HD.mp4

this does not:
Star.Wars.The.Clone.Wars.S01E01.HDTV.XviD-0TV.avi

this is my script:
filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S" "seriesFormat=TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}"

From the log:
[2017-02-28 19:33:44] Accepted launch|Type: auto Location: magnet:?xt=urn:btih:4IBYJIDN7PDEERBR7Q6C2TITOJEWG35M&dn=Star.Wars.The.Clone.Wars.S06E01.WEBRip.x264-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969
[2017-02-28 19:33:49] DNS resolution failed for tracker udp://exodus.desync.com:6969
[2017-02-28 19:42:13] Executing: filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_dir=C:\Media\uTorrent\TV Shows\Star Wars Clone Wars" "ut_file=Star.Wars.The.Clone.Wars.S06E01.WEBRip.x264-2HD.mp4" "ut_kind=single" "ut_title=Star.Wars.The.Clone.Wars.S06E01.WEBRip.x264-2HD.mp4" "ut_label=" "ut_state=5" "seriesFormat=TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}"
[2017-02-28 20:10:42] Accepted launch|Type: auto Location: magnet:?xt=urn:btih:3WPP4Q5YN4B3T4HRHZTCFFCWWQKOV7PL&dn=Star.Wars.The.Clone.Wars.S01E01.HDTV.XviD-0TV&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969
[2017-02-28 20:10:47] DNS resolution failed for tracker udp://exodus.desync.com:6969
[2017-02-28 20:18:23] Executing: filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_dir=C:\Media\uTorrent\TV Shows\Star Wars Clone Wars\" "ut_file=Star.Wars.The.Clone.Wars.S01E01.HDTV.XviD-0TV.avi" "ut_kind=single" "ut_title=Star.Wars.The.Clone.Wars.S01E01.HDTV.XviD-0TV.avi" "ut_label=" "ut_state=5" "seriesFormat=TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}"
[2017-02-28 20:22:00] Accepted launch|Type: auto Location: magnet:?xt=urn:btih:26SFRBJN4T2EWLW4NI4ZWAGYOTYRLK3U&dn=Star.Wars.The.Clone.Wars.S01E02.HDTV.XviD-0TV&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969
[2017-02-28 20:22:04] DNS resolution failed for tracker udp://exodus.desync.com:6969
[2017-02-28 20:22:08] Accepted launch|Type: auto Location: magnet:?xt=urn:btih:GMS5WIZWNHBSW4FAKUKW5YZEAMO7KYCO&dn=Star.Wars.The.Clone.Wars.S01E03.HDTV.XviD-aAF&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969
[2017-02-28 20:22:13] DNS resolution failed for tracker udp://exodus.desync.com:6969
[2017-02-28 20:28:26] Executing: filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_dir=C:\Media\uTorrent\TV Shows\Star Wars Clone Wars\" "ut_file=Star.Wars.The.Clone.Wars.S01E02.HDTV.XviD-0TV.avi" "ut_kind=single" "ut_title=Star.Wars.The.Clone.Wars.S01E02.HDTV.XviD-0TV.avi" "ut_label=" "ut_state=5" "seriesFormat=TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}"
[2017-02-28 20:36:56] Disconnected from WebUI proxy service
[2017-02-28 20:36:56] Haven't heard from raptor in a long time, reconnecting
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC: with utorrent: Only mp4 files gets triggered

Post by rednoah »

1.
utorrent is screwing up the command by adding \ at the end of the path resulting in \" which has special meaning:

Code: Select all

"ut_dir=C:\Media\uTorrent\TV Shows\Star Wars Clone Wars\"
@see viewtopic.php?f=4&t=1899


2.
Use this command:

Code: Select all

filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D"
Putting "ut_dir=%D" and the end will probably work around the issue. Or make sure there's no trailing \ in any of the settings in utorrent.
Image


3.
You could have easily figured this out yourself by opening CMD and running the command that utorrent is running:

Code: Select all

filebot -script fn:amc --output "R:/media" --action copy --conflict override -non-strict --def music=n subtitles=en artwork=y plex=192.168.1.91 "ut_dir=C:\Media\uTorrent\TV Shows\Star Wars Clone Wars\" "ut_file=Star.Wars.The.Clone.Wars.S01E02.HDTV.XviD-0TV.avi" "ut_kind=single" "ut_title=Star.Wars.The.Clone.Wars.S01E02.HDTV.XviD-0TV.avi" "ut_label=" "ut_state=5" "seriesFormat=TV Shows/{n}/Season {s}/{n} - {s00e00} - {t}" "movieFormat=Movies/{n} ({y})/{n} ({y}){\" CD$pi\"}"
:idea: Please read the FAQ and How to Request Help.
superflysocal
Posts: 27
Joined: 03 Mar 2013, 04:44

Re: AMC: with utorrent: Only mp4 files gets triggered

Post by superflysocal »

I knew about the backslash thing. I use to be very cautious about not having \ but lately i noticed even with \ it was working with mp4 files. i thought some updated version fixed this issue with utorrent.
superflysocal
Posts: 27
Joined: 03 Mar 2013, 04:44

Re: AMC: with utorrent: Only mp4 files gets triggered

Post by superflysocal »

But you are right that was the issue
User avatar
rednoah
The Source
Posts: 23953
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: AMC: with utorrent: Only mp4 files gets triggered

Post by rednoah »

I don't think they're ever gonna fix that issue. It's definitely a bug on their side though, and not much we can do on our side.
:idea: Please read the FAQ and How to Request Help.
Post Reply