Req .strm remote accessing
#1
Hi everyone.
I'm using Kodi to play my IPTV-Streams (HLS, RTMP also my sources) over the IPTV Simple Client.
My playlist is dynamically generated, so the stream-urls are changing.

My problem now is that for example a playlist item when clicked is directly probed, but the content is a rtmplink which has to be parsed first before its tried to be probed.
Of course Kodi doesnt recognize the content, so it fails to play.

My Idea would be to allow strm files to be accessed via http, with a special mime type, then it could detect that the url has to be opened first, and the content to be parsed.

I think it wont take that long to code that, i have looked into the source but i'm not a native coder, but for someone who know kodi, it would take max. 30 minutes.

if this request is going to be rejected i'm interested anyway.
Reply
#2
If someone would help me i would pay.

I need it asap.

Its simple:
detect special filetype/mimetype in DVDFactoryInputStream.cpp (HEAD request, already implented) , do the url request and then just call CDVDFactoryInputStream::CreateInputStream with the new url you received from the previous requests.
Reply
#3
Thanks to tadly, i was able to make the request

http://pastebin.com/GfpEsbyH

LOG: http://pastebin.com/59ir2N9L

Like you see in the log, the firsturl which has been used to make the request, has been used in rtmp
but librtmp is called, so the url is definetly a RTMP link but its not getting to the function.

maybe the file(value) is readed globally?

can someone help me out?
Reply
#4
I made my own github branch now, including my patch, which does not fully work.

ive commented my changes, if anyone knows howto go further i would appreciate some help.

Thanks in advance.

https://github.com/well0nez/xbmc/commit/...f14b1d80eb
Reply
#5
There will be a new type of addon that can extend CDVDInputStream.
Reply
#6
(2016-02-05, 19:42)FernetMenta Wrote: There will be a new type of addon that can extend CDVDInputStream.

Could you elaborate on that a bit? Will it be in 16 or later?
Reply
#7
will this work in combination with iptv simple addon?

any timeline?

thanks for your time
Reply

Logout Mark Read Team Forum Stats Members Help
.strm remote accessing1