Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to PVR addon API v4.0.0 #100

Merged
merged 1 commit into from
Sep 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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