Alternative to using /player/playback/playMedia

darkstorm1308
Sat, 25 Apr 2026 21:24:34 +0000
Dev/API Corner

Hi all,

I’ve recently built an application that turns plex into a custom private personalised radio station based off my music collection.

It essentially builds a curated list of x number of tracks and inserts radio DJ style audio bridges between them. Once the list is ready the app uses this endpoint /player/playback/playMedia to start playback on the specified player.

That endpoint is also called to refresh the queue on the device. For example, if the play queue gets down to a few tracks remaining the track selector builds another list of x number of tracks, adds them to the queue and inserts the radio DJ audio. The queue needs to then be refreshed on the device, to reflect the updated list, so the /player/playback/playMedia endpoint is called.

My issue is that although infrequent, when the refresh is called, it very briefly interrupts playback. Like a very minor skip.

I just wondered if anyone here might have any tips on eliminating the skip? It maybe that something else is available that I hadn’t thought of?

Anyway I’m pretty pleased with the results having been able to add a ton of features to it. Although this skipping issue is pretty small, it is probably the biggest annoyance with my implementation. Any advice would be appreciated.

Best regards

Daniel

1 post - 1 participant