mirror of
				https://github.com/DigitalDevices/pvr.octonet.git
				synced 2025-03-01 10:53:09 +00:00 
			
		
		
		
	Compare commits
	
		
			10 Commits
		
	
	
		
			4.1.0-1-Ma
			...
			Leia
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					e35cc37347 | ||
| 
						 | 
					b158b602a5 | ||
| 
						 | 
					683064d517 | ||
| 
						 | 
					1431f694e1 | ||
| 
						 | 
					cfe1f157a1 | ||
| 
						 | 
					6b50909278 | ||
| 
						 | 
					df1b033f14 | ||
| 
						 | 
					0295717be2 | ||
| 
						 | 
					61c5f2a0d7 | ||
| 
						 | 
					2b39863f5b | 
							
								
								
									
										30
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										30
									
								
								.travis.yml
									
									
									
									
									
								
							@@ -7,28 +7,24 @@ language: cpp
 | 
				
			|||||||
# Linux. We need Trusty in order to get up to date versions of
 | 
					# Linux. We need Trusty in order to get up to date versions of
 | 
				
			||||||
# cmake and g++.
 | 
					# cmake and g++.
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
 | 
					env:
 | 
				
			||||||
 | 
					  global:
 | 
				
			||||||
 | 
					    - app_id=pvr.octonet
 | 
				
			||||||
 | 
					
 | 
				
			||||||
matrix:
 | 
					matrix:
 | 
				
			||||||
  include:
 | 
					  include:
 | 
				
			||||||
    - os: linux
 | 
					    - os: linux
 | 
				
			||||||
      dist: trusty
 | 
					      dist: xenial
 | 
				
			||||||
      sudo: required
 | 
					      sudo: required
 | 
				
			||||||
      compiler: gcc
 | 
					      compiler: gcc
 | 
				
			||||||
    - os: linux
 | 
					    - os: linux
 | 
				
			||||||
      dist: trusty
 | 
					      dist: xenial
 | 
				
			||||||
      sudo: required
 | 
					      sudo: required
 | 
				
			||||||
      compiler: clang
 | 
					      compiler: clang
 | 
				
			||||||
    - os: osx
 | 
					    - os: osx
 | 
				
			||||||
      osx_image: xcode7.3
 | 
					      osx_image: xcode9
 | 
				
			||||||
    - os: osx
 | 
					    - os: osx
 | 
				
			||||||
      osx_image: xcode6.1
 | 
					      osx_image: xcode9.4
 | 
				
			||||||
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# Some of the OS X images don't have cmake, contrary to what people
 | 
					 | 
				
			||||||
# on the Internet say
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
before_install:
 | 
					 | 
				
			||||||
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew update        ; fi
 | 
					 | 
				
			||||||
  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then which cmake || brew install cmake ; fi
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#
 | 
					#
 | 
				
			||||||
# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
 | 
					# The addon source is automatically checked out in $TRAVIS_BUILD_DIR,
 | 
				
			||||||
@@ -36,10 +32,10 @@ before_install:
 | 
				
			|||||||
#
 | 
					#
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - cd $TRAVIS_BUILD_DIR/..
 | 
					  - cd $TRAVIS_BUILD_DIR/..
 | 
				
			||||||
  - git clone --depth=1 https://github.com/xbmc/xbmc.git
 | 
					  - git clone --branch Leia --depth=1 https://github.com/xbmc/xbmc.git
 | 
				
			||||||
  - mkdir -p xbmc/cmake/addons/addons/pvr.octonet
 | 
					  - cd ${app_id} && mkdir build && cd build
 | 
				
			||||||
  - echo "pvr.octonet https://github.com/DigitalDevices/pvr.octonet master" > xbmc/cmake/addons/addons/pvr.octonet/pvr.octonet.txt
 | 
					  - mkdir -p definition/${app_id}
 | 
				
			||||||
  - cd $TRAVIS_BUILD_DIR && mkdir build && cd build
 | 
					  - echo ${app_id} $TRAVIS_BUILD_DIR $TRAVIS_COMMIT > definition/${app_id}/${app_id}.txt
 | 
				
			||||||
  - cmake -DADDONS_TO_BUILD=pvr.octonet -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons
 | 
					  - cmake -DADDONS_TO_BUILD=${app_id} -DADDON_SRC_PREFIX=$TRAVIS_BUILD_DIR/.. -DADDONS_DEFINITION_DIR=$TRAVIS_BUILD_DIR/build/definition -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$TRAVIS_BUILD_DIR/../xbmc/addons -DPACKAGE_ZIP=1 $TRAVIS_BUILD_DIR/../xbmc/cmake/addons
 | 
				
			||||||
 | 
					
 | 
				
			||||||
