ralphy wrote: 
> Commented out
> 
> https://github.com/ralph-irving/jivelite/blob/master/share/jive/jive/ui/Framework.lua#L515
> 
> and removed. You'll need to add back the squeezepaly sources I
> referenced earlier and modify them to use aplay instead of the
> squeezeplay audio buffer.

Thanks Ralphy - I haven't had a go at that yet, but probably will.

In the meantime, I made a little applet to turn the current player on or
off.  Then I realised that, in keeping with the idea that Jivelite on a
Joggler is all about controlling the whole LMS system, it should be able
to control the power on all available players.  So I extended it to
include them all.

[image:
http://www.cjh.me.uk/MyPhotobucket/cache/DIYHifi/Jivelite/jivelite0018_512.jpg]

It's really simplistic, and will probably fail in some situations, but
it seems to work.  The existing SelectPlayer applet has all sorts of
checks, whereas my JogglePlayerPower applet just iterates through the
player list with 'appletManager:callService("iteratePlayers")', and uses
'player:isPowerOn()' and 'player:setPower()' to check and set the player
power.  One situation that I know it doesn't deal with is if a group
player (e.g. 'Downstairs' above) changes the power state of an
individual player, that change isn't reflected in the menu until the
menu is backed out of and then re-entered.  I don't know how to change
the state of a check box that isn't the one in the current callback
function.  But I can live with that quirk - for now it's useful to be
able to control other players without having to make them the current
player.


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=110040

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

Reply via email to