2010-09-26, 03:22
Dear developers,
First off, thanks very much for bringing in this skin to us; I see a lot of potentials. Just started using this, so bear with me with my silly question.
First thing I noticed, this skin follows the "default behavior" for the shutdown function (just like the others), which defined in the "Settings", i.e. either shutdown or suspend at any given time. What I was trying to do is to put XBMC/HTPC in the sleep/suspend mode after a certain amount of inactivity and when I press "Shutdown" button in the the shutdown menu (s on keyboard), I'd like to do a proper shutdown of the machine, like when I go to bed at night. To do that, I looked in the "DialogButtonMenu.xml" and found that 4 times XBMC.ShutDown() have been called as "Shutdown Button".
Why we need the very same function four times?. What I'm trying to do is replace this line: <onclick>XBMC.ShutDown()</onclick> by <onclick>System.Exec(/usr/bin/sudo /sbin/shutdown -h now) to get a proper shutdown, whilst "idle" would trigger the "suspend". Is it possible with your skin?
My second question is: How can I add/delete item to/from the individual sub-menu on the Home screen? e.g.when on the homescreen, if I select "Music" and then pres "down arrow" on the remote, a little submenu slides down. What is the file that makes that submenu? Cheers!!
First off, thanks very much for bringing in this skin to us; I see a lot of potentials. Just started using this, so bear with me with my silly question.
First thing I noticed, this skin follows the "default behavior" for the shutdown function (just like the others), which defined in the "Settings", i.e. either shutdown or suspend at any given time. What I was trying to do is to put XBMC/HTPC in the sleep/suspend mode after a certain amount of inactivity and when I press "Shutdown" button in the the shutdown menu (s on keyboard), I'd like to do a proper shutdown of the machine, like when I go to bed at night. To do that, I looked in the "DialogButtonMenu.xml" and found that 4 times XBMC.ShutDown() have been called as "Shutdown Button".
Code:
xbmc@asus: PAL16x9$ grep -n ">XBMC.ShutDown()<" DialogButtonMenu.xml
271: <onclick>XBMC.ShutDown()</onclick>
617: <onclick>XBMC.ShutDown()</onclick>
998: <onclick>XBMC.ShutDown()</onclick>
1429: <onclick>XBMC.ShutDown()</onclick>
1728: <onclick>XBMC.ShutDown()</onclick>
My second question is: How can I add/delete item to/from the individual sub-menu on the Home screen? e.g.when on the homescreen, if I select "Music" and then pres "down arrow" on the remote, a little submenu slides down. What is the file that makes that submenu? Cheers!!