script: make
 | 
					script: make
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,9 +1,7 @@
 | 
				
			|||||||
 | 
					cmake_minimum_required(VERSION 3.5)
 | 
				
			||||||
project(pvr.octonet)
 | 
					project(pvr.octonet)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cmake_minimum_required(VERSION 2.6)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
 | 
					list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR})
 | 
				
			||||||
enable_language(CXX)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
find_package(Kodi REQUIRED)
 | 
					find_package(Kodi REQUIRED)
 | 
				
			||||||
find_package(kodiplatform REQUIRED)
 | 
					find_package(kodiplatform REQUIRED)
 | 
				
			||||||
@@ -13,7 +11,7 @@ find_package(JsonCpp REQUIRED)
 | 
				
			|||||||
include_directories(
 | 
					include_directories(
 | 
				
			||||||
	${kodiplatform_INCLUDE_DIRS}
 | 
						${kodiplatform_INCLUDE_DIRS}
 | 
				
			||||||
	${p8-platform_INCLUDE_DIRS}
 | 
						${p8-platform_INCLUDE_DIRS}
 | 
				
			||||||
	${KODI_INCLUDE_DIR}
 | 
						${KODI_INCLUDE_DIR}/.. # Hack way with "/..", need bigger Kodi cmake rework to match right include ways
 | 
				
			||||||
	${JSONCPP_INCLUDE_DIRS})
 | 
						${JSONCPP_INCLUDE_DIRS})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
