Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merges all episodes of a series as a single one with many versions on some edge-cases #32

Open
rubasace opened this issue Feb 23, 2023 · 1 comment

Comments

@rubasace
Copy link

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.

@nitschis
Copy link

nitschis commented Sep 20, 2023

This happened to me, all my series got merged into single episodes. Dashboard and Library were not showing a library scan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants