Skip to content

HOWTO: Commands are working successfully #32

Description

@Zefau

I finally got the commands to work on all my clients.
Here is how it works with Plex now.

The list of clients can be retrieved as usual via /clients.
The attribute protocolCapabilitiesstates which commands are supported by a client. The commands are documented on the Plex Wiki.

To eventually apply the command use the player IP and port, the command and most important the parameter X-Plex-Target-Client-Identifier, which is the machineIdentifier found in /clients.

EXAMPLE
/clients:

<MediaContainer size="4">
	<Server name="Living Room" host="192.168.1.13" address="192.168.1.13" port="32500" machineIdentifier="12345678-ABCD-12AB-9876-ZYX1337ABC" version="2.5.1" protocol="plex" product="Plex for Apple TV" deviceClass="stb" protocolVersion="1" protocolCapabilities="playback,playqueues,timeline"/
</MediaContainer>

URL to call (paste in Browser to try or via GET request):
http://192.168.1.13:32500/player/playback/play?X-Plex-Target-Client-Identifier=12345678-ABCD-12AB-9876-ZYX1337ABC

Once again: Only commands listed in the attribute protocolCapabilities are supported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions