mirror of
https://github.com/tubearchivist/tubearchivist-jf-plugin.git
synced 2026-03-23 20:37:14 +00:00
[PR #31] [MERGED] Fix ArgumentNullException when channel has no tags #67
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tubearchivist/archived-tubearchivist-jf-plugin#67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/tubearchivist/tubearchivist-jf-plugin/pull/31
Author: @AgentK20
Created: 12/1/2024
Status: ✅ Merged
Merged: 1/8/2025
Merged by: @DarkFighterLuke
Base:
master← Head:tag-nre-fix📝 Commits (2)
6697f2bCorrectly handle the possibility of a null-deserialized tags5ff9611Spacing📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
Jellyfin.Plugin.TubeArchivistMetadata/TubeArchivist/Channel/Channel.cs(+3 -1)📄 Description
Fixes https://github.com/tubearchivist/tubearchivist-jf-plugin/issues/12.
As seen in the log lines below, some channels return a channel_tags of null:
It looks like this was intended to be accounted for with the
TagsJsonConverter, but my hunch is that it's not being invoked by the JSON deserializer because the value is null, so there's no object to convert.This change adds a simple null check and, based on my local testing, successfully allows tubearchivist-jf-plugin to fetch channel metadata for channels with no tags.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.