diff --git a/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs b/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs index 620cfcac7..9d98e9030 100644 --- a/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs +++ b/Shoko.Server/Providers/AniDB/HTTP/AnimeCreator.cs @@ -747,8 +747,10 @@ public static bool CreateTags(List tags, SVR_AniDB_Anime anime) continue; var tag = FindOrCreateTag(rawtag); + if (newTagIDs.Add(tag.TagID)) + continue; + tagsToSave.Add(tag); - newTagIDs.Add(tag.TagID); var xref = RepoFactory.AniDB_Anime_Tag.GetByAnimeIDAndTagID(rawtag.AnimeID, tag.TagID) ?? new(); xref.AnimeID = rawtag.AnimeID;