Plex-Movie-Poster-Display icon indicating copy to clipboard operation
Plex-Movie-Poster-Display copied to clipboard

Research Plex Webhooks

Open MattsShack opened this issue 4 years ago • 4 comments

Research Plex Webhooks and see if it can be useful in future PMPD versions. https://support.plex.tv/articles/115002267687-webhooks/

MattsShack avatar Feb 18 '21 17:02 MattsShack

Any ideas as to what you may want to do with webhooks?

ZeroCoolGOS avatar Feb 18 '21 19:02 ZeroCoolGOS

I am not 100% sure yet. :)

I like the idea of the Plex server notifying PMPD when new media is being played instead of PMPD polling the Plex server every X seconds. ( That is the original idea that got me started me looking at webhooks. ) I think once PMPD is notified it will still need to check the Plex server for some information (Example progress bar updates), however until I get a test setup working I am not sure.. Right now there are a lot of unknowns...

MattsShack avatar Feb 18 '21 20:02 MattsShack

Cool. Ya I was thinking about that too. I have played with the webhooks in the past a bit but nothing in depth so it will be a fun experiment.

Just an FYI: I will have a PR coming your way in the next day or so to address a few bugs but there are a few more "drastic" changes with that. But it should help us in the long run to build out more functions and features :)

ZeroCoolGOS avatar Feb 18 '21 20:02 ZeroCoolGOS

How far are you at coding the webhook reader?

ZeroCoolGOS avatar Feb 19 '21 07:02 ZeroCoolGOS