2015-02-17, 21:29
Dear devs,
The title of the post might be confusing but I'll try to make it the clearest I can:
When playing m3u files in the PVR section, namely using IPTV simple client, and if the video uses the RTMP protocol it simply won't play. For instance this file:
Create a file named rtp.m3u with the following content:
Add this link to the m3u8 playlist in the IPTV simple. Or even simple, add this link to a playlist.
I thought it could be a limitation of the protocol or simply not supposed to work this way. However, the same file plays okay in kodi (out of the PVR) - either being a static file on your computer, or using the PlayMedia function from python. So I think this is something not supported on the PVR API only.
Why I need this:
Instead of updating a playlist manually I think a service addon like an http server written in python is more than enough to proxy/redirect to the parsed link. However, this doesn't work with the rtmp protocol. If the PVR addon was capable of playing this files (like kodi does) the httpserver service addon would just redirect to a m3u file containing the rtmp link.
Hope the explanation was clear. I think the change might not be that big.
Thanks for reading or considering it.
Regards,
enen
The title of the post might be confusing but I'll try to make it the clearest I can:
When playing m3u files in the PVR section, namely using IPTV simple client, and if the video uses the RTMP protocol it simply won't play. For instance this file:
Create a file named rtp.m3u with the following content:
Quote:#EXTM3U
#EXTINF:-1,RTP
rtmp://ec25.rtp.pt/livetv/2ch5h264 swfUrl=http://programas.rtp.pt/play/player.swf?v3 live=true timeout=15
Add this link to the m3u8 playlist in the IPTV simple. Or even simple, add this link to a playlist.
I thought it could be a limitation of the protocol or simply not supposed to work this way. However, the same file plays okay in kodi (out of the PVR) - either being a static file on your computer, or using the PlayMedia function from python. So I think this is something not supported on the PVR API only.
Why I need this:
Instead of updating a playlist manually I think a service addon like an http server written in python is more than enough to proxy/redirect to the parsed link. However, this doesn't work with the rtmp protocol. If the PVR addon was capable of playing this files (like kodi does) the httpserver service addon would just redirect to a m3u file containing the rtmp link.
Hope the explanation was clear. I think the change might not be that big.
Thanks for reading or considering it.
Regards,
enen