Repository navigation
feat: add unmatched command for local metadata - #7
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 68f0ab2c05
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
|
|
||
| itemType := anyToString(item.Type) | ||
| if filterType != "all" && itemType != filterType { |
There was a problem hiding this comment.
Handle episode filter against section-level metadata
The episode filter is implemented as an exact type match, but this command fetches section-level items via fetchLibraryItems (which uses /library/sections/{id}/all), so TV entries come through as show rather than episode in this codebase (see how UnwatchedCmd maps episode to show). In practice, plex unmatched --type episode will skip unmatched TV items and can return empty/partial results for normal TV libraries; either map episode to show here or remove episode from the enum/help.
Useful? React with 👍 / 👎.
|
Addressed: now maps to section-level items (same behavior as ), and I added a unit test to cover it. |
|
Addressed: |
|
@codex review |
|
Codex Review: Didn't find any major issues. Chef's kiss. ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Summary
plex unmatchedcommand to list likely unmatched metadata itemsValidation