watchstate: Can't sync to Plex?
Hey, First of all thank you for this nice project!
I have an Emby server and am now switching to Plex. I would like to take over the current “seen/unseen” data for my users. I was able to successfully import the data from Emby, but failing to export to Plex.
root@Server /docker/media-server # docker exec -ti watchstate console state:export -v --select-backends 'plex'
[2022-10-27T18:01:34+00:00] NOTICE: DATABASE: Loading changed items since [2022-10-27 18:01:34 UTC].
[2022-10-27T18:01:34+00:00] NOTICE: SYSTEM: Using push mode for [0] backends and export mode for [1] backends.
[2022-10-27T18:01:34+00:00] NOTICE: Export mode start.
[2022-10-27T18:01:34+00:00] NOTICE: SYSTEM: Preloading DirectMapper data.
[2022-10-27T18:01:34+00:00] NOTICE: SYSTEM: Preloading DirectMapper data is complete.
[2022-10-27T18:01:34+00:00] NOTICE: SYSTEM: Exporting play state to [plex].
[2022-10-27T18:01:35+00:00] ERROR: Request for [plex] libraries returned with unexpected [401] status code.
[2022-10-27T18:01:35+00:00] WARNING: SYSTEM: Not updating last export date. [plex] report an error.
[2022-10-27T18:01:35+00:00] NOTICE: SYSTEM: Sending [0] play state comparison requests.
[2022-10-27T18:01:35+00:00] NOTICE: SYSTEM: Sent [0] play state comparison requests.
[2022-10-27T18:01:35+00:00] NOTICE: Export mode ends.
[2022-10-27T18:01:35+00:00] NOTICE: SYSTEM: No play state changes detected.
[2022-10-27T18:01:35+00:00] WARNING: SYSTEM: Not updating last export date for [plex]. Backend reported an error.
I can’t find my error, maybe I can get some help here?
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19 (10 by maintainers)
Hi,
indicates invalid plex token, please check it when you add plex server with correct token it should pick the server identifier automatically if it doesn’t this mean it’s unable to contact the server you can also run the same command with the following flags
-vvv --trace --context