mirror of
				https://github.com/DigitalDevices/pvr.octonet.git
				synced 2025-03-01 10:53:09 +00:00 
			
		
		
		
	Compare commits
	
		
			13 Commits
		
	
	
		
			0.7.0-Leia
			...
			1.1.0-1-Ma
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 9d98f2bba4 | ||
|  | ca692f14be | ||
|  | 69da8dbd0c | ||
|  | 6d4f3847c7 | ||
|  | 38e25e1f1c | ||
|  | 472dc2beae | ||
|  | ec08c20540 | ||
|  | 63ef363522 | ||
|  | c91061f84b | ||
|  | 414e756912 | ||
|  | 9de3166203 | ||
|  | df1b033f14 | ||
|  | 0295717be2 | 
| @@ -36,7 +36,7 @@ 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 master --depth=1 https://github.com/xbmc/xbmc.git | ||||||
|   - mkdir -p xbmc/cmake/addons/addons/pvr.octonet |   - mkdir -p 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 $TRAVIS_BUILD_DIR && mkdir build && cd build |   - cd $TRAVIS_BUILD_DIR && mkdir build && cd build | ||||||
|   | |||||||
| @@ -6,12 +6,10 @@ list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}) | |||||||
| enable_language(CXX) | enable_language(CXX) | ||||||
|  |  | ||||||
| find_package(Kodi REQUIRED) | find_package(Kodi REQUIRED) | ||||||
| find_package(kodiplatform REQUIRED) |  | ||||||
| find_package(p8-platform REQUIRED) | find_package(p8-platform REQUIRED) | ||||||
| find_package(JsonCpp REQUIRED) | find_package(JsonCpp REQUIRED) | ||||||
|  |  | ||||||
| include_directories( | include_directories( | ||||||
| 	${kodiplatform_INCLUDE_DIRS} |  | ||||||
| 	${p8-platform_INCLUDE_DIRS} | 	${p8-platform_INCLUDE_DIRS} | ||||||
| 	${KODI_INCLUDE_DIR} | 	${KODI_INCLUDE_DIR} | ||||||
| 	${JSONCPP_INCLUDE_DIRS}) | 	${JSONCPP_INCLUDE_DIRS}) | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								Jenkinsfile
									
									
									
									
										vendored
									
									
								
							| @@ -1 +1 @@ | |||||||
| buildPlugin() | buildPlugin(version: "Matrix") | ||||||
|   | |||||||
| @@ -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 master 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 master --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% | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								debian/control
									
									
									
									
										vendored
									
									
								
							| @@ -2,7 +2,7 @@ Source: kodi-pvr-octonet | |||||||
| Priority: extra | Priority: extra | ||||||
| Maintainer: Julian Scheel <julian@jusst.de> | Maintainer: Julian Scheel <julian@jusst.de> | ||||||
| Build-Depends: debhelper (>= 9.0.0), cmake, libjsoncpp-dev, | Build-Depends: debhelper (>= 9.0.0), cmake, libjsoncpp-dev, | ||||||
|                libkodiplatform-dev (>= 16.0.0), kodi-addon-dev |                libp8-platform-dev, kodi-addon-dev | ||||||
| Standards-Version: 3.9.4 | Standards-Version: 3.9.4 | ||||||
| Section: libs | Section: libs | ||||||
| Homepage: https://github.com/DigitalDevices/pvr.octonet | Homepage: https://github.com/DigitalDevices/pvr.octonet | ||||||
|   | |||||||
							
								
								
									
										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="1.1.0" | ||||||
