-
Notifications
You must be signed in to change notification settings - Fork 22
WakeOnLAN (WOL) support #89
Description
Thank you for your great work. I am wondering if it is possible to have WoL support for a player? At least, I don't think LMS-uPnP has this? Basically, I have a Zidoo Z3000 that does not have a proper network standby but does respond to a WoL packet to wake-up. I have timeout set at -1, so the Zidoo does not disappear from the players list on LMS but when I try to play something to it when it is off, it tries for a few seconds, gives up and the player disappears off my player list.
Entries in upnpbridge.log:
[18:26:13.509] output_http_thread:396 [0x62ef20]: exited thread index:1 (slot:0)
[18:26:13.509] output_flush:728 [0x62ef20]: flush output buffer
[18:26:13.509] sendSTAT:165 [0x62ef20]: STAT:[STMf] msplayed 0
[18:26:13.509] AVTStop:180 [0x6b6120]: uPNP stop (cookie 0xd)
[18:26:19.657] UpdateThread:1131 [0x6b6120]: removing unresponsive player (Z3000 PRO)
[18:26:19.657] slimproto_close:957 [0x62ef20] slimproto stop for Z3000 PRO
[18:26:19.757] output_flush:728 [0x62ef20]: flush output buffer
[18:26:19.757] output_close:763 [0x62ef20] close media renderer
I am wondering if it is possible to attempt a WoL packet before giving up? Perhaps in UpdateThread() in squeeze2upnp.c? As far as I can tell, it is not possible to implement this within the plugin PERL code?