v19 inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream
#1
All,

For all addons (binary and python) the use of both inputstreamaddon and inputstreamclass will be deprecated in favour of inputstream. The reason for this is that neither refer to all inputstreams and having multiple supported adds complexity. 

As there is a Matrix repo for python3 now it makes sense to include this change also.

For example either of the following (or a mix of the two) would have been valid before the deprecation:

python:

listitem.setContentLookup(False)
listitem.setMimeType('application/xml+dash')
listitem.setProperty('inputstreamaddon', 'inputstream.adaptive')
listitem.setProperty('inputstream.adaptive.manifest_type', 'mpd')

python:

listitem.setContentLookup(False)
listitem.setMimeType('video/mp2t')
listitem.setProperty('inputstreamclass', 'inputstream.ffmpegdirect')
listitem.setProperty('inputstream.ffmpegdirect.mime_type', 'video/mp2t')
listitem.setProperty('inputstream.ffmpegdirect.is_realtime_stream', 'true')

Following the deprecation both examples would change to:

python:

listitem.setContentLookup(False)
listitem.setMimeType('application/xml+dash')
listitem.setProperty('inputstream', 'inputstream.adaptive')
listitem.setProperty('inputstream.adaptive.manifest_type', 'mpd')

python:

listitem.setContentLookup(False)
listitem.setMimeType('video/mp2t')
listitem.setProperty('inputstream', 'inputstream.ffmpegdirect')
listitem.setProperty('inputstream.ffmpegdirect.mime_type', 'video/mp2t')
listitem.setProperty('inputstream.ffmpegdirect.is_realtime_stream', 'true')

As of today the next nightliy builds will support inputstream. The plan being to remove the old values from v19 at the end of May.

For PVR Addons each one will be updated to move to using inputstream. A similar user post created so those who have them embedded in M3U files etc. will also know to update them.

Cheers,

phunkyfish
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply


Messages In This Thread
inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream - by phunkyfish - 2020-04-16, 12:41
Logout Mark Read Team Forum Stats Members Help
inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream0