Kodi Community Forum

Full Version: M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
All,

For any PVR addons using M3U files 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. 

For example these would have been valid before the deprecation:

Code:

#KODIPROP:inputstreamaddon=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.mime_type=video/mp2t
#KODIPROP:inputstream.ffmpegdirect.program_number=2154
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true
#EXTINF:-1,MyChannel
http://127.0.0.1:3002/mystream.ts

or

Code:

#KODIPROP:inputstreamclass=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.mime_type=video/mp2t
#KODIPROP:inputstream.ffmpegdirect.program_number=2154
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true
#EXTINF:-1,MyChannel
http://127.0.0.1:3002/mystream.ts

Following the deprecation both would change to:

Code:

#KODIPROP:inputstream=inputstream.ffmpegdirect
#KODIPROP:inputstream.ffmpegdirect.mime_type=video/mp2t
#KODIPROP:inputstream.ffmpegdirect.program_number=2154
#KODIPROP:inputstream.ffmpegdirect.is_realtime_stream=true
#EXTINF:-1,MyChannel
http://127.0.0.1:3002/mystream.ts

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

Cheers,

phunkyfish