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.
◆ 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.
|