1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2024-12-21 23:32:27 +00:00

Fixed: Linking autotags with tag specification to all tags

(cherry picked from commit a929548ae38d2c5504b961f22131897508d26470)
This commit is contained in:
Bogdan 2024-09-05 14:54:39 +03:00
parent c26c0d5bd6
commit 2170ada8a2

View file

@ -200,7 +200,7 @@ private List<int> GetAutoTagIds(Tag tag, List<AutoTag> autoTags)
{
foreach (var specification in autoTag.Specifications)
{
if (specification is TagSpecification)
if (specification is TagSpecification tagSpecification && tagSpecification.Value == tag.Id)
{
autoTagIds.Add(autoTag.Id);
}