v19 M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream
#1
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
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#2
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
Reply
#3
(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.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
M3U inputstreamaddon and inputstreamclass to be deprecated in favour of inputstream0
This forum uses Lukasz Tkacz MyBB addons.