2017-11-28, 09:54
Hi, I am trying to build my own addon to play videos from rutube.
What I would like to do is to stream the video without downloading it.
The problem is that youtube-dl returns an unplayable link for rutube
videos and therefore also your module gives a wrong url to feed to kodi.
An example of video is the following:
https://rutube.ru/video/a4cb97ea46c570bc...ype=source
If I feed it into youtube-dl it downloads it without problem, however if I use the -g option to get
the url it gives an unplayable url.
Therefore I guess that the best approach would be to use the download function
of your module and play the video while it is downloading.
However, I haven't managed to understand how to get the path of the downloaded file
and play it while it is downloading.
It's the first addon I am writing for kodi and I am not properly a developer therefore
I am sorry if this is a very noob question...
What I would like to do is to stream the video without downloading it.
The problem is that youtube-dl returns an unplayable link for rutube
videos and therefore also your module gives a wrong url to feed to kodi.
An example of video is the following:
https://rutube.ru/video/a4cb97ea46c570bc...ype=source
If I feed it into youtube-dl it downloads it without problem, however if I use the -g option to get
the url it gives an unplayable url.
Therefore I guess that the best approach would be to use the download function
of your module and play the video while it is downloading.
However, I haven't managed to understand how to get the path of the downloaded file
and play it while it is downloading.
It's the first addon I am writing for kodi and I am not properly a developer therefore
I am sorry if this is a very noob question...