Hallo,
Anbei mal ein paar auszüge aus der Dokumentation des Servers:
Introduction
the Logitech Media Server provides a command-line interface to the players via TCP/IP. After starting the server, commands and queries may be sent by connecting to a specific TCP/IP port. The server will reply echoing the request (for commands) or by returning the requested data (for queries). By default, the server will listen for connections on TCP/IP port 9090. This format is designed for ease of integration into AMX, Crestron and other automation systems.
The end of line separator is line feed ( ASCII decimal 10, hexadecimal 0x0A). The server accepts LF, CR or 0x00 (or any combination thereof) as end of line, and replies with whatever was used for the command. For strings, Logitech Media Server uses the UTF-8 character-set encoding.
To use the command line interface interactively, use the telnet command from your system’s command prompt: telnet localhost 9090 and when it connects, you can start typing commands. Beware that the server expects parameters to be encoded using percent-style escaping (see below); " and \ are not supported as in shell-like environments.
For debugging purposes, CLI formatted commands can be sent using standard in and out. This support is only available on Unix platforms (MacOS X included), and must be enabled by launching the server with the “–stdio” command line option.
Anbei die Beschreibung wie man das Volumen ansteuert:
mixer volume <0 .. 100|-100 .. +100|?>
The “mixer volume” command returns or sets the current volume setting for the player. The scale is 0 to 100, in real numbers (i.e. 34.5 is valid). If the player is muted, the volume is returned as a negative value. Note that players display a 0 to 40 scale, that is, the 0..100 volume divided by 2,5. Likewise, using the “button” command with “volume_up” or “volume_down” parameters increases or decreases the volume by 2,5.
Examples:
Request: “04:20:00:12:23:45 mixer volume ?”
Response: “04:20:00:12:23:45 mixer volume 98”
Request: “04:20:00:12:23:45 mixer volume 25”
Response: “04:20:00:12:23:45 mixer volume 25”
Request: “04:20:00:12:23:45 mixer volume +10”
Response: “04:20:00:12:23:45 mixer volume +10”
Wenn ich bei deinem Baustein SEND_TELNET auf den Eingang Text ‘04:20:00:12:23:45 mixer volume 25 LF’ schreibe wird die Lautstärke des betreffenden Players auf 25% gesetzt, das funktionirt schon wunderbar(Danke).
Nur wie ich denn Response Empfangen kann verstehe ich nicht.
Gruß
Frank