Hi,
Sorry for not posting more context, I figured the questions where generic enough that context was not needed, so thank you for providing the answers.
I also didn't have the time to try and troubleshoot the issue more deeply (although i did search quite a bit), so I didn't want to waste your time.
I use the amc script to auto-symlink downloaded anime shows into an anidb-based media folder for consumption in plex, and sometimes the wrong show is picked up, due to the usual discrepancy in files names. The same script with the same parameters is used to categorize regular tv shows and movies.
In particular the following episodes were mis-identified:
The paths were edited for privacy reasons.
Code: Select all
[SubsPlease] Dungeon ni Deai wo Motomeru no wa Machigatteiru Darou ka S4 - 01 (1080p) [1EFD929B].mkv ->
Anime/Dungeon ni Deai o Motomeru no wa Machigatte Iru Darouka - Familia Myth III/Dungeon ni Deai o Motomeru no wa Machigatte Iru Darouka - Familia Myth III - 01 - Wiene - Dragon's Daughter.mkv
[SubsPlease] Kanojo, Okarishimasu - 13 (1080p) [733174A7].mkv ->
Anime/Kanojo, Okarishimasu/Kanojo, Okarishimasu - 0x13 - Date Movie 13.mkv
[SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv ->
/Anime/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e - 07 - Nothing Is As Dangerous as an Ignorant Friend; a Wise Enemy Is to Be Preferred.mkv
Here's a sample log
Code: Select all
Run script [fn:amc] at [Mon Aug 15 16:00:07 CEST 2022]
Parameter: music = y
Parameter: skipExtract = y
Parameter: ut_kind = multi
Parameter: ut_dir = ~/sonarr/[SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv
Parameter: ut_title = [SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv
Parameter: artwork = false
Parameter: extractfolder = /downloads/extracted
Input: ~/sonarr/[SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv
Group: {Anime=youkoso jitsuryoku shijou shugi no kyoushitsu e} => [[SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv]
Rename episodes using [AniDB] with [Absolute]
Lookup via [Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e, Youkoso, youkoso jitsuryoku shijou shugi no kyoushitsu e s2]
Fetching episode data for [Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e]
Fetching episode data for [Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e 2nd Season]
Fetching episode data for [Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e 3rd Season]
Fetching episode data for [Youkoso]
Fetching episode data for [NHK ni Youkoso!]
Fetching episode data for [Youkoso Japari Park]
Fetching episode data for [Youkoso Lodoss-tou e!]
Fetching episode data for [Youkoso! Sukebe Elf no Mori e]
[OVERRIDE] Delete [~/Anime/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e - 07 - Nothing Is As Dangerous as an Ignorant Friend; a Wise Enemy Is to Be Preferred.mkv]
[SYMLINK] from [~/sonarr/[SubsPlease] Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e S2 - 07 (1080p) [CB6F0C63].mkv] to [~/Anime/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e/Youkoso Jitsuryoku Shijou Shugi no Kyoushitsu e - 07 - Nothing Is As Dangerous as an Ignorant Friend; a Wise Enemy Is to Be Preferred.mkv]
Processed 1 file
My setup is quite unusual, so I didn't really want to request support because I know it's not kosher.
I'm using sonarr to download new episodes, which sends the requests to rtorrent, which ultimately invokes the amc script.
I can't really use the filebot age filter (at least i don't think i can), because i don't always download only recent episodes.
And unfortunately sonarr does not allow specifying separate labels based on the media type, so i could specify more specific options to the amc script based on the label.
For completeness sake:
Code: Select all
filebot -no-xattr -script fn:amc --def music=y --def skipExtract=n -non-strict --encoding utf8 --def ut_kind=multi --log all --log-file amc.log --def "ut_dir=$TORRENT_PATH" "ut_title=$TORRENT_NAME" --output "~/media" --action symlink --conflict override --def artwork=false --def extractfolder="~/extracted"
Code: Select all
filebot -script fn:sysinfo
FileBot 4.9.6 (r9125)
JNA Native: 5.2.2
MediaInfo: 21.09
Tools: unrar/5.61
Extended Attributes: OK
Unicode Filesystem: OK
Script Bundle: 2022-08-15 (r836)
Groovy: 3.0.9
JRE: OpenJDK Runtime Environment 11.0.16
JVM: OpenJDK 64-Bit Server VM
CPU/MEM: 8 Core / 8 GB Max Memory / 53 MB Used Memory
OS: Linux (amd64)
HW: Linux host 5.15.6-xanmod2 #0~git20211202.9a80d50 SMP Thu Dec 2 17:33:26 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
CPU/MEM: Intel(R) Xeon(R) CPU E3-1271 v3 @ 3.60GHz [MemTotal: 33 GB | MemFree: 492 MB | MemAvailable: 27 GB | SwapCached: 30 MB | SwapTotal: 17 GB | SwapFree: 16 GB]
STORAGE: btrfs [/] @ 1.7 TB
USER: myuser
DATA: ~/myuser/.filebot
Package: DEB
License: FileBot License PX33732442 (Valid-Until: 2072-02-12)
Done ヾ(@⌒ー⌒@)ノ