aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorLars Op den Kamp <lars@opdenkamp.eu>2012-10-09 21:07:35 +0200
committerLars Op den Kamp <lars@opdenkamp.eu>2012-10-09 22:29:14 +0200
commit099ff6536eec4fa5eaca39ef918812d3ce2487a5 (patch)
tree14d215aa0f96460757ff7ede0e9bde017c9a218a /lib
parentef1d99651f65dcd693db896331d8b71e73002671 (diff)
[pvr] added TriggerEpgUpdate to the PVR interface, so an add-on can force an EPG update for a channel
Diffstat (limited to 'lib')
-rw-r--r--lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp b/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
index 3c2db2f998..10f0056aac 100644
--- a/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
+++ b/lib/addons/library.xbmc.pvr/libXBMC_pvr.cpp
@@ -141,6 +141,14 @@ DLLEXPORT void PVR_trigger_recording_update(void *hdl, void* cb)
((CB_PVRLib*)cb)->TriggerRecordingUpdate(((AddonCB*)hdl)->addonData);
}
+DLLEXPORT void PVR_trigger_epg_update(void* hdl, void* cb, unsigned int iChannelUid)
+{
+ if (cb == NULL)
+ return;
+
+ ((CB_PVRLib*)cb)->TriggerEpgUpdate(((AddonCB*)hdl)->addonData, iChannelUid);
+}
+
DLLEXPORT void PVR_free_demux_packet(void *hdl, void* cb, DemuxPacket* pPacket)
{
if (cb == NULL)