PlexPy - merge or consolidate users viewing history

Author Johnny Josefsson on November 11, 2017 | Print | Bookmark
If you're web sessions for some reason has expired and your
viewing something that session history will not be added to
your users session history.
Or if a user has been deleted by mistake and recreated or
moved from an old version to the new PlexPy version you
can merge the user session history with this procedure.

UPDATE session_history SET user = replace( user, '', '' ) WHERE user LIKE 'old_username';
UPDATE session_history SET user_id = replace( user_id, '', '' ) WHERE user_id LIKE 'old_user_id';

Was this article helpful?

Yes No

Category: PlexPy

Last updated on November 11, 2017 with 424 views