Copying Managed user watch status to admin account

For a while I used plex-sync (GitHub - jacobwgillespie/plex-sync: Command line utility for synchronizing Plex Media Server watched / seen status between multiple servers) to synchronize my different user’s watch statuses from my Mac and Synology, including the main admin account and managed user, but now I don’t want to use the Managed User anymore (esp since the new Discovery feature doesn’t work with Managed Users). Previously I enabled the PMS token in logs so I could use tokens to sync accounts (I could find tokens for the Home and Managed user separately) using the plex-sync script, but I see you can no longer enable tokens in the logs. My tokens have changed since I reinstalled on a new M1 Macbook Pro. I can find the main user’s token using the view XML from a library item’s Get Info but I can’t get the token for a Managed User this way.

Now, I’d like to get rid of my Managed User but since it was the main active account, it has basically all of our watch statuses for TV and movies - thus before deleting the Managed User, I need to sync it’s watched statuses to the admin (Home) user.

Can someone help me sync the Managed user to the main admin account? I found these but they seem really arcane and hard to do with very thin documentation. For example, the transfer-plex-user-viewstate python script has PC and linux examples but not Mac, and this version of MacOS (for M1) doesn’t have python installed.

https://hub.docker.com/r/lusky3/plex-db-sync

Any help would be greatly appreciated!

OK I installed Python3 and used the script in transfer-plex-user-viewstate.py (GitHub - cetteup/transfer-plex-user-viewstate: Transfer Plex viewstate information (watched/unwatched, view progress and ratings) between users) but if I enter:

python3 transfer-plex-user-viewstate.py -p ~/Library/Application\ Support/Plex\ Media\ Server/Plug-in\ Support/Databases/com.plexapp.plugins.library.db

I get a bunch of errors:


`Traceback (most recent call last):`
`File "/Users/username/Desktop/transfer-plex-user-viewstate-main-1/transfer-plex-user-viewstate.py", line 5, in <module>`
`from tabulate import tabulate`
`File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/tabulate.py", line 16, in <module>`
`from collections import Iterable`
`ImportError: cannot import name 'Iterable' from 'collections' (/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/collections/__init__.py)`

I really have no idea what I’m doing!

The author fixed it! According to the author: “The issue was caused by an import in the tabulate library. They released a newer version which does not have the same issue when used with python 3.10.” - the author fixed the requirements.txt file and I re-downloaded the files and it works now!

I have successfully migrated my Managed User to the main Home account and have deleted the Managed user!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.