Skip to content

Skip null entries in the Plex library sections list - #222

Merged
rowkav09 merged 1 commit into
mainfrom
fix-sections
Oct 3, 2026
Merged

rowkav09 merged 1 commit into
mainfrom
fix-sections

Conversation

@rowkav09

@rowkav09 rowkav09 commented Oct 3, 2026

Copy link
Copy Markdown
Member

A null entry in Directory made testConnection throw a raw TypeError instead of a connection error. Route the list through plexRows like the other readers.

The new test fails without the change and passes with it. Checked against mocked Plex responses only, not a live server.

Fixes #221.

A null entry in Directory made testConnection throw a raw TypeError instead of a connection error. Route the list through plexRows like the other readers.

The new test fails without the change and passes with it. Checked against mocked Plex responses only, not a live server.
@codecov

codecov Bot commented Oct 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@rowkav09
rowkav09 merged commit 499b5f5 into main Oct 3, 2026
9 checks passed
@rowkav09
rowkav09 deleted the fix-sections branch October 3, 2026 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Plex connection test throws a raw TypeError when the sections list has a null entry

1 participant