Posts: 22
Joined: Jan 2012
Reputation:
0
2012-11-01, 20:25
Yes, that's it!
I think it just need to check some kind of XBMC "suspend request" flag.
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 230
Joined: Feb 2012
Reputation:
5
herrnst
Team-Kodi Member
Posts: 230
Hm...
@XBMC-Devs: Does anything like "xbmc.abortRequested" exists for this, like "xbmc.suspendRequest"?
Posts: 22
Joined: Jan 2012
Reputation:
0
I found this:
### check if XBMC is shutting down
if xbmc.abortRequested:
log('XBMC abort requested, aborting')
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 22
Joined: Jan 2012
Reputation:
0
I do not know python, but can it be done like this?:
#main loop
while not xbmc.abortRequested:
settings_setup()
process_lcd() #lcd loop
g_lcdproc.SetBackLight(0)
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 22
Joined: Jan 2012
Reputation:
0
2012-11-02, 11:10
Excellent, I will let you know!
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 22
Joined: Jan 2012
Reputation:
0
Daniel, I did not have time to check it yet, maybe tonight, I will definitelly let you know.
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 22
Joined: Jan 2012
Reputation:
0
I have just checked it. It does not dim the display when XBMC suspends.
The core LCD functionality does this though. Looks like it can not be done by a service addon.
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden
Posts: 22
Joined: Jan 2012
Reputation:
0
Thanks for you reply. I have Lcdproc script for unloading/loading, but it does not switch the panel off. It's a good point, but I need to do some research. It's another option in my mind - if your script can check the keyboard, I can send a keypress in a sequence before the suspend command.
Jaro
Acer Aspire Revo 3600 1Gb RAM + Antec Fusion 350 + Sure Electronics 20*4 LCD + Chinavision IR Receiver + Logitech Harmony 525 + XBMCbuntu Eden