Merge pull request #31 from AgentK20/tag-nre-fix

Fix ArgumentNullException when channel has no tags
This commit is contained in:
DarkFighterLuke 2025-01-08 23:12:25 +01:00 committed by GitHub
commit ab96b227a1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -126,7 +126,9 @@ namespace Jellyfin.Plugin.TubeArchivistMetadata.TubeArchivist
Type = ImageType.Primary
}
},
Tags = this.Tags.ToArray<string>()
Tags = this.Tags != null ?
this.Tags.ToArray<string>() :
[]
};
}
}