How would I go about clearing the watched status of an entire user. At some point I had an issue where watched status was synced to all users which was incorrect so now want to reset this for a specific user.
I’ve tried to remove the user completely and re-add them but the problem persists.
I am a software developer by trade so if you can point me in the right direction I’m sure I’ll be able to sort it out but if it can be updated on a library level it might not be the end of the world. Just scared that content no longer available in the libraries might still stay as watch in the database.
Yes, that will happen. Plex is like an elephant and never forgets. It’s intentional so if you remove a movie, then add it back later, the status will still be there. You’ll have to edit the database to totally remove that info.
You basically want to run an SQL statement to remove all the entries from 1 specific table for that user. You should first shut down PMS, then you’ll need to identify the user id.
SELECT id, name FROM accounts;
This will give a list of your users and their ID. Then the removal.
DELETE FROM metadata_item_settings WHERE account_id = 999;
Change the 999 to match the user you are interested in.