Skip to content

Conversation

sysmoon14
Copy link

Description

I have added 6 additional plex rules that use the below Plex API endpoint so that marking a movie/show as watched triggers it being added to a collection, even if it hasn't been actively streamed.

https://developer.plex.tv/pms/#tag/Library/operation/libraryMetadataGetUsersTop

The new rules are as follows:

  • [list] Viewed by (username) - including marked as watched
  • [list] Users that saw all available episodes - including marked as watched
  • [list] Users that watch the show/season/episode - including marked as watched
  • Total views - including marked as watched
  • Amount of watched episodes - including marked as watched
  • Times viewed - including marked as watched

Related issue

Feature request:
https://features.maintainerr.info/posts/24/recognize-watched-unwatched-state-of-items-in-plex

Checklist

  • I have read the CONTRIBUTING.md document.
  • I have performed a self-review of my code.
  • I have linted and formatted my code.
  • My changes generate no new warnings.
  • New and existing unit tests pass locally with my changes.

How to test

Add one of the new rules, mark an item as watched and see if it triggers the rule.

@sysmoon14 sysmoon14 marked this pull request as ready for review October 10, 2025 14:48
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.

2 participants