Skip to content

Any way to modify this to be able to reset watched status? #5

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

Open
douginoz opened this issue Aug 1, 2022 · 5 comments
Open

Any way to modify this to be able to reset watched status? #5

douginoz opened this issue Aug 1, 2022 · 5 comments

Comments

@douginoz
Copy link

douginoz commented Aug 1, 2022

Would it be possible to modify or enhance this to be able to reset the watched status of all media for a given local/home user? For instance, if I have a local home user 'Bill', I'd like to reset everything to unwatched via a script I can call whenever I want.

I can see that this code looks for existing watched media during import to avoid duplicating, so it's not as simple as just modifying the output of the export file before importing it again. Perhaps there's an entire table that could just be dropped, and thus eliminating the watched status for everything for that user?

@mlsmithjr
Copy link
Owner

mlsmithjr commented Aug 1, 2022 via email

@douginoz
Copy link
Author

douginoz commented Aug 2, 2022

Are you saying that this is a good idea for an enhancement but it's currently not possible, and you'll consider adding this ability?

One thing that Reddit users are saying is that, as of a recent change to plex, changing watched status for a user for an object in one plex server is apparently a global change to all plex servers that user connects to. In this case the user is a local home user with no connections to any other systems so this wouldn't matter.

@douginoz
Copy link
Author

douginoz commented Aug 2, 2022

Also when you say, "But you should..." does this mean that I can do this with the current version? If so, how?

@mlsmithjr
Copy link
Owner

mlsmithjr commented Aug 2, 2022 via email

@douginoz
Copy link
Author

douginoz commented Aug 2, 2022

That would work. I'd only do an export/edit/import (or export/stop plex/edit/import/start plex) with no delays, so there's no chance of any changes happening in between.

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

No branches or pull requests

2 participants