if you have a window object myWindow, you can remove the iconbar with
the following code:
Code:
--------------------
myWindow:setShowFrameworkWidgets(false)
--------------------
it sounds like you want to update the iconbar with xbmc-specific
stuff...you can do that like so...
Code:
--------------------
-- bring in iconbar object
local iconbar = iconbar
-- as an example, set iconbar mode icon to stop
iconbar:setPlaymode('stop')
--------------------
You probably need to be careful to disconnect from any connected
squeezebox when you do this though, because any playerstatus update
from the server that comes in will update the iconbar on its own, which
is probably not what you want.
The iconbar stuff (and lots of other things in the
squeezeplay/src/share/jive area are documented in POD format. If you
are using Linux or Mac for development, accessing this is as simple as
typing `perldoc <filename>`.
This is the output of `perldoc squeezeplay/src/share/jive/Iconbar.lua`
Code:
--------------------
NAME
jive.Iconbar - icon raw at the bottom of the screen
DESCRIPTION
The Iconbar class implements the Jive iconbar at the bottom of the
screen. It refreshes itself every second.
SYNOPSIS
-- Create the iconbar (this done for you in JiveMain)
iconbar = Iconbar()
-- Update playmode icon
iconbar:setPlaymode('stop')
-- force iconbar update
iconbar:update()
FUNCTIONS
Iconbar:setPlaymode(val)
Set the playmode icon of the iconbar. Values are nil (off), "stop",
"play" or "pause".
Iconbar:setPlaylistMode(val)
Set the playlistmode of the iconbar. Values are nil (no mode), 1 for
playlist mode and 2 for party mode. When not 1 or 2, setRepeat()
Iconbar:setRepeat(val)
Set the repeat icon of the iconbar. Values are nil (no repeat), 1 for
repeat single track and 2 for repeat all playlist tracks.
Iconbar:setAlarm(val)
Sets the alarm icon on the iconbar. Values are OFF and ON
Iconbar:setSleep(val)
Sets the sleep icon on the iconbar. Values are OFF (Sleep Off), and ON
(Sleep On)
Iconbar:setShuffle(val)
Set the shuffle icon of the iconbar. Values are nil (no shuffle), 1 for
shuffle by track and 2 for shuffle by album.
Iconbar:setBattery(val)
Set the state of the battery icon of the iconbar. Values are nil (no
battery), CHARGING, AC or 0-4.
Iconbar:setWirelessSignal(val)
Set the state of the network icon of the iconbar. Values are nil (no
network), ERROR or 1-3.
Iconbar:setServerError(val)
Set the state of the SqueezeCenter connection. Values are nil, OK or
ERROR.
Iconbar:update()
Updates the iconbar.
Iconbar()
Creates the iconbar.
LICENSE
Copyright 2010 Logitech. All Rights Reserved.
This file is licensed under BSD. Please see the LICENSE file for
details.
--------------------
cheers,
#!/ben
--
bklaas
Logitech Developer:
Squeezeplay/SqueezeOS/SqueezeboxController/SqueezeCenter
Community Developer: Nokia770Skin
http://www.last.fm/user/bklaas/
'KHAAAN!' (http://khaaan.com/)...'BUNNIES!'
(http://home.pacbell.net/bettychu/2003allbreedbisris/BIS.html)
------------------------------------------------------------------------
bklaas's Profile: http://forums.slimdevices.com/member.php?userid=58
View this thread: http://forums.slimdevices.com/showthread.php?t=78850
_______________________________________________
jive mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive