[SCM] kodi-pvr-hts/master: Fix setting epg uid for timers.
tiber-guest at users.alioth.debian.org
tiber-guest at users.alioth.debian.org
Fri Nov 4 23:23:42 UTC 2016
The following commit has been merged in the master branch:
commit dc7866273e270f8d614dbc8e57eb124e356d3d09
Author: Kai Sommerfeld <kai.sommerfeld at gmx.com>
Date: Mon Jun 27 19:59:22 2016 +0200
Fix setting epg uid for timers.
diff --git a/src/Tvheadend.cpp b/src/Tvheadend.cpp
index b761641..fe50f5f 100644
--- a/src/Tvheadend.cpp
+++ b/src/Tvheadend.cpp
@@ -912,7 +912,7 @@ bool CTvheadend::CreateTimer ( const Recording &tvhTmr, PVR_TIMER &tmr )
tmr.iPreventDuplicateEpisodes = 0; // n/a for one-shot timers
tmr.firstDay = 0; // not supported by tvh
tmr.iWeekdays = PVR_WEEKDAY_NONE; // n/a for one-shot timers
- tmr.iEpgUid = (tvhTmr.GetEventId() > 0) ? tvhTmr.GetEventId() : -1;
+ tmr.iEpgUid = (tvhTmr.GetEventId() > 0) ? tvhTmr.GetEventId() : PVR_TIMER_NO_EPG_UID;
tmr.iMarginStart = static_cast<unsigned int>(tvhTmr.GetStartExtra());
tmr.iMarginEnd = static_cast<unsigned int>(tvhTmr.GetStopExtra());
tmr.iGenreType = 0; // not supported by tvh?
--
kodi-pvr-hts packaging
More information about the pkg-multimedia-commits
mailing list