Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
PVR related stream property values
This is used to pass additional data to Kodi on a given PVR stream.
More...
Macros | |
#define | PVR_STREAM_PROPERTY_STREAMURL "streamurl" |
the URL of the stream that should be played. | |
#define | PVR_STREAM_PROPERTY_INPUTSTREAM STREAM_PROPERTY_INPUTSTREAM |
To define in stream properties the name of the inputstream add-on that should be used. | |
#define | PVR_STREAM_PROPERTY_INPUTSTREAM_PLAYER STREAM_PROPERTY_INPUTSTREAM_PLAYER |
To define in stream properties the player the inputstream add-on should use. | |
#define | PVR_STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID |
Identification string for an input stream. | |
#define | PVR_STREAM_PROPERTY_MIMETYPE "mimetype" |
the MIME type of the stream that should be played. | |
#define | PVR_STREAM_PROPERTY_ISREALTIMESTREAM STREAM_PROPERTY_ISREALTIMESTREAM |
"true" to denote that the stream that should be played is a realtime stream. | |
#define | PVR_STREAM_PROPERTY_EPGPLAYBACKASLIVE "epgplaybackaslive" |
"true" to denote that if the stream is from an EPG tag. | |
#define | PVR_STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG |
Special value for PVR_STREAM_PROPERTY_INPUTSTREAM to use ffmpeg to directly play a stream URL. | |
PVR related stream property values
This is used to pass additional data to Kodi on a given PVR stream.
Then transferred to livestream, recordings or EPG Tag stream using the properties.
This defines are used by:
Example:
#define PVR_STREAM_PROPERTY_EPGPLAYBACKASLIVE "epgplaybackaslive" |
"true" to denote that if the stream is from an EPG tag.
It should be played is a live stream. Otherwise if it's a EPG tag it will play as normal video.
#define PVR_STREAM_PROPERTY_INPUTSTREAM STREAM_PROPERTY_INPUTSTREAM |
To define in stream properties the name of the inputstream add-on that should be used.
Leave blank to use Kodi's built-in playing capabilities or to allow ffmpeg to handle directly set to PVR_STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG.
#define PVR_STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID STREAM_PROPERTY_INPUTSTREAM_INSTANCE_ID |
Identification string for an input stream.
This value can be used in addition to PVR_STREAM_PROPERTY_INPUTSTREAM. It is used to provide the respective inpustream addon with additional identification.
The difference between this and other stream properties is that it is also passed in the associated kodi::addon::CAddonBase::CreateInstance() call.
This makes it possible to select different processing classes within the associated add-on.
Example:
#define PVR_STREAM_PROPERTY_INPUTSTREAM_PLAYER STREAM_PROPERTY_INPUTSTREAM_PLAYER |
To define in stream properties the player the inputstream add-on should use.
Leave blank to use Kodi's built-in player selection mechanism. Permitted values are:
#define PVR_STREAM_PROPERTY_ISREALTIMESTREAM STREAM_PROPERTY_ISREALTIMESTREAM |
"true" to denote that the stream that should be played is a realtime stream.
Any other value indicates that this is no realtime stream.
#define PVR_STREAM_PROPERTY_MIMETYPE "mimetype" |
the MIME type of the stream that should be played.
#define PVR_STREAM_PROPERTY_STREAMURL "streamurl" |
the URL of the stream that should be played.
#define PVR_STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG STREAM_PROPERTY_VALUE_INPUTSTREAMFFMPEG |
Special value for PVR_STREAM_PROPERTY_INPUTSTREAM to use ffmpeg to directly play a stream URL.