Skip to content

Fix logic errors in deprecated functions filtering#425

Merged
mcarlton00 merged 1 commit into
jellyfin:masterfrom
mcarlton00:kodi-deprecations2
May 21, 2026
Merged

Fix logic errors in deprecated functions filtering#425
mcarlton00 merged 1 commit into
jellyfin:masterfrom
mcarlton00:kodi-deprecations2

Conversation

@mcarlton00

Copy link
Copy Markdown
Member

No description provided.

@mcarlton00 mcarlton00 added the bug Something isn't working label May 21, 2026
@mcarlton00
mcarlton00 merged commit 182a210 into jellyfin:master May 21, 2026
3 checks passed
@mcarlton00
mcarlton00 deleted the kodi-deprecations2 branch May 21, 2026 17:03
video_tag.setTagLine(item_details.tagline)
video_tag.setStudios(item_details.studio)
if item_details.studio:
video_tag.setStudios(item_details.studio)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just curious, why are only studio and production_location treated specially? Is it documented somewhere that these specific fields are optional or something?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those functions accept lists, but if you hand them an empty list they explode. I didn't see that behavior with the ones that accept strings, or at least none of my media triggered errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants