I was busy with a project for a bit, so I didn't come back to this until tonight, so I split it out. Multi-build discussion it is, I guess.
It seems like you're misunderstanding me, Hendrik. This does have unintended consequences, and I've now tested it and I can prove it. Actually, something in this has been broken for quite some time. I just don't use the original-airing-date-based Series naming method (as I mentioned above) so I never noticed. In any case, what you were trying to fix in Carnac with this change is not actually fixed (but worse in some ways) and it did work perfectly in MC previously (but does not in prior builds of MC22 I tried, or even the final build of MC21).
I guess I'll show, not tell.
I understand quite well that you have other patterns that identify years, in Movies for example. If I import a file
Moana (2016).mkv, which is of a sufficient length and type to get classified as a Movie, MC will import it with the following detail:
[Name]: Moana
[Year]: 2016
[Media Sub Type]: Movie
It will then look up that movie in TMDB and will fill the rest of the metadata. Okay, that's good.
Now, how about this. I import the file:
Battlestar Galactica - s01e06 - Episode 6.mkvThis comes in as:
[Series]: Battlestar Galactica
[Season]: 1
[Episode]: 6
Which matches the original series (1978) episode
The Lost Warrior, and gets metadata from TVDB as such. Okay, this is still good.
Now, here's where it gets interesting. I import the file:
Battlestar Galactica (2003) - s1e06 - Episode 6.mkvThis
should match the newer "reimagined" series, season 1, episode 6, titled
Litmus. That is what is intended by that filename:
[Series]: Battlestar Galactica (2003)
[Season]: 1
[Episode]: 6
[Year/Date]:
not filledAnd,
in MC 20.0.130, that is exactly what happens:
Looked up the right info in TVDB. All is good and right with the world. Now, notice, I need the "(2003)" part to be part of the [Series] tag. It
can't be in the [Date] (or [Year]) tag because:
1. I need it to be part of the [Series] tag because that's how TVDB stores that series versus the original one. And...
2. That's not what [Date] is used for on TV Show episodes in any case. The 2003 in this case means "the year the first-ever episode of this particular series first aired, to distinguish it between the "1978 version of Battlestar Galactica, and the newer one". [Date] gets set to the date the episode
itself originally aired, which for a Season 4 episode will be in 2008 or 2009, not 2003. Notice, even in my screenshot above, that s1e06 of the "2003" Battlestar Galactica has a [Year] of 2005 (you can see it in the tooltip). Because the "first full season" of BSG didn't air until a couple years after the "Miniseries" that started it back up (which was in 2003).
Okay. As I show above, in MC 20.0.130, it works correctly. I knew this to be the case because I went through it with a fine-toothed comb with Matt back when Carnac was originally developed. I gave him all sorts of examples of Series that used years just like that and tested to make sure they worked.
It is all busted now, and has been for quite some time. I don't know what or when you did what you did to it to break it, but it doesn't work right as of MC 21.0.90. By then, if that same filename contains a (NNNN) string (where N is a digit), it freaks out. Now, it comes in:
[Name]: Battlestar Galactica
[Series]: Blank
[Season: Blank
[Episode]: Blank
[Date]: 2003
That broken behavior continues right up through today's public build (22.0.59).
So, as of MC 22.0.60, you've changed it, and half-way fixed it, but in some ways you actually just made it much
worse.
If I take that same file, in versions after 22.0.60 and import it, I get...
[Series]: Battlestar Galactica
[Date]: 2003
[Season]: 1
[Episode]: 6
Which causes it to look up as? The episode I pointed to in the first case, of the 1978 series. So, when it does the TVDB lookup, it is NOT pointing to the "reimagined series" episode it should be, but actually to the episode
The Lost Warrior again.
It looks up the wrong show, and tags it incorrectly.
The issue is that:
* You "fixed" the fact that it was breaking when [Series] titles contain what appears to be a Year, by making the rest of the [Series] and other tags properly parse again.
* But, in doing so, [Date] still gets populated with that "2003". It should never be getting that 2003, because that is the SERIES date, not the episode date. But, anyway, that's what you've been doing since back whenever you broke it.
* This, however, makes the lookup "succeed" but it strips the important "(2003)" out of the [Series] tag (as Carnac always does, when something matches, it gets removed from the "rest" of the results).
* And so, it only works if the Series you happen to be looking up is the "original". If it is any of the newer versions (tagged by year) then it will fail. Same would happen with things like Hawaii Five-O, or other series that have been remade.
I'm fairly positive that the "orignal sin" that caused the whole thing to break since MC 20 is that you, at some point, added [Date] parsing into the Carnac parsing for TV Shows
at all. Probably thinking, as Hendrik posted here, what's the big deal, we parse that for movies. But those years in filenames for TV Show episodes are used for something different. They need to be part of the [Series] tag, not filled into the [Date] field. Putting them into [Date] never helps, and causes issues.
I didn't previously realize it had been broken for so long. That's why users are complaining, and that's what needs to be fixed. Put it back to how it was in MC 20.0.130, and all of those people complaining will be happy. What you've done here won't help anyone (and it is better to just have it break and throw up its hands).