Bug duplicate TV Show Episodes in 12.2
#1
Hi,

the new xbmc version 12.2 adds TV Episodes with the following naming convention "xxx-xxx-s01e19-720p.mkv" as Episode E19 (right!) and Episode 720 (wrong!). This seems to be only in the new 12.2, i downgraded back to 12.1, delete the database entry, rescan the source and everything is fine again.

The debug Log shows in both Versions (12.1 and 12.2) the same result, but the 12.2 creates two entries in the Database Sad

Code:
18:28:18 T:6768   DEBUG: VideoInfoScanner: Found episode match smb://XXX/XXX/XXX/XXX/XXX 1/xxx-xxx-s01e19-720p.mkv (s1e19) [[Ss]([0-9]+)[][ ._-]*[Ee]([0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?)([^\\/]*)$]
18:28:18 T:6768   DEBUG: VideoInfoScanner: Adding multipart episode 720 [^[-_EeXx]+([0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?)]
18:28:18 T:6768   DEBUG: VideoInfoScanner: Found episode match smb://XXX/XXX/XXX/XXX/XXX 1/xxx-xxx-s01e20-720p.mkv (s1e20) [[Ss]([0-9]+)[][ ._-]*[Ee]([0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?)([^\\/]*)$]
18:28:18 T:6768   DEBUG: VideoInfoScanner: Adding multipart episode 720 [^[-_EeXx]+([0-9]+(?:(?:[a-i]|\.[1-9])(?![0-9]))?)]


Is this a Bug?

Thanks in advance
Asrock Vision 3D 241B
Reply
#2
Is it just on one show or multiple shows in that naming format?
Reply
#3
*Puts on psychic hat*

You use episode .nfo files.

There was a bug in 12.1 and earlier where sometimes an .nfo file containing only a single set of episodedetails would be interpreted as actually containing two. The result of this was that if the episode numbers in the .nfo file didn't match the ones in the file name, the .nfo file would be ignored (the default behaviour is that the .nfo file should be used when there's only one set of episodedetails, but take the episode numbers from the file name).

In your case what was happening was your files were always being interpreted as having two episodes - "19" and "720", let's say - XBMC would correctly match the "19" to the one in the .nfo file, but not finding a match to "720" it would ignore the .nfo file (because it thought there were two sets of episodedetails). It would then look online for "720" online and obviously not find it, so it wouldn't get added.

The fixed behaviour in 12.2 just exposes the flaw that was always present in your file naming. Both "episodes" in the file name get assigned the same single set of episodedetails from the .nfo file.
Reply
#4
Hi,

Yes im using nfo Files (scraped with MediaElch & stored on my local NAS)

It happens on all my shows which have a -720p after sXXeXX in the filename, for example s02e04-720p.mkv

The result is, xbmc detects my nfo file (s02e04-720p.nfo) and additional a multipart Episode 720. So that i have in my Tv Show Database two entries for One Episode

s02e04 - Test Episode
S02e720 - Test Episode

Now a Season with original 23 Episodes shows with 46 Episodes.

What is the best way to fix it? Is it the best way that i rename all my Tv Shows which are ending with -720p or -1080p?

Or is there a way that xbmc can do it as in the Old 12.1 Version?

Thanks!
Asrock Vision 3D 241B
Reply

Logout Mark Read Team Forum Stats Members Help
duplicate TV Show Episodes in 12.20