I want to use the server API to change the play queue in the macos plex player

Server Version#: 1.43.0.10492
Player Version#: 1.112.0.359-0d79a49f

I am trying to build desktop app that uses the Plex server API to do certain things, such as setting ratings, applying tags etc, while media is playing in the local mac plex player app.

I’ve found that I can use the plex server API to set tags and ratings, but I have also tried to create something that adds new files to the play queue.

This initially seemed to work, as far as the API is confirmed - I can put new items into what looks like the current play queue. If I start a new play queue in the app with something playing, the play queue on the server shows the currently playing item when queried using the API. I can then add things to it using the server API.

But this has no impact on the play queue seen in the player. It’s almost as if it’s not talking to the server where play queues are concerned. So effectively it doesn’t work

Can anyone explain what might be going wrong?

Not sure if I’ve shared enough details for anyone to answer. hopefully I have.

This sounds like a problem I had to solve with my Radio DJ application. Changes to the queue are not automatically reflected on the device, you have to force an update using the /player/playback/playMedia (ref)endpoint. However, for me it’s not without side effects, I get a little ‘skip’ in playback when the queue is refreshed…minor…but quite annoying.