ShokoAnime / ShokoServer

Repository for Shoko Server.
https://shokoanime.com/
MIT License
412 stars 74 forks source link

Add a Setting to Only Group Based on Series you have #912

Open da3dsoul opened 3 years ago

revam commented 1 year ago

@da3dsoul

If my understanding of the codebase is correct, then implementing this requires knowing how the auto group creator works in detail (which is not straight forward), then having the ability to modify it so it only considers local (shoko and anidb exists) series when creating the groups, and not remote (anidb exists, shoko does ot exist) series

Also, for the future then it would be great if you could provide any more details, if any are needed, for how to go about implementing this.

da3dsoul commented 1 year ago

https://github.com/ShokoAnime/ShokoServer/blob/bd5b51a5e010252675f427d1c6b78f7cfa788423/Shoko.Server/Tasks/AutoAnimeGroupCalculator.cs#L126

Make a setting and pass it into this, where you need to make a version that also inner joins on AnimeSeries, thereby only returning the entries you have.