Skip to content

feat(playlist): improve movie curation workflow - #11

Merged
dogbertdev merged 8 commits into
mainfrom
codex/playlist-workflow-improvements
May 25, 2026
Merged

dogbertdev merged 8 commits into
mainfrom
codex/playlist-workflow-improvements

Conversation

@dogbertdev

@dogbertdev dogbertdev commented Apr 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add movies --keys-only, movie de-dupe modes, and OR-style repeated filters for easier curation.
  • Add playlist creation from files/stdin plus dry-run preview support.
  • Add playlist sort for regular playlists, using Plex playlist item IDs and supporting dry-run previews.
  • Add exact-ID metadata tag edits via library item edit --add-tag/--remove-tag for safer curated collections.
  • Preserve original titles/actor roles in movie metadata and fix paged library item fetching/cache keys for large combined libraries.
  • Document the workflow improvements and add regression coverage.

Review Feedback

  • Addressed review feedback by filtering GetMovies results to type=movie before returning/filtering results, with regression coverage for show/episode leakage.
  • Followed up with a structural refactor that moves movie filtering/dedupe into internal/plexclient/movies.go and makes playlist sort issue only the Plex move operations that are actually needed.

Live Plex Work

  • Updated the Martial Arts playlist to 54 items after adding the newly available films.
  • Repaired the Martial Arts collection in Movies (Combined): removed the accidental all-movies tag and re-added it only to the 53 playlist items present in Combined.
  • Sorted the Martial Arts playlist by year ascending; verified the saved order starts at 1954 and ends at 2025.
  • Left 50639 / Mr. Vampire in unsorted movies; it is not present in the section-14 Combined listing.

Validation

  • go test ./...
  • make lint test (golangci-lint skipped locally because it is not installed; all tests passed)
  • Pre-push hook: import formatting, golangci-lint, tests
  • Live CLI smoke checks for playlist add/show, playlist sort dry-run/apply, collection discovery, exact-ID tag edit, and collection membership comparison

@dogbertdev
dogbertdev marked this pull request as ready for review April 11, 2026 07:27

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 87487ffa3e

ℹ️ 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".

Comment thread internal/plexclient/client.go Outdated
@dogbertdev
dogbertdev merged commit cacd761 into main May 25, 2026
3 checks passed
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.

1 participant