Now avaliable on http://www.erspearson.com is a new xAP interface for
SlimServer. See http://www.xapautomation.org for general information on
the xAP home automation protocol.

There has been a .Net-based xAP conduit for SlimServer available for a
few years. This conduit ran as a separate application that connected to
SlimServer using the command line API. It offered pretty good
integration for the typical control of audio playback as well as the
ability to display text messages on the players but it was limited by
the functionality of the command line API and would only run on
Windows. 

This plug-in is entirely written in Perl and uses the SlimServer
software plugin API to add xAP functionality directly into SlimServer
itself.

This is a beta release so I expect there to be bugs. Ideally report
bugs to the xAP developer group on Yahoo! (you'll need to register)
http://groups.yahoo.com/xap_developer - otherwise report them here.

Currently implemented functionality is intended to reproduce that of
the earlier .Net conduit with the addition of BSC control of power and
volume for each player. Since this is a complete re-write with a
different architecture in a different language by a different person
there are likely to be changes in behaviour between the old conduit and
this plugin.

Documentation is still being created but I know there are some folks
out there who are eagerly awaiting this native version (the the old
conduit does not play well with recent versions of SlimServer) so am
releasing it as a beta for feedback. 

The plug-in requires SlimServer v6.5. 

Supported message classes/blocks are: 

Class=xAPBSC.Info, Event, Cmd, Query 

Class=xAP-Audio.Transport       
Audio.Transport 
Audio.Seek 

Class=xAP-Audio.Audio[.Event]   
Audio.Mute 
Audio.Mixer 

Class=xAP-Audio.Query   
Audio.Query 
Audio.Notification 
Track.Query 
Track.Notification 
Playlist.Query 
Playlist.Notification 

Class=xAP-Audio.Schedule[.Event]        
Schedule.Sleep 

Class=xAP-Audio.Playlist        
Playlist.Track 
Playlist.Move 
Playlist.Edit 
Playlist.Album 
Playlist.Repeat 
Playlist.Shuffle

Class=xAP-Audio.Playlist.Event  
Now.Playing 

Class=SliMP3.Transport  
SliMP3.Transport

Class=SliMP3.Server     
Server.Command 
Player.Query 
Player.Notification 
Pref.Query 
Pref.Notification 
PlayerPref.Query 
PlayerPref.Notification 

Class=xAP-OSD.Display   
Display.SliMP3 

Class=SliMP3.Display    
Display.Query 

Class=SliMP3.Button     
Button.Command 
Button.Notification 

Class=SliMP3.IR 
IR.Command 
IR.Notification 

Class=SliMP3.Event      
IR.Event 
Button.Event 
Display.Event 

See
http://www.xapautomation.org/wiki/index.php/Audio_and_Media_Control_Schema
and
http://www.xapautomation.org/wiki/index.php/Basic_Status_and_Control_Schema
for xAP schema details.

There is an option in the config UI to change the schema names between
'SliMP3.*' (for legacy compatability) and 'Slim.*'  which is better
aligned with Slim Devices current product naming. I suggest new
integration work should use the 'Slim' naming convention.

Note that the addressing scheme has been brought into line with current
xAP practice; the players appear as sub-addresses rather than instances
of the main address. And the vendor ID has changed from 'KCS' to
'ersp'.

Old: KCS.SliMP3.<server>.<player> 
New: ersp.slimserver.<server>:<player> 

Edward 

Direct page link:
http://www.edjo.pwp.blueyonder.co.uk/edward/xAP/Slim/slim_main.htm


-- 
erspearson
------------------------------------------------------------------------
erspearson's Profile: http://forums.slimdevices.com/member.php?userid=8425
View this thread: http://forums.slimdevices.com/showthread.php?t=29573

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/plugins

Reply via email to