Skip to content

Commit

Permalink
Merge pull request #92 from FernetMenta/wol
Browse files Browse the repository at this point in the history
send wol on system resume
  • Loading branch information
FernetMenta committed Oct 21, 2016
2 parents dd95ede + f769559 commit 5b47bd0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.vdr.vnsi/addon.xml.in
Original file line number Diff line number Diff line change
@@ -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>
Expand Down
4 changes: 4 additions & 0 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,10 @@ void OnSystemSleep()

void OnSystemWake()
{
if (XBMC && !g_szWolMac.empty())
{
XBMC->WakeOnLan(g_szWolMac.c_str());
}
}

void OnPowerSavingActivated()
Expand Down

0 comments on commit 5b47bd0

Please sign in to comment.