Ignoring torrents with "other" label

Support for Windows users
Post Reply
plexternal
Posts: 3
Joined: 26 Apr 2020, 06:12

Ignoring torrents with "other" label

Post by plexternal »

Hello, I have read so many different posts that I'm seeing double. :cry: All I need to do is prevent the AMC script from processing torrents with "other" label. I do not want the files moved, matched, nothing. I want them left in the BitTorrent\_Completed folder as downloaded. I have several older cartoon torrents that I would like to manually match using the GUI and I would like to simply label them individually so they don't get processed. For some reason every torrent I've tested gets processed and moved. I'm sure there is something wrong with my code but I am unsure what.

Amc Script:

Code: Select all

"C:/Program Files/FileBot/filebot.launcher.exe" -script fn:amc --output "C:\Users\Plexus\Downloads\BitTorrent\_Completed" --log-file amc.log --action move --conflict skip -non-strict --def skipExtract=y "seriesFormat=T:/Television/{n.replaceTrailingBrackets()} [{y}]/{s00e00} - {t}" "movieFormat=M:/Movies/{n} [{y}]/{n} [{y}]" "ut_dir=%D" "ut_file=%F" "ut_kind=%K" "ut_title=%N" "ut_label=%L" "ut_state=%S" "plex= 127.0.0.1:TOKEN"
Output example:

Code: Select all

Run script [fn:amc] at [Sun Apr 26 01:48:16 EDT 2020]
Parameter: skipExtract = y
Parameter: seriesFormat = T:/Television/{n.replaceTrailingBrackets()} [{y}]/{s00e00} - {t}
Parameter: movieFormat = M:/Movies/{n} [{y}]/{n} [{y}]
Parameter: ut_dir = C:\Users\Plexus\Downloads\BitTorrent\_Completed\VICE.S07E05.WEB.H264-BTX[rarbg]
Parameter: ut_file = RARBG.txt
Parameter: ut_kind = multi
Parameter: ut_title = VICE.S07E05.WEB.H264-BTX[rarbg]
Parameter: ut_label = other
Parameter: ut_state = 20
Parameter: plex = *****
Input: C:\Users\Plexus\Downloads\BitTorrent\_Completed\VICE.S07E05.WEB.H264-BTX[rarbg]\vice.s07e05.web.h264-btx.mkv
Group: [Series:vice] => [vice.s07e05.web.h264-btx.mkv]
Rename episodes using [TheTVDB]
Auto-detected query: [Vice]
Fetching episode data for [VICE]
Fetching episode data for [The Vice]
Fetching episode data for [Veep]
Fetching episode data for [Voice]
Fetching episode data for [The Voice (NL)]
[MOVE] from [C:\Users\Plexus\Downloads\BitTorrent\_Completed\VICE.S07E05.WEB.H264-BTX[rarbg]\vice.s07e05.web.h264-btx.mkv] to [T:\Television\VICE [2013]\S07E05 - Episode 5.mkv]
Processed 1 files
Notify Plex: [host:]
GET: https://:32400/library/sections/all/refresh
SSLHandshakeException: Illegal given domain name: 
Notify Plex: [host:127.0.0.1, token:TOKEN]
GET: http://127.0.0.1:32400/library/sections/all/refresh?X-Plex-Token=TOKEN
Done ヾ(@⌒ー⌒@)ノ
Any help would be appreciated.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ignoring torrents with "other" label

Post by rednoah »

What does filebot -script fn:sysinfo say?


:idea: If you use --def ut_label=other then files will be handled with Unsorted behaviour:
https://github.com/filebot/scripts/blob ... roovy#L300
:idea: Please read the FAQ and How to Request Help.
plexternal
Posts: 3
Joined: 26 Apr 2020, 06:12

Re: Ignoring torrents with "other" label

Post by plexternal »

I THINK this is what you're asking for:

Code: Select all

C:\Windows\system32>filebot -script fn:sysinfo
FileBot 4.8.5 (r6224)
JNA Native: 5.2.2
MediaInfo: 18.12
7-Zip-JBinding: 9.20
Chromaprint: fpcalc version 1.4.2
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2019-05-15 (r565)
Groovy: 2.5.6
JRE: OpenJDK Runtime Environment 11.0.2
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 7 GB Max Memory / 39 MB Used Memory
OS: Windows 10 (amd64)
Package: MSI
License: FileBot License LICENSE(Valid-Until: 2021-01-11)
I tried --def ut_label=other but got the same result. Would I replace "ut_label=%L" with --def ut_label=other? I honestly don't know what "ut_label=%L" does and have failed to find any info on it so I have just kept it in place. I also assumed that --def ut_label=other would label all files "unsorted" and process them with unsorted behavior. Am I correct in assuming that? I only wanted to ignore those that I actually label within the torrent app because they are alongside movies/TV shows that I want sorted normally. My alternative has been to use a separate torrent app without AMC script that I send those files I don't want sorted to. Either that, or manually revert within the GUI when those items are completed. It's really just a minor inconvenience but I would love to be able to prevent the script from matching/renaming/sorting with "other" label in order to automate the process.
User avatar
rednoah
The Source
Posts: 23930
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Ignoring torrents with "other" label

Post by rednoah »

Well, let's all use the latest release to make sure we're on the same page. ;)


:idea: %L is a variable that uT will replace with an actual value before making the filebot call. Please read the Troubleshooting section in the amc script manual for details.
:idea: Please read the FAQ and How to Request Help.
plexternal
Posts: 3
Joined: 26 Apr 2020, 06:12

Re: Ignoring torrents with "other" label

Post by plexternal »

Just wanted to come back and say thanks and the newest version fixed the issue without any further troubleshooting!
Post Reply