Merges all episodes of a series as a single one with many versions on some edge-cases
On some scenarios, the plugin merges all episodes as a single one.
I'm not 100% sure but it seems to happen when the plugin is scheduled to merge at the same time as a series is being scanned for the first time. I think the plugin is not making sure that the episode is fully scanned and, when grouping, all episodes report the same (unexistent???) data for episode number, causing the plugin to set all episodes as a single group:
var duplications = episodes.GroupBy(x => new {x.SeriesName,x.SeasonName, x.Name,x.IndexNumber, x.ProductionYear }).Where(x => x.Count() > 1).ToList();
I believe a filter should be applied to the episodes to either check if all the fields have been set or if they have been scanned.
This happened to me, all my series got merged into single episodes. Dashboard and Library were not showing a library scan.