This is also a problem for videos sourced from phones and cameras...
IMG_3204.mov is tagged on import with Season 32, Episode 04.
Yes. I've gotten this too, and had forgotten.
This happens despite the auto import rule that gives these files a Media Sub Type of Home Video.
Right, but which makes sense when you think about it. Carnac goes "first" in order. Tag on Import happens after Carnac. So, by the time the [Media Sub Type] gets set manually by Tag on Import, the erroneous Season and Episode numbers are already there.
And to a great degree, Tag on Import
must come afterwards. Otherwise, it would break much of the utility of Tag on Import rules. If the order was reversed, you couldn't craft Tag on Import rules to "overwrite" any data parsed by Carnac at all. You'd make your "manual" (and perhaps finely crafted changes to "correct flaws" in Carnac) in Tag on Import, but then Carnac would undo them. You also couldn't make a limited rule that only applied to TV Show imports and not Movies, for example (which I do with almost all of my rules).
Plex requires delimiters, so I don't think it's out of line for MC to expect them. Just my 2 cents.
I tend to agree. But if you're going to keep it, I'd much prefer that it at least ignore the ones I listed above, and also things following IMG_ and other similar common "camera filenames".
In the latter case it can be simpler. In this instance it should only apply the Season/Episode parsing
only on videos it determines are TV Shows. It already fairly reliably auto-determines [Media Sub Type] Home Video for camera imports. But it is still adding Season/Episode numbers when they're not TV Show episodes and the logic it is using to do so is pretty darn "fuzzy" (looking for basically any 4-digit numeric string).
But, skipping home video files alone wouldn't really solve my issue. In many of my cases, they aren't actually TV Show episodes, and I do fix the [Media Sub Type] via tag-on-import. But
that doesn't help anyway (and can't, as discussed above). But, more importantly, it happens even on things that
are actually TV Show episodes, but which have the 1080 or 720 strings in the filenames. Every so often I'll import a TV Show episode that just has the Series and Episode Title in the filename (plus random useless junk). If that random useless junk happens to include the resolution, then... They end up in season 10, episode 80 (and thank goodness
that's not usually a valid episode number or Auto-Metadata Lookup would super-bork them.)
I think you
can match [Year] based on a 4-digit string for [Media Sub Type] Movie, as you do now I believe. That works pretty reliably now as it is for me most of the time (though it should also ignore 720 and 1080 because, you know, there weren't movies then). But the Season/Episode triggering should be limited to TV Shows episodes and, IMHO, require
some kind of delimiters. If it is going to keep doing it without delimiters, then it needs to be toned down a bit.