Skip to content

Commit

Permalink
Merge pull request #23 from ksooo/pvr-api-4-0-0
Browse files Browse the repository at this point in the history
Update to PVR addon API v4.0.0
  • Loading branch information
ksooo committed Sep 14, 2015
2 parents 11529b2 + 984c976 commit f933e8e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions pvr.vuplus/addon.xml.in
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vuplus"
version="1.11.4"
version="1.11.5"
name="VU+ / Enigma2 Client"
provider-name="Joerg Dembski">
<requires>
<c-pluff version="0.1"/>
<import addon="xbmc.pvr" version="3.0.0"/>
<import addon="xbmc.pvr" version="4.0.0"/>
</requires>
<extension
point="xbmc.pvrclient"
Expand Down
3 changes: 3 additions & 0 deletions pvr.vuplus/changelog.txt
@@ -1,3 +1,6 @@
1.11.5
- Updated to PVR API v4.0.0

1.11.4
- Updated to PVR API v3.0.0 (API 1.9.7 compatibility mode)

Expand Down
2 changes: 1 addition & 1 deletion src/VuData.h
Expand Up @@ -87,7 +87,7 @@ struct VuTimer
time_t startTime;
time_t endTime;
int iWeekdays;
int iEpgID;
unsigned int iEpgID;
PVR_TIMER_STATE state;
int iUpdateState;
unsigned int iClientIndex;
Expand Down
3 changes: 1 addition & 2 deletions src/client.cpp
Expand Up @@ -463,12 +463,11 @@ PVR_ERROR AddTimer(const PVR_TIMER &timer)
return VuData->AddTimer(timer);
}

PVR_ERROR DeleteTimer(const PVR_TIMER &timer, bool bForceDelete, bool /*bDeleteScheduled*/)
PVR_ERROR DeleteTimer(const PVR_TIMER &timer, bool bForceDelete)
{
if (!VuData || !VuData->IsConnected())
return PVR_ERROR_SERVER_ERROR;

/* TODO: Change implementation to support bDeleteScheduled (introduced with PVR API 1.9.7 */
return VuData->DeleteTimer(timer);
}

Expand Down

0 comments on commit f933e8e

Please sign in to comment.