Changed from old manner of webhooks to new, now not working #733
-
|
Emby Server: 4.9.2.6 Hi Guys, Seems My URL for Emby and Plex was http://192.168.178.11:8081/v1/api/backend/Emby/webhook (or Plex instead of Emby) and I changed it today to the new http://192.168.178.11:8081/v1/api/webhook But now watched state in Plex is not being synced in realtime to Emby. If I run a local Import to Plex backend and then Export on Emby then Continue Watching is updated on Emby as expected. Before today I had some issues getting play state synced (but it worked) if I watched something fully on Plex, Emby would sometimes show it as in progress or with a few minutes of the episode remaining. This is why I decided to check Watchstate in the first place and I switched to the new Webhooks format. I am hoping I do not need local HTTPS for the webhook to work? (In the FAQ it written that way as http://192.168.178.11:8081/v1/api/webhook). Cheers in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
|
Hello, You dont need https, check More > events for on_progress events it should show you what is happening |
Beta Was this translation helpful? Give feedback.
-
|
It looks like the on_progress never happened after finishing watching my program
The last was 9 hours ago, when the webhooks had the old format! |
Beta Was this translation helpful? Give feedback.
-
|
I put it in a file Cheers! |
Beta Was this translation helpful? Give feedback.
-
|
Both look correct, the only thing I am wondering is if the Local User being set as Main is wrong and I need to re-add it as a new backend again?
The Emby backend has my userid selected (Steve) |
Beta Was this translation helpful? Give feedback.
-
|
I watched a film but it wasn't marked as played in Emby, run_task.dispatch and process_request marked it as played on_progress wasn't updated (last run 2 hours ago). I'm going to bed now, will look in the morning, but I guess the import/export tasks will have run by then. |
Beta Was this translation helpful? Give feedback.
-
|
Got it all working now, but long story short it was a combination of me renaming all tv show folders, experimenting with Jellyfin (on the same port as Emby) and transitioning from the old webhook method to the new. (example rename below) Caitlin's Way (2000) to Caitlin's Way (2000) {tvdb-78785} via Sonarr's rename utility. It messed up Plex, Emby and Watchstate good and proper. Only way to resolve was to remove Plex and Emby backends, let Plex finish scanning the new folder structure (which reset all watch states) add Plex backend to Watchstate and then after importing "force local play state to this backend" from the backup in Watchstate which restored watched/unwatched on Plex. Then I added Emby and did the same. Webhook sync between Plex and Emby is now working. Watchstate even identified some folders that did not have episode numbers (Specials) that I cleaned up as well so that I don't keep getting those error reports. The only error left is the Monster (2022) show that is mismatched on tvdb and imdb (years old known bug in Plex) |
Beta Was this translation helpful? Give feedback.







It shouldn't have any bearing on plex, i'd suggest stop the container and move /config and start fresh and see if this fixes your issue, the Backend Unique ID could be different as well if you have/did reinstall your plex