Page 1 of 1

uTorrent not calling filebot

Posted: 10 Sep 2020, 13:48
by Argonaught
I am new to FileBot and have read through all the documentation I can get my hands on, particularly viewtopic.php?t=215

But I cannot find anywhere the location of the AMC script to I can edit it. It's running successfully but not renaming my movies/TV shows in the Plex format. Can anyone point me in the right direction as to where the script is stored on Windows?

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 14:07
by Argonaught
For example, this movie was processed after download completion and the folder was created as expected:

Code: Select all

PlexMedia\Movies\Se7en (1995)
but the movie name was kept as

Code: Select all

Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4

Code: Select all

[2020-09-10 09:35:33]  Executing: filebot -script fn:amc --output "C:/PlexMedia" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=radarr" "ut_state=20" "ut_title=Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4" "ut_kind=single" "ut_file=Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4" "ut_dir=C:\torrents"

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 14:44
by rednoah
1.
What does the amc.log say?

2.
The amc script does use the {plex} format by default. You cannot modify the amc script but you can pass in command-line options to customize things.

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 14:50
by Argonaught
I checked amc.log under C:\Users\myname\AppData\Roaming\FileBot\logs
and there is no mention of that movie in that log. In fact it seems nothing has been written to that log since yesterday, and this download completed today.

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 14:52
by rednoah
Argonaught wrote: 10 Sep 2020, 14:50 and there is no mention of that movie in that log.
Sounds like filebot didn't process this particular file.
Argonaught wrote: 10 Sep 2020, 14:50 In fact it seems nothing has been written to that log since yesterday, and this download completed today.
Sounds like there's a tool other than filebot processing files.

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 14:57
by Argonaught
I don't have any other tools. Sonarr and Radarr both have Rename Movies / Rename Episodes set to NO.
uTorrent is configured with the following Run Program option:

Code: Select all

filebot -script fn:amc --output "C:/PlexMedia" --action duplicate --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"

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 15:00
by rednoah
:idea: If uTorrent is executing filebot, then filebot will write a log entry. If there's no log entry, then filebot wasn't called.


:arrow: I'd start by opening CMD and running the filebot command manually to see what happens:

Code: Select all

filebot -script fn:amc --output "C:/PlexMedia" --action duplicate --conflict skip -non-strict --log-file amc.log --def unsorted=y music=y artwork=y "ut_label=radarr" "ut_state=20" "ut_title=Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4" "ut_kind=single" "ut_file=Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4" "ut_dir=C:\torrents"
:idea: https://www.howtogeek.com/235101/10-way ... indows-10/

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 15:15
by Argonaught
Executing the command manually worked. amc.log was updated successfully.

Code: Select all

