Skip to content

Commit

Permalink
Merge pull request #4 from hudokkow/platform
Browse files Browse the repository at this point in the history
Switch to libplatform
  • Loading branch information
hudokkow committed May 5, 2015
2 parents bd2c01f + c56fef4 commit cf13773
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 14 deletions.
4 changes: 3 additions & 1 deletion CMakeLists.txt
Expand Up @@ -9,8 +9,10 @@ enable_language(CXX)
find_package(TinyXML REQUIRED)
find_package(kodi REQUIRED)
find_package(kodiplatform REQUIRED)
find_package(platform REQUIRED)

include_directories(${kodiplatform_INCLUDE_DIRS}
${platform_INCLUDE_DIRS}
${KODI_INCLUDE_DIR}
${TINYXML_INCLUDE_DIRS})

Expand All @@ -21,7 +23,7 @@ set(DVBVIEWER_SOURCES src/client.cpp
src/RecordingReader.cpp
src/TimeshiftBuffer.cpp)

set(DEPLIBS ${kodiplatform_LIBRARIES} ${TINYXML_LIBRARIES})
set(DEPLIBS ${platform_LIBRARIES} ${TINYXML_LIBRARIES})

build_addon(pvr.dvbviewer DVBVIEWER DEPLIBS)

Expand Down
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -2,7 +2,7 @@ Source: kodi-pvr-dvbviewer
Priority: extra
Maintainer: Manuel Mausz <manuel-kodi@mausz.at>
Build-Depends: debhelper (>= 9.0.0), cmake, kodi-pvr-dev,
libkodiplatform-dev, kodi-addon-dev
libkodiplatform-dev (>= 16.0.0), kodi-addon-dev
Standards-Version: 3.9.4
Section: libs

Expand Down
2 changes: 1 addition & 1 deletion pvr.dvbviewer/addon.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon
id="pvr.dvbviewer"
version="1.10.31"
version="1.10.32"
name="DVBViewer Client"
provider-name="A600, Manuel Mausz">
<requires>
Expand Down
3 changes: 3 additions & 0 deletions pvr.dvbviewer/changelog.txt
@@ -1,3 +1,6 @@
1.10.32
[updated] to use new libplatform-dev

1.10.31
[fixed] Authentication credentials with symbols.
[fixed] Playback of ongoing recordings didn't work if the channel has been renamed
Expand Down
2 changes: 1 addition & 1 deletion src/DvbData.cpp
@@ -1,6 +1,6 @@
#include "DvbData.h"
#include "client.h"
#include "kodi/util/util.h"
#include "platform/util/util.h"
#include "kodi/util/XMLUtils.h"
#include <tinyxml.h>
#include <inttypes.h>
Expand Down
4 changes: 2 additions & 2 deletions src/DvbData.h
Expand Up @@ -5,8 +5,8 @@

#include "client.h"
#include "RecordingReader.h"
#include "kodi/util/StdString.h"
#include "kodi/threads/threads.h"
#include "platform/util/StdString.h"
#include "platform/threads/threads.h"
#include <list>
#include <functional>

Expand Down
4 changes: 2 additions & 2 deletions src/RecordingReader.cpp
@@ -1,7 +1,7 @@
#include "RecordingReader.h"
#include "client.h"
#include "kodi/util/util.h"
#include "kodi/threads/mutex.h"
#include "platform/util/util.h"
#include "platform/threads/mutex.h"

#define REOPEN_INTERVAL 30
#define REOPEN_INTERVAL_FAST 10
Expand Down
2 changes: 1 addition & 1 deletion src/RecordingReader.h
Expand Up @@ -3,7 +3,7 @@
#ifndef PVR_DVBVIEWER_RECORDINGREADER_H
#define PVR_DVBVIEWER_RECORDINGREADER_H

#include "kodi/util/StdString.h"
#include "platform/util/StdString.h"

class RecordingReader
{
Expand Down
2 changes: 1 addition & 1 deletion src/TimeshiftBuffer.cpp
@@ -1,6 +1,6 @@
#include "TimeshiftBuffer.h"
#include "client.h"
#include "kodi/util/util.h"
#include "platform/util/util.h"

#define STREAM_READ_BUFFER_SIZE 32768
#define BUFFER_READ_TIMEOUT 10000
Expand Down
4 changes: 2 additions & 2 deletions src/TimeshiftBuffer.h
Expand Up @@ -3,8 +3,8 @@
#ifndef PVR_DVBVIEWER_TIMESHIFTBUFFER_H
#define PVR_DVBVIEWER_TIMESHIFTBUFFER_H

#include "kodi/util/StdString.h"
#include "kodi/threads/threads.h"
#include "platform/util/StdString.h"
#include "platform/threads/threads.h"

class TimeshiftBuffer
: public PLATFORM::CThread
Expand Down
2 changes: 1 addition & 1 deletion src/client.cpp
Expand Up @@ -24,7 +24,7 @@
#include "RecordingReader.h"
#include "kodi/xbmc_pvr_dll.h"
#include "kodi/libKODI_guilib.h"
#include "kodi/util/util.h"
#include "platform/util/util.h"
#include <stdlib.h>

using namespace ADDON;
Expand Down
2 changes: 1 addition & 1 deletion src/client.h
Expand Up @@ -24,7 +24,7 @@

#include "kodi/libXBMC_addon.h"
#include "kodi/libXBMC_pvr.h"
#include "kodi/util/StdString.h"
#include "platform/util/StdString.h"

#ifndef _UNUSED
#if defined(__GNUC__)
Expand Down

0 comments on commit cf13773

Please sign in to comment.