Open firsttris opened 3 years ago
I did some initial research.
.mpd
file containing the info for the streams (plural in sense of audio + video + different qualities + different codecs) .mpd
file is not directly available on the content site (e.g. youtube).mpd
file based on the result[formats]
output of youtube_dl/yt_dlp
.mpd
we must also integrate a webserver in our addon as explained hererange
meta from youtube_dl/yt_dlp
(have not found it there yet)I see the biggest challenge in creating an initial rudimentary working mpd file for just one quality. We should try this outside of the plugin to simplify things. Everything from there on (adding different formats/codec, offering a http server, integrating it in the addon etc.) should be straight forward.
I got a very rough first PoC outside of sendtokodi working.
results
of yt_dlp
range
key seems to work for now (according to the standard it "shall" be in there)Unfortunately, the input stream adaptive addon does not support all kinds of manifest schemes. We might need to have a blacklist to filter websites where we can not use their original manifests directly.
I am encountering a lot of exceptions and undocumented hurdles so integrating this into sendtokodi might take some weeks.
I just want to leave quick status update here:
We still need:
I am sorry but I am super busy for the next months, thus I cannot really work on this and it will take some time. If somebody wants to see it earlier I would need some help (e.g. implement the webserver, user preferences, format fishing (I can provide the input data). etc.)
Thanks @nullket. Happy to help although I don't think I would have all the skills readily available you would need from me. What I can obviously at least offer is to do some testing on arte.tv streams (see #70 )
@nullket, i want to ask, do you have poc addon or do you do all work manual to test if it will work, if you have addon can you send it to me i only need it to work on youtube
I have setup everything manually.
The problem is not to get it working for one site but:
Th first one is „real“ problem the second one just work. Currently, I have to much on my hands in order to work on this. I hope it will get better in two months (when a personal project ends). In case somebody else wants to integrate that feature sooner, I will for sure help in the pull request.
Yes please, add DASH support.