set(DEPLIBS
 | 
					set(DEPLIBS
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							@@ -1 +1 @@
 | 
				
			|||||||
buildPlugin()
 | 
					buildPlugin(version: "Leia")
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -20,12 +20,9 @@ $ git clone https://github.com/DigitalDevices/pvr.octonet.git
 | 
				
			|||||||
Clone the Kodi repository:
 | 
					Clone the Kodi repository:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
$ git clone https://github.com/xbmc/xbmc.git
 | 
					$ git clone --branch Leia https://github.com/xbmc/xbmc.git
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If you already have a local Kodi checkout, you can use that one. Just make sure it is recent enough
 | 
					 | 
				
			||||||
(Kodi 17 Beta 5 or later should work).
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
$ cd pvr.octonet
 | 
					$ cd pvr.octonet
 | 
				
			||||||
$ mkdir build
 | 
					$ mkdir build
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -29,7 +29,7 @@ artifacts:
 | 
				
			|||||||
build_script:
 | 
					build_script:
 | 
				
			||||||
  - cd ..
 | 
					  - cd ..
 | 
				
			||||||
  - set ROOT=%cd%
 | 
					  - set ROOT=%cd%
 | 
				
			||||||
  - git clone --depth=1 https://github.com/xbmc/xbmc.git
 | 
					  - git clone --branch Leia --depth=1 https://github.com/xbmc/xbmc.git
 | 
				
			||||||
  - mkdir xbmc\cmake\addons\addons\pvr.octonet
 | 
					  - mkdir xbmc\cmake\addons\addons\pvr.octonet
 | 
				
			||||||
  - echo pvr.octonet https://github.com/DigitalDevices/pvr.octonet master > xbmc\cmake\addons\addons\pvr.octonet\pvr.octonet.txt
 | 
					  - echo pvr.octonet https://github.com/DigitalDevices/pvr.octonet master > xbmc\cmake\addons\addons\pvr.octonet\pvr.octonet.txt
 | 
				
			||||||
  - cd %ADDON%
 | 
					  - cd %ADDON%
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,7 +1,6 @@
 | 
				
			|||||||
 | 
					cmake_minimum_required(VERSION 3.5)
 | 
				
			||||||
project(jsoncpp)
 | 
					project(jsoncpp)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
cmake_minimum_required(VERSION 3.1)
 | 
					 | 
				
			||||||
enable_language(CXX)
 | 
					 | 
				
			||||||
SET(CMAKE_CXX_STANDARD 11)
 | 
					SET(CMAKE_CXX_STANDARD 11)
 | 
				
			||||||
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
 | 
					SET(CMAKE_CXX_STANDARD_REQUIRED ON)
 | 
				
			||||||
SET(CMAKE_CXX_EXTENSIONS OFF)
 | 
					SET(CMAKE_CXX_EXTENSIONS OFF)
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										1
									
								
								depends/common/jsoncpp/jsoncpp.sha256
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								depends/common/jsoncpp/jsoncpp.sha256
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					3671ba6051e0f30849942cc66d1798fdf0362d089343a83f704c09ee7156604f
 | 
				
			||||||
@@ -1,7 +1,7 @@
 | 
				
			|||||||
<?xml version="1.0" encoding="UTF-8"?>
 | 
					<?xml version="1.0" encoding="UTF-8"?>
 | 
				
			||||||
<addon
 | 
					<addon
 | 
				
			||||||
	id="pvr.octonet"
 | 
						id="pvr.octonet"
 | 
				
			||||||
	version="0.7.0"
 | 
						version="0.7.1"
 | 
				
			||||||
	name="Digital Devices Octopus NET Client"
 | 
						name="Digital Devices Octopus NET Client"
 | 
				
			||||||
	provider-name="digitaldevices">
 | 
						provider-name="digitaldevices">
 | 
				
			||||||
	<requires>@ADDON_DEPENDS@</requires>
 | 
						<requires>@ADDON_DEPENDS@</requires>
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -26,7 +26,6 @@
 | 
				
			|||||||
#include <json/json.h>
 | 
					#include <json/json.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "OctonetData.h"
 | 
					#include "OctonetData.h"
 | 
				
			||||||
#include "p8-platform/util/StringUtils.h"
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifdef __WINDOWS__
 | 
					#ifdef __WINDOWS__
 | 
				
			||||||
#define timegm _mkgmtime
 | 
					#define timegm _mkgmtime
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -25,7 +25,6 @@
 | 
				
			|||||||
#include <vector>
 | 
					#include <vector>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "p8-platform/threads/threads.h"
 | 
					#include "p8-platform/threads/threads.h"
 | 
				
			||||||
#include "p8-platform/util/StdString.h"
 | 
					 | 
				
			||||||
#include "client.h"
 | 
					#include "client.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct OctonetEpgEntry
 | 
					struct OctonetEpgEntry
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -16,7 +16,7 @@
 | 
				
			|||||||
 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					 *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
#include "libXBMC_addon.h"
 | 
					#include "kodi/libXBMC_addon.h"
 | 
				
			||||||
#include <string>
 | 
					#include <string>
 | 
				
			||||||
#include "p8-platform/os.h"
 | 
					#include "p8-platform/os.h"
 | 
				
			||||||
#include "client.h"
 | 
					#include "client.h"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,10 +21,10 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "client.h"
 | 
					#include "client.h"
 | 
				
			||||||
#include <xbmc_pvr_dll.h>
 | 
					#include <kodi/xbmc_pvr_dll.h>
 | 
				
			||||||
#include <libXBMC_addon.h>
 | 
					#include <kodi/libXBMC_addon.h>
 | 
				
			||||||
#include <p8-platform/util/util.h>
 | 
					#include <p8-platform/util/util.h>
 | 
				
			||||||
#include <libKODI_guilib.h>
 | 
					#include <kodi/libKODI_guilib.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "OctonetData.h"
 | 
					#include "OctonetData.h"
 | 
				
			||||||
#include "rtsp_client.hpp"
 | 
					#include "rtsp_client.hpp"
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,8 +21,8 @@
 | 
				
			|||||||
 *
 | 
					 *
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include "libXBMC_addon.h"
 | 
					#include "kodi/libXBMC_addon.h"
 | 
				
			||||||
#include "libXBMC_pvr.h"
 | 
					#include "kodi/libXBMC_pvr.h"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#ifndef __func__
 | 
					#ifndef __func__
 | 
				
			||||||
#define __func__ __FUNCTION__
 | 
					#define __func__ __FUNCTION__
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -5,7 +5,7 @@
 | 
				
			|||||||
#include "Socket.h"
 | 
					#include "Socket.h"
 | 
				
			||||||
#include "client.h"
 | 
					#include "client.h"
 | 
				
			||||||
#include <p8-platform/util/util.h>
 | 
					#include <p8-platform/util/util.h>
 | 
				
			||||||
#include <libXBMC_addon.h>
 | 
					#include <kodi/libXBMC_addon.h>
 | 
				
			||||||
#include <cstring>
 | 
					#include <cstring>
 | 
				
			||||||
#include <sstream>
 | 
					#include <sstream>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -2,7 +2,7 @@
 | 
				
			|||||||
#define _RTSP_CLIENT_HPP_
 | 
					#define _RTSP_CLIENT_HPP_
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <string>
 | 
					#include <string>
 | 
				
			||||||
#include <xbmc_pvr_types.h>
 | 
					#include <kodi/xbmc_pvr_types.h>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bool rtsp_open(const std::string& name, const std::string& url_str);
 | 
					bool rtsp_open(const std::string& name, const std::string& url_str);
 | 
				
			||||||
void rtsp_close();
 | 
					void rtsp_close();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user