Skip to content

Commit

Permalink
Merge pull request #100 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 5273f25 + dcd39e4 commit 84aa696
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pvr.vbox/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.vbox"
version="2.1.1"
version="2.1.2"
name="VBox TV Gateway PVR Client"
provider-name="Sam Stenvall">
<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.vbox/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
2.1.2
- Updated to PVR API v4.0.0

2.1.1
- Updated to PVR API v3.0.0 (API 1.9.7 Compatibility mode)

Expand Down
3 changes: 1 addition & 2 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,9 +618,8 @@ extern "C" {
}
}

PVR_ERROR DeleteTimer(const PVR_TIMER &timer, bool bForceDelete, bool /*bDeleteScheduled*/)
PVR_ERROR DeleteTimer(const PVR_TIMER &timer, bool bForceDelete)
{
/* TODO: Change implementation to support bDeleteScheduled (introduced with PVR API 1.9.7 */
if (g_vbox->DeleteRecordingOrTimer(timer.iClientIndex))
return PVR_ERROR_NO_ERROR;

Expand Down

0 comments on commit 84aa696

Please sign in to comment.