Running FileBot from the console, Groovy scripting, shell scripts, etc
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 10 Jun 2020, 19:21
I've been using amc for years and just the last couple months I've been having problems with it. Any help here would be really appreciated. When I run my script from utorrent alot of shows and some movies go into the unsorted folder. When I manually run it everything works great.
Utorrent
Code: Select all
filebot -script fn:amc --output "D:\xxx\Videos" --action copy --conflict skip --conflict auto -non-strict --log-file amc.log --def unsorted=y --def subtitles=en --def clean=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def plex=host:xxx --def pushbullet=xxx --def movieFormat="D:\xxx\Videos\Movies\New/{n} ({y}) - {vf} {vc} {aco}" --def seriesFormat="D:\xxx\Videos\TV Shows/{n}/{n} - {s00e00} - {t} {vf} {vc}"
Manual
Code: Select all
filebot -script fn:amc --output "D:\xxx\Videos" --action copy --conflict skip --conflict auto -non-strict "D:\Torrents" --log-file amc.log --def subtitles=en --def clean=y "ut_label=%L" "ut_state=%S" "ut_title=%N" "ut_kind=%K" "ut_file=%F" "ut_dir=%D" --def plex=host:xxx --def pushbullet=xxx --def movieFormat="D:\xxx\Videos\Movies\New/{n} ({y}) - {vf} {vc} {aco}" --def seriesFormat="D:\xxx\Videos\TV Shows/{n}/{n} - {s00e00} - {t} {vf} {vc}" --def excludeList=amc.txt
Log
Code: Select all
Run script [fn:amc] at [Wed Jun 10 15:03:48 EDT 2020]
Parameter: unsorted = y
Parameter: subtitles = en
Parameter: clean = y
Parameter: ut_label = Bookmarks
Parameter: ut_state = 5
Parameter: ut_title = xxx.S01E04.1080p.WEB.H264-BTX
Parameter: ut_kind = %K
Parameter: ut_file =
Parameter: ut_dir = D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX
Parameter: plex = *****
Parameter: pushbullet = *****
Parameter: movieFormat = D:\xxx\Videos\Movies\New/{n} ({y}) - {vf} {vc} {aco}
Parameter: seriesFormat = D:\xxx\Videos\TV Shows/{n}/{n} - {s00e00} - {t} {vf} {vc}
Bad ut_kind value: %K
Read archive [xxx.s01e04.1080p.web.h264-btx.rar] and extract to [D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX]
Extracting files [D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx.mkv]
Input: D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx.mkv
Group: {} => [xxx.s01e04.1080p.web.h264-btx.mkv]
Processing 1 unsorted files
[COPY] from [D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx.mkv] to [D:\xxx\Videos\Unsorted\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx.mkv]
Processed 1 files
Notify Plex: [host:host, token:xxx]
GET: https://host:32400/library/sections/all/refresh?X-Plex-Token=xxx
UnknownHostException: host
Sending PushBullet report
Clean temporary extracted files
Delete D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx.mkv
Delete D:\Torrents\xxx.S01E04.1080p.WEB.H264-BTX\xxx.s01e04.1080p.web.h264-btx
Done ヾ(@⌒ー⌒@)ノ
rednoah
The Source
Posts: 23934 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 11 Jun 2020, 03:40
1.
I'll need at least
one unobfuscated file path for testing please.
2.
sysinfo output might also be useful:
viewtopic.php?f=3&t=1868
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 11 Jun 2020, 04:08
Code: Select all
d:\krist\videos
C:\WINDOWS\system32>filebot -script fn:sysinfo
FileBot 4.9.1 (r7372)
JNA Native: 6.1.0
MediaInfo: 19.09
7-Zip-JBinding: 9.20
Chromaprint: 1.4.3
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2020-06-05 (r648)
Groovy: 3.0.3
JRE: OpenJDK Runtime Environment 14
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 16 Core / 4.3 GB Max Memory / 71 MB Used Memory
OS: Windows 10 (amd64)
STORAGE: NTFS [(C:)] @ 72 GB | NTFS [Storage] @ 58 TB | NTFS [(E:)] @ 2.0 TB | NTFS [Old] @ 13 TB
DATA: C:\Users\krist\AppData\Roaming\FileBot
Package: APPX
License: Microsoft Store License
Done ?(?????)?
rednoah
The Source
Posts: 23934 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 11 Jun 2020, 04:17
Thanks, we'll also need at least one unobfuscated file path for testing please. Unless "xxx" is the name of the series you're trying to process?
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 11 Jun 2020, 04:33
Sorry! Heres the whole thing without it being blocked out.
Code: Select all
Run script [fn:amc] at [Wed Jun 10 15:03:48 EDT 2020]
Parameter: unsorted = y
Parameter: subtitles = en
Parameter: clean = y
Parameter: ut_label = Bookmarks
Parameter: ut_state = 5
Parameter: ut_title = Stargirl.S01E04.1080p.WEB.H264-BTX
Parameter: ut_kind = %K
Parameter: ut_file =
Parameter: ut_dir = D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX
Parameter: plex = *****
Parameter: pushbullet = *****
Parameter: movieFormat = D:\krist\Videos\Movies\New/{n} ({y}) - {vf} {vc} {aco}
Parameter: seriesFormat = D:\krist\Videos\TV Shows/{n}/{n} - {s00e00} - {t} {vf} {vc}
Bad ut_kind value: %K
Read archive [stargirl.s01e04.1080p.web.h264-btx.rar] and extract to [D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX]
Extracting files [D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx.mkv]
Input: D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx.mkv
Group: {} => [stargirl.s01e04.1080p.web.h264-btx.mkv]
Processing 1 unsorted files
[COPY] from [D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx.mkv] to [D:\krist\Videos\Unsorted\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx.mkv]
Processed 1 files
Notify Plex: [host:host, token:xxx]
GET: https://host:32400/library/sections/all/refresh?X-Plex-Token=xxx
UnknownHostException: host
Sending PushBullet report
Clean temporary extracted files
Delete D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx.mkv
Delete D:\Torrents\Stargirl.S01E04.1080p.WEB.H264-BTX\stargirl.s01e04.1080p.web.h264-btx
Done ヾ(@⌒ー⌒@)ノ
rednoah
The Source
Posts: 23934 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 11 Jun 2020, 05:26
Strange. Works for me. I suppose manually labeling files as Bookmarks is what makes it not work in your case. I’d label episodes files as either TV Series or nothing at all to let auto-detection take over.
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 11 Jun 2020, 05:31
I have a feed in utorrent labelled bookmarks. Anytime I manually download from the site I if I click bookmark, it automatically goes into my bookmark feed and starts automatically. I've had that for years and its always worked perfectly. Did something with the program change? Anyway for that to not break the sorting? Or just skip using that feature for now?
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 11 Jun 2020, 05:51
I changed my "Bookmarks" feed to "Videos" and its working perfectly! Thanks so much for your help.
Krista1020
Posts: 6 Joined: 10 Jun 2020, 18:21
Post
by Krista1020 » 11 Jun 2020, 06:08
Strange (my problems started in Jan/Feb), at least its working now. It was driving me nuts, kept thinking that something with the script was off lol. I didn't even think to check my labels. So again thank you, really appreciate your help
rednoah
The Source
Posts: 23934 Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:
Post
by rednoah » 14 Sep 2023, 06:23