fallback map

All your suggestions, requests and ideas for future development
Post Reply
kise
Posts: 19
Joined: 17 Sep 2019, 21:28

fallback map

Post by kise » 12 Oct 2019, 00:21

Hi,

is it possible to add a feature, where we could specify list of titles to ids for filebot-cli where it could pick up the correct listing? for example, right now it's new anime season, and i had problems with few shows such as "Shokugeki no Soma S4"

right now it's matching anidb-10901 instead of anidb-14951

User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fallback map

Post by rednoah » 12 Oct 2019, 00:49

Screenshots? Logs? Paths?

Please click the link in my signature and read it. ;)
:idea: Please read the FAQ and How to Request Help.

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 12 Oct 2019, 18:25

rednoah wrote:
12 Oct 2019, 00:49
Screenshots? Logs? Paths?

Please click the link in my signature and read it. ;)
Hi sorry forgot about logs, here is an example of show that has been released almost two weeks ago now anidb-14908

Code: Select all

Locking /home/media/src/logs/amc/2019_10_12.log
Run script [fn:amc] at [Sat Oct 12 21:20:20 AST 2019]
Parameter: ut_dir = [HorribleSubs] Val x Love - 02 [1080p].mkv
Parameter: ut_title = [HorribleSubs] Val x Love - 02 [1080p].mkv
Parameter: music = false
Parameter: skipExtract = true
Parameter: artwork = false
Parameter: ut_kind = multi
Parameter: minFileSize = 100
Parameter: minLengthMS = 5
Activate License ****
Input: /home/media/completed/anime/[HorribleSubs] Val x Love - 02 [1080p].mkv
Group: [Anime:val x love] => [[HorribleSubs] Val x Love - 02 [1080p].mkv]
Rename episodes using [AniDB]
Auto-detected query: [val x love, val x]
Failed to fetch episode data: [val x love, val x]
CmdlineException: Failed to match files to episode data
Finished without processing any files
Abort (×_×)
i cleared cache via filebot -clear-cache just to be sure

the show is listed in

https://anidb.net/anime/14908

User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fallback map

Post by rednoah » 13 Oct 2019, 01:38

Looks good to me. Here's what I get:

Code: Select all

filebot -rename *.mkv --db AniDB --action TEST -non-strict
Rename episodes using [AniDB] with [Absolute Order]
Auto-detected query: [Val x Love, val x]
Fetching episode data for [Val x Love]
[TEST] from [[HorribleSubs] Val x Love - 02 [1080p].mkv] to [Val x Love - 02 - The Binding Maiden.mkv]
Processed 1 files

:idea: I'm using the latest revision: https://get.filebot.net/filebot/BETA/
:idea: Please read the FAQ and How to Request Help.

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 13:17

rednoah wrote:
13 Oct 2019, 01:38
Looks good to me. Here's what I get:

Code: Select all

filebot -rename *.mkv --db AniDB --action TEST -non-strict
Rename episodes using [AniDB] with [Absolute Order]
Auto-detected query: [Val x Love, val x]
Fetching episode data for [Val x Love]
[TEST] from [[HorribleSubs] Val x Love - 02 [1080p].mkv] to [Val x Love - 02 - The Binding Maiden.mkv]
Processed 1 files

:idea: I'm using the latest revision: https://get.filebot.net/filebot/BETA/
hi sorry i forgot about the issue until now, please take look at the long

Code: Select all

[box ~/test/foo] touch '[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].mkv'
[box ~/test/foo] fbot -rename *.mkv --db AniDB --action TEST -non-strict
Rename episodes using [AniDB] with [Absolute Order]
Auto-detected query: [Sword Art Online Alicization War of Underworld, foo]
Fetching episode data for [Sword Art Online]
Fetching episode data for [Sword Art Online: Alicization - War of Underworld]
Fetching episode data for [Sword Art Online: Alicization - War of Underworld (2020)]
Fetching episode data for [Sword Art Online: Alicization]
Fetching episode data for [Furi Kuri]
[TEST] from [/media/test/foo/[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].mkv] to [/media/test/foo/Sword Art Online Alicization - 01 - Underworld.mkv]
Processed 1 files
[box ~/test/foo] fbot -version
FileBot 4.8.6 (r6806) / Java(TM) SE Runtime Environment 13 / Linux 4.19.0-0.bpo.5-amd64 (amd64)
[box ~/test/foo]


User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fallback map

Post by rednoah » 29 Oct 2019, 14:24

Too many shows with the same name at this point. The Underworld title match probably didn't help either.


I recommend using a --filter and since you're processing newly release files, the age filter approach should work particularly well for you:
viewtopic.php?t=2127

Code: Select all

--filter "age < 7"
:idea: Please read the FAQ and How to Request Help.

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 14:54

rednoah wrote:
29 Oct 2019, 14:24
Too many shows with the same name at this point. The Underworld title match probably didn't help either.


I recommend using a --filter and since you're processing newly release files, the age filter approach should work particularly well for you:
viewtopic.php?t=2127

Code: Select all

--filter "age < 7"
I will see how it's perform in the new few weeks and report back.

Thank you

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 15:22

rednoah wrote:
29 Oct 2019, 14:24
Too many shows with the same name at this point. The Underworld title match probably didn't help either.


I recommend using a --filter and since you're processing newly release files, the age filter approach should work particularly well for you:
viewtopic.php?t=2127

Code: Select all

--filter "age < 7"
i tested the filter you gave me, it did work however it will match all content to latest episode.

for example

Code: Select all

[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].mkv
[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 02 [1080p].mkv
[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 01 [1080p].mkv
all of them will be come

Code: Select all

[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].mkv
[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].3.1.mkv
[HorribleSubs] Sword Art Online - Alicization - War of Underworld - 03 [1080p].3.2.mkv
i used the filter that was in your link

Code: Select all

--filter 'age < 7 || !model.any{ it.age < 7 }'

User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fallback map

Post by rednoah » 29 Oct 2019, 16:05

You'll have to adjust the filter to your circumstances and use case.

7 days will probably only include the most recently aired episode, which is some times what we want.

Use 90 days for good measure if you want to include all recently aired episodes.
:idea: Please read the FAQ and How to Request Help.

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 16:22

rednoah wrote:
29 Oct 2019, 16:05
You'll have to adjust the filter to your circumstances and use case.

7 days will probably only include the most recently aired episode, which is some times what we want.

Use 90 days for good measure if you want to include all recently aired episodes.
I see is there a way to pass the anidb or specify the actual title name to look for for example,

Code: Select all

filebot --action move -rename "sword art online - 01.mkv" --db AniDB --db-anidb-id 123

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 16:33

never mind i think i figure it out

Code: Select all

fbot -rename *.mkv --db AniDB --action TEST -non-strict --filter "id == 14796"

User avatar
rednoah
The Source
Posts: 16803
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: fallback map

Post by rednoah » 29 Oct 2019, 16:49

If you're doing things manually, then you can use the numeric ID:

Code: Select all

filebot -rename *.mkv --db AniDB -non-strict --q 14796
:idea: Please read the FAQ and How to Request Help.

kise
Posts: 19
Joined: 17 Sep 2019, 21:28

Re: fallback map

Post by kise » 29 Oct 2019, 17:04

i just have regular deluge setup, for shows that are problematic i'll just use different automated script to pick the correct id from list.

Post Reply