Permalink
Browse files

Merge pull request #136 from nemphys/hts-instant-rec-fix

[tvheadend] fix instant recordings when channel has no epg data.
  • Loading branch information...
2 parents b532da9 + f7eb7a3 commit 3b13e4c51f9654655bcce2f49e6ad7d5d5f3bc5e @opdenkamp committed Jan 5, 2013
Showing with 6 additions and 2 deletions.
  1. +1 −1 addons/pvr.hts/addon/addon.xml.in
  2. +4 −0 addons/pvr.hts/addon/changelog.txt
  3. +1 −1 addons/pvr.hts/src/HTSPData.cpp
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hts"
- version="1.6.11"
+ version="1.6.12"
name="Tvheadend HTSP Client"
provider-name="Lars Op den Kamp, Team XBMC">
<requires>
@@ -1,3 +1,7 @@
+1.6.12
+
+- fix instant recordings when channel has no epg data
+
1.6.11
- disable read timeout check while the stream is paused
@@ -558,7 +558,7 @@ PVR_ERROR CHTSPData::AddTimer(const PVR_TIMER &timer)
htsmsg_t *msg = htsmsg_create_map();
htsmsg_add_str(msg, "method", "addDvrEntry");
- if ((GetProtocol() >= 6) && timer.iEpgUid)
+ if ((GetProtocol() >= 6) && timer.iEpgUid > 0)
{
htsmsg_add_u32(msg, "eventId", timer.iEpgUid);
htsmsg_add_s64(msg, "startExtra", timer.iMarginStart);

0 comments on commit 3b13e4c

Please sign in to comment.