Skip to content

Stream selection types properties

Stefano Gottardo edited this page Apr 20, 2022 · 15 revisions

This feature is available on Kodi 20 and above.

This page list the properties available of each stream selection type. For more information on stream selector types, see page Setting: Stream selection type.

Stream selectors properties

The properties can also be set without forcing the use of a specific stream selector (by using stream_selection_type).

Adaptive

listitem.setProperty('inputstream.adaptive.stream_selection_type', 'adaptive')

Fixed resolution

listitem.setProperty('inputstream.adaptive.stream_selection_type', 'fixed-res')

Ask quality

listitem.setProperty('inputstream.adaptive.stream_selection_type', 'ask-quality')
  • No property supported.

Manual OSD

listitem.setProperty('inputstream.adaptive.stream_selection_type', 'manual-osd')
  • No property supported.

Properties definitions

inputstream.adaptive.chooser_bandwidth_max

Allows to set the maximum stream bandwidth. The value is defined in bit/s.

This property can override the user setting Maximum bandwidth, but only if the value is less than the user setting.

listitem.setProperty('inputstream.adaptive.chooser_bandwidth_max', '10000000')

inputstream.adaptive.chooser_resolution_max

Allows to set the maximum stream resolution for non-protected videos.

This property can override the user setting Maximum resolution, but only if the value is less than the user setting.

Values: 480p, 640p, 720p, 1080p, 2K, 1440p, 4K

listitem.setProperty('inputstream.adaptive.chooser_resolution_max', '720p')

inputstream.adaptive.chooser_resolution_secure_max

Allows to set the maximum stream resolution for DRM-protected videos.

This property can override the user setting Maximum resolution for DRM videos, but only if the value is less than the user setting.

Values: 480p, 640p, 720p, 1080p, 2K, 1440p, 4K

listitem.setProperty('inputstream.adaptive.chooser_resolution_secure_max', '720p')
Clone this wiki locally