Skip to content

Commit

Permalink
fixed: even though there's no dep on guilib now, we still need the ap…
Browse files Browse the repository at this point in the history
…i version methods defined
  • Loading branch information
opdenkamp committed Mar 6, 2015
1 parent f11a84f commit 254b4e2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pvr.hts/addon.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.hts"
version="2.1.3"
version="2.1.4"
name="Tvheadend HTSP Client"
provider-name="Adam Sutton, Sam Stenvall, Lars Op den Kamp">
<requires>
Expand Down
2 changes: 1 addition & 1 deletion pvr.hts/changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
2.1.3
2.1.4
- Updated to PVR API v1.9.5
- added: avahi discovery
- fixed: lock on exit
Expand Down
11 changes: 11 additions & 0 deletions src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

#include "client.h"
#include "kodi/xbmc_pvr_dll.h"
#include "kodi/libKODI_guilib.h"
#include "kodi/threads/mutex.h"
#include "kodi/util/atomic.h"
#include "kodi/util/util.h"
Expand Down Expand Up @@ -643,4 +644,14 @@ const char * GetLiveStreamURL(const PVR_CHANNEL &_unused(channel))
return "";
}

const char* GetGUIAPIVersion(void)
{
return KODI_GUILIB_API_VERSION;
}

const char* GetMininumGUIAPIVersion(void)
{
return KODI_GUILIB_MIN_API_VERSION;
}

} /* extern "C" */

0 comments on commit 254b4e2

Please sign in to comment.