Run script [fn:amc] at [Thu Sep 10 11:12:11 EDT 2020]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = radarr
Parameter: ut_state = 20
Parameter: ut_title = Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4
Parameter: ut_kind = single
Parameter: ut_file = Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4
Parameter: ut_dir = C:\torrents
Input: C:\torrents\Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4
Group: {Movie=Se7en (1995)} => [Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4]
Rename movies using [TheMovieDB]
Auto-detect movie from context [C:\torrents\Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4]
[DUPLICATE] from [C:\torrents\Se7en(1995)1080p.BrRip.x264.YIFY (edit).mp4] to [C:\PlexMedia\Movies\Se7en (1995)\Se7en (1995).mp4]
Processed 1 files
Fetching movie artwork for [Se7en (1995)] to [C:\PlexMedia\Movies\Se7en (1995)]
Generate Movie NFO: Se7en [807]
Fetching C:\PlexMedia\Movies\Se7en (1995)\poster.jpg => [posters/1000x1500, en, 5.318, https://image.tmdb.org/t/p/original/h9gnLrhpYce2SReObMq84pSsUlI.jpg]
Fetching C:\PlexMedia\Movies\Se7en (1995)\fanart.jpg => [backdrops/1280x720, en, 5.246, https://image.tmdb.org/t/p/original/tplpkMfGGlfXvlJgN3hNLCwLRgB.jpg]
Fetching C:\PlexMedia\Movies\Se7en (1995)\clearart.png => [hdmovieclearart, en, 5.0, https://assets.fanart.tv/fanart/movies/807/hdmovieclearart/se7en-50a567f22304a.png]
Fetching C:\PlexMedia\Movies\Se7en (1995)\logo.png => [hdmovielogo, en, 9.0, https://assets.fanart.tv/fanart/movies/807/hdmovielogo/se7en-513f9e5ecbc1d.png]
Fetching C:\PlexMedia\Movies\Se7en (1995)\disc.png => [moviedisc/bluray, en, 6.0, https://assets.fanart.tv/fanart/movies/807/moviedisc/se7en-517fcdc66c098.png]
Done ヾ(@⌒ー⌒@)ノ
So is there something wrong with uTorrent that I need to troubleshoot?

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 15:21
by rednoah
If uT fails to call filebot for some reason, but cmd is confirmed to call filebot just fine, then just do that.


:arrow: uT ➔ cmd ➔ filebot


Replace

Code: Select all

filebot ...
with

Code: Select all

cmd /c filebot ...

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 15:36
by Argonaught
I'm sorry. I don't understand your instructions - what should I be replacing and where?
Image

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 15:38
by rednoah
rednoah wrote: 10 Sep 2020, 15:21 Replace

Code: Select all

filebot ...
with

Code: Select all

cmd /c filebot ...
Replace

Code: Select all

filebot -script fn:amc --output "C:/PlexMedia" --action duplicate --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"
with

Code: Select all

cmd /c filebot -script fn:amc --output "C:/PlexMedia" --action duplicate --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"

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 16:13
by Argonaught
That worked. But for some reason something created two Season folders - one correct, one incorrect:
https://imgur.com/a/LT4WlHs

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 16:15
by rednoah
What does the log say?


:idea: Season 05 is created by filebot, while Season 5 is most likely created by a program other than filebot that you are unaware of.

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 16:21
by Argonaught

Code: Select all

Run script [fn:amc] at [Thu Sep 10 12:07:37 EDT 2020]
Parameter: unsorted = y
Parameter: music = y
Parameter: artwork = y
Parameter: ut_label = tv-sonarr
Parameter: ut_state = 20
Parameter: ut_title = Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEBRip.AAC2.0.H264-monkee[rarbg]
Parameter: ut_kind = multi
Parameter: ut_file = Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEB-DL.AAC2.0.H.264-monkee.mkv
Parameter: ut_dir = C:\torrents\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEBRip.AAC2.0.H264-monkee[rarbg]
Input: C:\torrents\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEBRip.AAC2.0.H264-monkee[rarbg]\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEB-DL.AAC2.0.H.264-monkee.mkv
Process as TV Series [tv-sonarr]
Group: {Series=true} => [Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEB-DL.AAC2.0.H.264-monkee.mkv]
Rename episodes using [TheTVDB] with [Airdate Order]
Auto-detected query: [Full Frontal with Samantha Bee]
Fetching episode data for [Full Frontal with Samantha Bee]
[DUPLICATE] from [C:\torrents\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEBRip.AAC2.0.H264-monkee[rarbg]\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEB-DL.AAC2.0.H.264-monkee.mkv] to [C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05\Full Frontal with Samantha Bee - S05E22 - September 9, 2020.mkv]
Processed 1 files
Fetching series artwork for [Full Frontal with Samantha Bee / Season 5] to [C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05]
Generate Series NFO: Full Frontal with Samantha Bee [303438]
Banner already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\poster.jpg
Banner already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\banner.jpg
Banner already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\fanart.jpg
Banner already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05\poster.jpg
Banner not found: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05\banner.jpg / seasonwide:seasonwide
Fanart already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\clearart.png
Fanart already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\logo.png
Fanart already exists: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\landscape.jpg
Fanart not found: C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05\landscape.jpg / seasonthumb
Done ヾ(@⌒ー⌒@)ノ

Re: Where is the AMC script stored?

Posted: 10 Sep 2020, 16:27
by rednoah
The log confirms that exactly 1 file was processed into Full Frontal with Samantha Bee\Season 05 as follows:

Code: Select all

[DUPLICATE] from [C:\torrents\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEBRip.AAC2.0.H264-monkee[rarbg]\Full.Frontal.With.Samantha.Bee.S05E22.September.9.2020.1080p.HULU.WEB-DL.AAC2.0.H.264-monkee.mkv] to [C:\PlexMedia\TV Shows\Full Frontal with Samantha Bee\Season 05\Full Frontal with Samantha Bee - S05E22 - September 9, 2020.mkv]