Can't get kodi to play stream
#1
Greetings, I'm developing an addon for extracting video from a website and (hopefully) playing it on kodi, I can actually play the streams on mpv and vlc but with kodi I can't.
Let me provide you with (1) a test snippet you can use for getting the stream urls (I can't give you mine since they're ip dependent) (2) the code for the actual addon and (3) my debug log

I'm on kodi 19.4 matrix by the way.

https://pastebin.com/xqVi1tRs
https://pastebin.com/AWZBE2a8
https://pastebin.com/K0kPByQK

What I do for attempting to play is:
Create a strm file and put inside plugin://plugin.video.okru?{video_id}

Then have kodi try and play it, sample id : 328192166429
Reply
#2
Nevermind guys, fixed it
Reply
#3
(2022-12-22, 01:02)parabellum Wrote: Nevermind guys, fixed it

If you want to share the fact that you fixed things, kindly also share the fix itself in true open-source fashion.
Reply
#4
Of course I will, new code for the addon is here: https://pastebin.com/SxP70L80

I was targeting the wrong url for the stream, now it works, but I arbitrarily select to always play the highest quality one since I don't know how to make a menu for selecting the video quality
Reply
#5
Hi Parabellum

i´ll like to play videos from okru and maybe you can help me. I wan to make a playlist with my favorites films
i tried with strm or m3u playlist but doesn´t work
tried 3 strm files, each with
https://paste.kodi.tv/acekivobit

do i have to change the url format?

thanks (gracias)
Reply

Logout Mark Read Team Forum Stats Members Help
Can't get kodi to play stream0