Define starting and ending point of video (HLS stream)
#1
I have a video plugin where some videos that I want to list are only a part of a bigger HLS stream.
I know the starting point (e.g. 50 seconds in) and the ending point (e.g. 300 seconds in).
Is there a way to toll Kodi to start the video at the starting point of the HLS stream and to end it at the ending point (I am using inputstream.adaptive)?

The relevant code looks currently like this (but it plays the whole HLS stream instead of only the section that I want...):
python:

play_item = xbmcgui.ListItem(title, path=stream_url)
play_item.setProperty('inputstream', 'inputstream.adaptive')
play_item.setProperty('inputstream.adaptive.manifest_type', 'hls')
xbmcplugin.setResolvedUrl(self.handle, True, play_item)
Reply

Logout Mark Read Team Forum Stats Members Help
Define starting and ending point of video (HLS stream)0