[SCM] kodi-pvr-vdr-vnsi/master: send wol on system resume

tiber-guest at users.alioth.debian.org tiber-guest at users.alioth.debian.org
Fri Nov 4 00:20:27 UTC 2016


The following commit has been merged in the master branch:
commit f769559bb9887bf6785a44db868baf11f4974fad
Author: Rainer Hochecker <fernetmenta at online.de>
Date:   Fri Oct 21 07:40:52 2016 +0200

    send wol on system resume

diff --git a/pvr.vdr.vnsi/addon.xml.in b/pvr.vdr.vnsi/addon.xml.in
index ece56d6..515f44d 100644
--- a/pvr.vdr.vnsi/addon.xml.in
+++ b/pvr.vdr.vnsi/addon.xml.in
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <addon
   id="pvr.vdr.vnsi"
-  version="2.6.6"
+  version="2.6.7"
   name="VDR VNSI Client"
   provider-name="FernetMenta, Team Kodi">
   <requires>
diff --git a/src/client.cpp b/src/client.cpp
index 6544e00..61f364a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -363,6 +363,10 @@ void OnSystemSleep()
 
 void OnSystemWake()
 {
+  if (XBMC && !g_szWolMac.empty())
+  {
+    XBMC->WakeOnLan(g_szWolMac.c_str());
+  }
 }
 
 void OnPowerSavingActivated()

-- 
kodi-pvr-vdr-vnsi packaging



More information about the pkg-multimedia-commits mailing list