-
Notifications
You must be signed in to change notification settings - Fork 198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
markPlayed and markUnplayed Error for medias from Plex Discover #1067
Comments
Using Plex Discover to mark items as played/unplayed is a clever way to do this. +1 for this issue |
9 tasks
Started something: If you could test, would be awesome |
@twolaw I think you should just use these methods in your project directly:
later if #1090 gets merged can use the PlexApi methods. |
Good work guys! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the Bug
Plex Discover allows to get Movies and Shows that user don't have in PMS library.
Problem : the
markPlayed()
andmarkUnplayed()
functions do not work for those medias found withdiscover.provider.plex.tv
it raises a plexapi.exceptions.NotFound.Movies and Shows (found from Plex Discover) watched status can be switched with Plex Client, we shoud be able to do it through Plex API too.
Code Snippets
Expected Behavior
No error raised.
Just like items from user's PMS library.
Additional Context
Requests to switch watched state of items from Plex Discover are :
with data:
And we can check viewCount and lastViewdAt with request :
https://metadata.provider.plex.tv/library/metadata/(ratingKey)/userState
I think this uses the same Plex cloud database (linked to user account) to sync PMS watched state and ratings.
Operating System and Version
Windows 10
Plex Media Server Version
1.29.2.6364
Python Version
3.7
PlexAPI Version
4.13.1
The text was updated successfully, but these errors were encountered: