Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
[tvheadend] fix instant recordings when channel has no epg data
Browse files Browse the repository at this point in the history
  • Loading branch information
nemphys committed Jan 4, 2013
1 parent 04258ed commit b2d3fd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/pvr.hts/src/HTSPData.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit b2d3fd0

Please sign in to comment.