My home automation system reads out the synopsis of films/shows I start to play on plex. Part of this involves using the api to pause playback, while the synopsis is read, and then resuming it.
This recently stopped working. After some investigation I discovered the plex-token used in the web request for pause/play had changed. Updating this got everything working again.
I was wondering, what can cause the plex-token to be changed? I’m not aware of anything I’ve done, other than the standard updates to PLMS.
That’s a bit of a pain! I’ll have to keep editing my code, unless I can code a method to get the token.
I’m not sure how long my token remained unchanged, but think it was quite some time, I’m sure more than a few months. I’ve not changed the password, or removed/added any devices