Kodi Community Forum
[AppleTV-1] How to switch off CrystalBuntu Pin87 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Mac OS X (https://forum.kodi.tv/forumdisplay.php?fid=56)
+---- Thread: [AppleTV-1] How to switch off CrystalBuntu Pin87 (/showthread.php?tid=97373)



[AppleTV-1] How to switch off CrystalBuntu Pin87 - fcluongo - 2011-03-21

object as what the best procedure to turn off and on Apple TV with a crystalbuntu.


- T800 - 2011-03-21

You might want to put this in the mac forum for the AppleTV1:

http://forum.xbmc.org/forumdisplay.php?fid=56


- bircoe - 2011-03-21

Your in the wrong spot for help, Apple TV1 is not iOS based.

However I'll have a go, CrystalBuntu being Ubuntu based would use lirc for it's infrared... modify your lirc config and change the power button so it does a "shutdown -h" i think should achieve what your after...

Something like this might work:

Code:
begin
    prog = irexec
    button = Power
    config = /sbin/shutdown -h
end

If it doesn't work and your ATV catches fire... I take no responsibility.

Edit: I guess I'm wrong...
https://github.com/Evinyatar/atvclient/wiki/