Files not sorting

Running FileBot from the console, Groovy scripting, shell scripts, etc
Post Reply
Krista1020
Posts: 6
Joined: 10 Jun 2020, 18:21

Files not sorting

Post by Krista1020 »

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 ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files not sorting

Post by rednoah »

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
:idea: Please read the FAQ and How to Request Help.
Krista1020
Posts: 6
Joined: 10 Jun 2020, 18:21

Re: Files not sorting

Post by Krista1020 »

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 ?(?????)?
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files not sorting

Post by rednoah »

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?
:idea: Please read the FAQ and How to Request Help.
Krista1020
Posts: 6
Joined: 10 Jun 2020, 18:21

Re: Files not sorting

Post by Krista1020 »

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 ヾ(@⌒ー⌒@)ノ
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files not sorting

Post by rednoah »

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.
:idea: Please read the FAQ and How to Request Help.
Krista1020
Posts: 6
Joined: 10 Jun 2020, 18:21

Re: Files not sorting

Post by Krista1020 »

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

Re: Files not sorting

Post by Krista1020 »

I changed my "Bookmarks" feed to "Videos" and its working perfectly! Thanks so much for your help.
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files not sorting

Post by rednoah »

Well, I suppose the keyword has changed from ebook to book and the latter would now also match bookmarks as well, though that particular change is not particularly recent:
https://github.com/filebot/scripts/comm ... c27428d369
:idea: Please read the FAQ and How to Request Help.
Krista1020
Posts: 6
Joined: 10 Jun 2020, 18:21

Re: Files not sorting

Post by Krista1020 »

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 :)
User avatar
rednoah
The Source
Posts: 22986
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Files not sorting

Post by rednoah »

I've added additional logging to make it more clear what's going on for the next guy:
https://github.com/filebot/scripts/comm ... 666e9dR311
:idea: Please read the FAQ and How to Request Help.
Post Reply