Kodi Community Forum
v19 M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215)
+---- Thread: v19 M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream (/showthread.php?tid=353562)



M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream - phunkyfish - 2020-04-16

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


RE: M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream - Evandro75 - 2021-02-01

Hi,
is it possible to write something like this:

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

into an external file like http://myserver.com/mychanel.m3u ? or .ts or .foo or another kind of extension...
and later insert  that link into the main m3u of the SimpleClient

Like that:

Code:

#EXTM3U

#EXTINF:-1,MyChannel
http://myserver.com/mychanel.m3u

I'd need to divide them because the part containing #KODIPROP is not static and has to be created in a separate server


RE: M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream - phunkyfish - 2021-02-02

(2021-02-01, 20:29)Evandro75 Wrote: Hi,
is it possible to write something like this:

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

into an external file like http://myserver.com/mychanel.m3u ? or .ts or .foo or another kind of extension...
and later insert  that link into the main m3u of the SimpleClient

Like that:

Code:

#EXTM3U

#EXTINF:-1,MyChannel
http://myserver.com/mychanel.m3u

I'd need to divide them because the part containing #KODIPROP is not static and has to be created in a separate server

No, that is not possible. It must all exist in a single file.