I'm having trouble trying to override the season number for a couple of series that mismatch with what tvdb thinks it should be.
The RSS feed I'm using identifies the shows by sequence, and considers it a 'new' show with a longer subtitled name. However, tvdb considers it a new season of an ongoing show.
So for example:
the RSS feed has the show entry as:
Lupin III Part V - 02 [1080p].mkv
However, as far as tvdb is concerned, this isn't the 2nd episode of "Lupin III Part V", it's S05E02 of "Lupin III":
https://www.thetvdb.com/?tab=season&seriesid=71863&seasonid=755146&lid=7
How do I set a configuration properly to consider the "02" to be an episode number and manually specify this is season 5? with an end result:
Lupin III - S05E02
There's a similar show that has the same Show Title: Subtitle
numbering problem, so it's not just this specific example.
I've tried a few things that don't work.
thetvdb_lookup: yes
series:
settings:
identified_by: sequence
all:
- Some Well Behaved Show
- Some Other Show
- Lupin III:
alternate_name:
- Lupin III Part V
set:
series_season: 5
tvdb_season: 5
if:
- "series_name == 'Lupin III'":
set:
series_season: 5
tvdb_season: 5
(forgive any typos, manually typed that out as config is on another device)
No matter what I try I still end up with this as the end result:
Lupin III - S01E02.mkv
set
just doesn't seem to work. Neither does if
.
I tried manipulate
but that isn't allowed within the series plugin
I tried setting identified_by: ep
thinking the sequence identifier was throwing things, but then the parser can't find an identifier because the series isn't there.
I considered using ep_regexp
but it needs two regexp groups returned, and i'm not sure how to 'inject' a value that's not in the original string.
(as a side note: i'm trying to match what tvdb says because this ends up in Kodi, which will also identify the show in the same way)
Any ideas how to solve this problem?