Plex steuern per HTML/PHP , brauche Hilfe :-)

Ich suche seit längeren eine Möglichkeit wie Plex in IPS einbinden kann, das ich z.B. erfassen kann ob Plex gerade was abspielt.

Leider habe ich bis heute nichts gefunden :frowning:

Aber dafür bin einen kleinen Schritt weitergekommen, ich kann wenigstens Plex ansteuern z.B. Play/Pause usw.

Hier ein Auszug der Doku:

http://{server}:32400/system/players/{player}/{controller}/{command}

server - The IP address or local host name (e.g. "mac-mini.local") of the media server
player - The computer running a Plex client to which you want to issue the remote command. You can get a list of computers running Plex on the network by hitting http://{server}:32400/clients on the current server. This can be the IP address or local host name (e.g. "mac-mini.local") of the computer.
controller - The command controller you wish to use
command - The command to issue

Un hier die Commands :


This controller is accessed via the controller keyword "navigation" when sending commands.
http://MacPro.local:32400/system/players/mac-mini.local/navigation/moveDown
Navigation Commands
The following commands are available for the navigation controller:
moveUp
moveDown
moveLeft
moveRight
pageUp
pageDown
nextLetter
previousLetter
select
back
contextMenu
toggleOSD

Wenn ich das über den Browser mache klappt das einwandfrei, aber wie kann ich das per IPS umsetzten ?

Habe auch noch was mit PHP gefunden https://github.com/nickbart/php-plex, aber daraus werde ich nicht schlau wie ich es benutzen soll.

Wäre super wenn jemand mir da helfen könnte :slight_smile:

Das was du im Browser machst, kannst du in IPS mit z.B. dieser Funktion: http://www.ip-symcon.de/service/dokumentation/modulreferenz/system-informationen/sys-geturlcontent/

paresy