Skip to content

Commit

Permalink
Added minimalistic support for PVR Addon API 5.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ksooo committed Jul 7, 2017
1 parent 9073b99 commit b4ed497
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pvr.hdhomerun/addon.xml.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hdhomerun"
version="3.0.7"
version="3.1.0"
name="PVR HDHomeRun Client"
provider-name="Zoltan Csizmadia ([email protected])">
<requires>@ADDON_DEPENDS@</requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.hdhomerun/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
v3.1.0
- Update to PVR addon API v5.3.0

v3.0.7
- Remove of never used addon interface function

Expand Down
5 changes: 5 additions & 0 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES* pCapabilities)
pCapabilities->bSupportsRecordings = false;
pCapabilities->bSupportsRecordingsUndelete = false;
pCapabilities->bSupportsTimers = false;
pCapabilities->bSupportsRecordingsRename = false;
pCapabilities->bSupportsRecordingsLifetimeChange = false;
pCapabilities->bSupportsDescrambleInfo = false;

return PVR_ERROR_NO_ERROR;
}
Expand Down Expand Up @@ -355,4 +358,6 @@ PVR_ERROR GetTimerTypes(PVR_TIMER_TYPE types[], int *size) { return PVR_ERROR_NO
bool IsTimeshifting(void) { return false; }
bool IsRealTimeStream(void) { return true; }
PVR_ERROR SetEPGTimeFrame(int) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; }
PVR_ERROR SetRecordingLifetime(const PVR_RECORDING*) { return PVR_ERROR_NOT_IMPLEMENTED; }
}

0 comments on commit b4ed497

Please sign in to comment.