Skip to content

Commit

Permalink
Merge pull request #456 from FernetMenta/sleep
Browse files Browse the repository at this point in the history
fix disconnect on sleep
  • Loading branch information
ksooo authored May 31, 2020
2 parents c2882f7 + 41310e9 commit fe692ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.hts/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.hts"
version="6.1.0"
version="6.1.1"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp, Kai Sommerfeld">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
6.1.1
- fix disconnect on sleep

6.1.0
- Add wake-on-lan

Expand Down
1 change: 1 addition & 0 deletions src/tvheadend/HTSPConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ void HTSPConnection::OnSleep()
Logger::Log(LogLevel::LEVEL_TRACE, "going to sleep (OnSleep)");

/* close connection, prevent reconnect while suspending/suspended */
Disconnect();
m_suspended = true;
}

Expand Down

0 comments on commit fe692ba

Please sign in to comment.