| 	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 | ||||||
| @@ -228,12 +227,12 @@ PVR_ERROR OctonetData::getChannels(ADDON_HANDLE handle, bool bRadio) | |||||||
| 	return PVR_ERROR_NO_ERROR; | 	return PVR_ERROR_NO_ERROR; | ||||||
| } | } | ||||||
|  |  | ||||||
| PVR_ERROR OctonetData::getEPG(ADDON_HANDLE handle, const PVR_CHANNEL &channel, time_t start, time_t end) | PVR_ERROR OctonetData::getEPG(ADDON_HANDLE handle, int iChannelUid, time_t start, time_t end) | ||||||
| { | { | ||||||
| 	for (unsigned int i = 0; i < channels.size(); i++) | 	for (unsigned int i = 0; i < channels.size(); i++) | ||||||
| 	{ | 	{ | ||||||
| 		OctonetChannel &chan = channels.at(i); | 		OctonetChannel &chan = channels.at(i); | ||||||
| 		if (channel.iUniqueId != chan.id) | 		if (iChannelUid != chan.id) | ||||||
| 			continue; | 			continue; | ||||||
|  |  | ||||||
| 		if(chan.epg.empty()) { | 		if(chan.epg.empty()) { | ||||||
|   | |||||||
| @@ -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 | ||||||
| @@ -69,7 +68,7 @@ class OctonetData : public P8PLATFORM::CThread | |||||||
| 		virtual PVR_ERROR getGroups(ADDON_HANDLE handle, bool bRadio); | 		virtual PVR_ERROR getGroups(ADDON_HANDLE handle, bool bRadio); | ||||||
| 		virtual PVR_ERROR getGroupMembers(ADDON_HANDLE handle, const PVR_CHANNEL_GROUP &group); | 		virtual PVR_ERROR getGroupMembers(ADDON_HANDLE handle, const PVR_CHANNEL_GROUP &group); | ||||||
|  |  | ||||||
| 		virtual PVR_ERROR getEPG(ADDON_HANDLE handle, const PVR_CHANNEL &channel, time_t start, time_t end); | 		virtual PVR_ERROR getEPG(ADDON_HANDLE handle, int iChannelUid, time_t start, time_t end); | ||||||
| 		const std::string& getUrl(int id) const; | 		const std::string& getUrl(int id) const; | ||||||
| 		const std::string& getName(int id) const; | 		const std::string& getName(int id) const; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -156,9 +156,9 @@ void OnPowerSavingActivated() {} | |||||||
| void OnPowerSavingDeactivated() {} | void OnPowerSavingDeactivated() {} | ||||||
|  |  | ||||||
| /* EPG */ | /* EPG */ | ||||||
| PVR_ERROR GetEPGForChannel(ADDON_HANDLE handle, const PVR_CHANNEL& channel, time_t iStart, time_t iEnd) | PVR_ERROR GetEPGForChannel(ADDON_HANDLE handle, int iChannelUid, time_t iStart, time_t iEnd) | ||||||
| { | { | ||||||
| 	return data->getEPG(handle, channel, iStart, iEnd); | 	return data->getEPG(handle, iChannelUid, iStart, iEnd); | ||||||
| } | } | ||||||
|  |  | ||||||
| PVR_ERROR IsEPGTagRecordable(const EPG_TAG*, bool*) { return PVR_ERROR_NOT_IMPLEMENTED; } | PVR_ERROR IsEPGTagRecordable(const EPG_TAG*, bool*) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||||
| @@ -266,9 +266,9 @@ void DemuxReset(void) {} | |||||||
| void DemuxAbort(void) {} | void DemuxAbort(void) {} | ||||||
| void DemuxFlush(void) {} | void DemuxFlush(void) {} | ||||||
| DemuxPacket* DemuxRead(void) { return NULL; } | DemuxPacket* DemuxRead(void) { return NULL; } | ||||||
|  | void FillBuffer(bool mode) {} | ||||||
|  |  | ||||||
| /* Various helper functions */ | /* Various helper functions */ | ||||||
| bool IsTimeshifting(void) { return false; } |  | ||||||
| bool CanPauseStream() { return false; } | bool CanPauseStream() { return false; } | ||||||
| bool CanSeekStream() { return false; } | bool CanSeekStream() { return false; } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user