2014-05-01, 22:58
(2014-05-01, 22:16)mcarni Wrote: I see that you wake some of your xbmc non scraping clients, I assume you use some kind of Wake On Lan.
Yes, it's built-in to texturecache.py.
Code:
./texturecache,py wake @network.mac=d0:27:88:0e:7a:42
or configure an appropriate "section" in your texturecache.cfg and specify the section name (@section=name) eg.
Code:
#globals
qaperiod=9999
download.threads = 10
#use the following section as the default
section = rpi
[rpi]
xbmc.host = 192.168.0.8
network.mac=d0:27:88:0e:7a:42
[lounge]
xbmc.host = 192.168.0.12
network.mac=ab:cd:ef:12:34:45
Code:
./texturecache,py @section=lounge wake
to wake the "lounge" PC, and
Code:
./texturecache,py @section=lounge power suspend
(2014-05-01, 22:16)mcarni Wrote: I am not sure if all your non scraping clients are x86 machine, just in case one is a raspberry, since I tried waking over lan my raspberry through wol and etherwake but I couldn't do it, is there any recommendation you could give me?
The Pi doesn't support a suspend mode - once it's powered down (only red light visible) you need to power cycle it to restart and there is no WOL support (just leave it on 24x7).