9#ifndef C_API_ADDONINSTANCE_PVR_GENERAL_H
10#define C_API_ADDONINSTANCE_PVR_GENERAL_H
12#include "../inputstream/stream_constants.h"
13#include "pvr_defines.h"
227#define PVR_STREAM_PROPERTY_STREAMURL "streamurl"
235#define PVR_STREAM_PROPERTY_INPUTSTREAM STREAM_PROPERTY_INPUTSTREAM
245#define PVR_STREAM_PROPERTY_INPUTSTREAM_PLAYER STREAM_PROPERTY_INPUTSTREAM_PLAYER
307#define PVR_STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID
311#define PVR_STREAM_PROPERTY_MIMETYPE "mimetype"
318#define PVR_STREAM_PROPERTY_ISREALTIMESTREAM STREAM_PROPERTY_ISREALTIMESTREAM
325#define PVR_STREAM_PROPERTY_EPGPLAYBACKASLIVE "epgplaybackaslive"
333#define PVR_STREAM_PROPERTY_LIVEPLAYBACKASEPG "liveplaybackasepg"
337#define PVR_STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG
352 bool bSupportsEPGEdl;
355 bool bSupportsRecordings;
356 bool bSupportsRecordingsUndelete;
357 bool bSupportsTimers;
358 bool bSupportsChannelGroups;
359 bool bSupportsChannelScan;
360 bool bSupportsChannelSettings;
361 bool bHandlesInputStream;
362 bool bHandlesDemuxing;
363 bool bSupportsRecordingPlayCount;
364 bool bSupportsLastPlayedPosition;
365 bool bSupportsRecordingEdl;
366 bool bSupportsRecordingsRename;
367 bool bSupportsRecordingsLifetimeChange;
368 bool bSupportsDescrambleInfo;
369 bool bSupportsAsyncEPGTransfer;
370 bool bSupportsRecordingSize;
371 bool bSupportsProviders;
372 bool bSupportsRecordingsDelete;
373 bool bSupportsMultipleRecordedStreams;
375 unsigned int iRecordingsLifetimesSize;
389 unsigned int iValuesSize;
407 unsigned int iValuesSize;
409 const char* strDefaultValue;
410 bool bAllowEmptyValue;
426 uint64_t iReadonlyConditions;
445 const char* strValue;
PVR_CONNECTION_STATE
Definition pvr_general.h:83
@ PVR_CONNECTION_STATE_CONNECTED
5 : Connection to backend server is established.
Definition pvr_general.h:104
@ PVR_CONNECTION_STATE_VERSION_MISMATCH
3 : Backend server is reachable, but server version does not match client requirements.
Definition pvr_general.h:97
@ PVR_CONNECTION_STATE_SERVER_UNREACHABLE
1 : Backend server is not reachable (e.g. server not existing or network down).
Definition pvr_general.h:89
@ PVR_CONNECTION_STATE_ACCESS_DENIED
4 : Backend server is reachable, but denies client access (e.g. due to wrong credentials).
Definition pvr_general.h:101
@ PVR_CONNECTION_STATE_CONNECTING
7 : Connecting to backend.
Definition pvr_general.h:111
@ PVR_CONNECTION_STATE_UNKNOWN
0 : Unknown state (e.g. not yet tried to connect).
Definition pvr_general.h:85
@ PVR_CONNECTION_STATE_DISCONNECTED
6 : No connection to backend server (e.g. due to network errors or client initiated disconnect).
Definition pvr_general.h:108
@ PVR_CONNECTION_STATE_SERVER_MISMATCH
2 : Backend server is reachable, but there is not the expected type of server running (e....
Definition pvr_general.h:93
PVR_ERROR
Definition pvr_general.h:36
@ PVR_ERROR_REJECTED
-5 : The command was rejected by the backend.
Definition pvr_general.h:53
@ PVR_ERROR_FAILED
-9 : The command failed.
Definition pvr_general.h:67
@ PVR_ERROR_SERVER_ERROR
-3 : The backend reported an error, or the add-on isn't connected.
Definition pvr_general.h:47
@ PVR_ERROR_RECORDING_RUNNING
-8 : A recording is running, so the timer can't be deleted without doing a forced delete.
Definition pvr_general.h:64
@ PVR_ERROR_UNKNOWN
-1 : An unknown error occurred.
Definition pvr_general.h:41
@ PVR_ERROR_NOT_IMPLEMENTED
-2 : The method that Kodi called is not implemented by the add-on.
Definition pvr_general.h:44
@ PVR_ERROR_SERVER_TIMEOUT
-4 : The command was sent to the backend, but the response timed out.
Definition pvr_general.h:50
@ PVR_ERROR_ALREADY_PRESENT
-6 : The requested item can not be added, because it's already present.
Definition pvr_general.h:56
@ PVR_ERROR_INVALID_PARAMETERS
-7 : The parameters of the method that was called are invalid for this operation.
Definition pvr_general.h:60
@ PVR_ERROR_NO_ERROR
0 : No error occurred.
Definition pvr_general.h:38
PVR_SETTING_READONLY_CONDITION
Definition pvr_general.h:145
@ PVR_SETTING_READONLY_CONDITION_TIMER_SCHEDULED
0000 0000 0000 0000 0000 0000 0000 0010 : Readonly, if associated timer is scheduled (PVR_TIMER_STAT...
Definition pvr_general.h:155
@ PVR_SETTING_READONLY_CONDITION_NONE
0000 0000 0000 0000 0000 0000 0000 0000 : Empty value.
Definition pvr_general.h:147
@ PVR_SETTING_READONLY_CONDITION_TIMER_COMPLETED
0000 0000 0000 0000 0000 0000 0000 1000 : Readonly, if associated timer is currently recording (PVR_...
Definition pvr_general.h:163
@ PVR_SETTING_READONLY_CONDITION_TIMER_DISABLED
0000 0000 0000 0000 0000 0000 0000 0001 : Readonly, if associated timer is disabled (PVR_TIMER_STATE...
Definition pvr_general.h:151
@ PVR_SETTING_READONLY_CONDITION_TIMER_RECORDING
0000 0000 0000 0000 0000 0000 0000 0100 : Readonly, if associated timer is currently recording (PVR_...
Definition pvr_general.h:159
PVR_SETTING_TYPE
Definition pvr_general.h:176
@ INTEGER
0 : Integer
Definition pvr_general.h:178
@ STRING
1 : String
Definition pvr_general.h:181
PVR_SOURCE
Definition pvr_general.h:127
@ PVR_SOURCE_EPG_AS_LIVE
1 : From EPG, but playing back as live
Definition pvr_general.h:132
@ DEFAULT
0 : Regular live playback
Definition pvr_general.h:129
"C" PVR add-on capabilities.
Definition pvr_general.h:350
"C" Representation of an integer value, including a description.
Definition pvr_defines.h:26
"C" Representation of a string value, including a description
Definition pvr_defines.h:35
"C" Representation of an integer setting definition.
Definition pvr_general.h:388
"C" Representation of a setting definition.
Definition pvr_general.h:422
"C" Representation of a key-value pair, either {int,int} or {int,string}, depending on the type set.
Definition pvr_general.h:441
"C" Representation of a string setting definition.
Definition pvr_general.h:406