Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches

PVR add-on error codes
Used as return values on most PVR related functions. More...

Typedefs

typedef enum PVR_ERROR PVR_ERROR
 

Enumerations

enum  PVR_ERROR {
  PVR_ERROR_NO_ERROR = 0 , PVR_ERROR_UNKNOWN = -1 , PVR_ERROR_NOT_IMPLEMENTED = -2 , PVR_ERROR_SERVER_ERROR = -3 ,
  PVR_ERROR_SERVER_TIMEOUT = -4 , PVR_ERROR_REJECTED = -5 , PVR_ERROR_ALREADY_PRESENT = -6 , PVR_ERROR_INVALID_PARAMETERS = -7 ,
  PVR_ERROR_RECORDING_RUNNING = -8 , PVR_ERROR_FAILED = -9
}
 

Detailed Description

PVR add-on error codes
Used as return values on most PVR related functions.

In this way, a PVR instance signals errors in its processing and, under certain conditions, allows Kodi to make corrections.

Typedef Documentation

◆ PVR_ERROR

typedef enum PVR_ERROR PVR_ERROR

Enumeration Type Documentation

◆ PVR_ERROR

enum PVR_ERROR
Enumerator
PVR_ERROR_NO_ERROR 

0 : No error occurred.

PVR_ERROR_UNKNOWN 

-1 : An unknown error occurred.

PVR_ERROR_NOT_IMPLEMENTED 

-2 : The method that Kodi called is not implemented by the add-on.

PVR_ERROR_SERVER_ERROR 

-3 : The backend reported an error, or the add-on isn't connected.

PVR_ERROR_SERVER_TIMEOUT 

-4 : The command was sent to the backend, but the response timed out.

PVR_ERROR_REJECTED 

-5 : The command was rejected by the backend.

PVR_ERROR_ALREADY_PRESENT 

-6 : The requested item can not be added, because it's already present.

PVR_ERROR_INVALID_PARAMETERS 

-7 : The parameters of the method that was called are invalid for this operation.

PVR_ERROR_RECORDING_RUNNING 

-8 : A recording is running, so the timer can't be deleted without doing a forced delete.

PVR_ERROR_FAILED 

-9 : The command failed.