mirror of
				https://github.com/DigitalDevices/pvr.octonet.git
				synced 2025-03-01 10:53:09 +00:00 
			
		
		
		
	Added minimalistic support for PVR Addon API 5.3.0
This commit is contained in:
		
				
					committed by
					
						 Julian Scheel
						Julian Scheel
					
				
			
			
				
	
			
			
			
						parent
						
							020dd98e7b
						
					
				
				
					commit
					a77cf111bb
				
			| @@ -1,20 +1,16 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <addon | ||||
| 	id="pvr.octonet" | ||||
| 	version="0.3.8" | ||||
| 	version="0.4.0" | ||||
| 	name="Digital Devices Octopus NET Client" | ||||
| 	provider-name="digitaldevices"> | ||||
| 	<requires>@ADDON_DEPENDS@</requires> | ||||
| 	<extension | ||||
| 		point="xbmc.pvrclient" | ||||
| 		library_linux="pvr.octonet.so" | ||||
| 		library_osx="pvr.octonet.dylib" | ||||
| 		library_freebsd="pvr.octonet.so" | ||||
| 		library_windx="pvr.octonet.dll" | ||||
| 		library_android="libpvr.octonet.so" /> | ||||
| 		library_@PLATFORM@="@LIBRARY_FILENAME@"/> | ||||
| 	<extension point="xbmc.addon.metadata"> | ||||
| 		<summary lang="de_DE">Kodi PVR Addon für Digital Devices Octopus NET Streams</summary> | ||||
| 		<summary lang="en_US">Kodi PVR Addon for Digital Devices Octopus NET Streams</summary> | ||||
| 		<platform>all</platform> | ||||
| 		<platform>@PLATFORM@</platform> | ||||
| 	</extension> | ||||
| </addon> | ||||
|   | ||||
| @@ -116,6 +116,10 @@ PVR_ERROR GetAddonCapabilities(PVR_ADDON_CAPABILITIES *pCapabilities) | ||||
| 	pCapabilities->bSupportsRadio = true; | ||||
| 	pCapabilities->bSupportsChannelGroups = true; | ||||
| 	pCapabilities->bSupportsEPG = true; | ||||
| 	pCapabilities->bSupportsRecordings = false; | ||||
| 	pCapabilities->bSupportsRecordingsRename = false; | ||||
| 	pCapabilities->bSupportsRecordingsLifetimeChange = false; | ||||
| 	pCapabilities->bSupportsDescrambleInfo = false; | ||||
|  | ||||
| 	return PVR_ERROR_NO_ERROR; | ||||
| } | ||||
| @@ -199,6 +203,7 @@ PVR_ERROR DeleteRecording(const PVR_RECORDING& recording) { return PVR_ERROR_NOT | ||||
| PVR_ERROR UndeleteRecording(const PVR_RECORDING& recording) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR DeleteAllRecordingsFromTrash() { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR RenameRecording(const PVR_RECORDING& recording) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR SetRecordingLifetime(const PVR_RECORDING*) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR SetRecordingPlayCount(const PVR_RECORDING& recording, int count) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR SetRecordingLastPlayedPosition(const PVR_RECORDING& recording, int lastplayedposition) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| int GetRecordingLastPlayedPosition(const PVR_RECORDING& recording) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| @@ -243,6 +248,7 @@ PVR_ERROR SignalStatus(PVR_SIGNAL_STATUS& signalStatus) { | ||||
|  | ||||
| const char* GetLiveStreamURL(const PVR_CHANNEL& channel) { return NULL; } | ||||
| PVR_ERROR GetStreamProperties(PVR_STREAM_PROPERTIES* pProperties) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
| PVR_ERROR GetDescrambleInfo(PVR_DESCRAMBLE_INFO*) { return PVR_ERROR_NOT_IMPLEMENTED; } | ||||
|  | ||||
| /* Recording stream handling */ | ||||
| bool OpenRecordedStream(const PVR_RECORDING& recording) { return false; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user