Kodi Community Forum
How to get the built-in function PlayMedia() to open a playlist view - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: How to get the built-in function PlayMedia() to open a playlist view (/showthread.php?tid=197059)



How to get the built-in function PlayMedia() to open a playlist view - Renard - 2014-06-05

Hello!

I'm trying to edit the default Confluence skin in order to add a new item on the home screen. My goal is to add the TV channels provided by my ISP, Free; the ISP provides a .m3u playlist of their channels, which lists rtsp streams, and is dynamically updated when channels come and go.

This can be seen here: http://www.free.fr/assistance/2236.html

Most guides online direct you to IPTV services, but I'm already using TVheadend for DVB-T in that regard. Hence, I'd rather use the M3U instead of the iptv "hack".

I've successfully added a new item in the home screen, with the following onclick action:
PlayMedia(http://mafreebox.freebox.fr/freeboxtv/playlist.m3u)

The element successfully loads the M3U playlist, and its first item (the first rtsp channel) starts playing immediately. So, it works in essence, but doesn't have the behavior I expect. It makes picking a channel a bit hard.

Is there a way to load a playlist view instead of starting payback right away?