Hi.
API Beta Version 0.1 is available here:
http://www.purplefoundry.com/public/MZAudioAPIBeta0.1.zipRemove any previous versions before installing this one.
This application is intended for system installers who want to control the application from other devices. Install the application, start up the server and telnet to the server on port 999 (configurable) e.g.:
telnet localhost 999
(NB - I just ran it locally for demo purposes. It is of course accessible across a network. The usual IP routing, firewall rule exceptions etc. apply - B)
;You are connected to AudioServer on GX240 Port:999
? (same as typing help - B)
;Multi Zone Audio Server
;=======================
;Commands:; (Note - commands can be abverated to first 3 characters)
; (n is used to denote a device. 0 is the party virtual device)
;HELp : Lists commands
;STAtus : Lists Play States of all available audio devices
;GET t : Gets all Tracks
; Get t w id='{70E9C9D9-5983-43FD-9D63-7DE08435AB85}' : Track where ID= ...
; Get t w genere='Pop' : Track where Genere= ...
; Get t w Genre/Author/id/Duration/Track/URL =/Like '..' and/or ..
; Get t w Genre/Author/id/Duration/Track/URL =/Like '..' and/or ..
; Get t F0123456 w... : Returns only these fields
;GET p : Get All Playlists
;+VOl n : device volume up 10%
;-VOl n : device volume down 10%
;VOL n value: Set the device's volume(0..100)
;+PA nnn : Add device or devices to Party. +PA 0 adds all. eg. +PARTY 123
;-PA nnn : Remove device from Party. -PA 0 removes all.
;PLAy n {id}: Plays song {id} on device n
;PAUse n : Pause device
;UNPause n : UnPause device
;TPAuse : Toggles Pause, plays next if required
;STOp n : Stops Track
;DBR : Rereads Database
;QGEt q n : Get the Queued items for the device;QSEt q n {id,id}: Set the Que
ued items for the device;NEXt : Play next in queue
;PREv : Play previous in queue
;POS : Returns the Track Positions and Track Lengths for all devices
;POS n msecs: Sets the Track Positions to 'msecs' (in miliseconds)
;POL : Returns True or False if auto reporting of track times is on
;POL secs : Enables Auto reporting of track times and sets to report each 'sec
s' seconds
;;any responses from MZServer that start with a ; are for information only
Then issue some commands and see how it goes. Feedback appreciated. Enjoy.
![Smile [:)]](/emoticons/emotion-1.gif)
B.
PS Remember - it is BETA software