Recent Changes - Search:

LiveStreamsPro

PmWiki

pmwiki.org

edit SideBar

Multilink

Multiple links in one item
Get version 2.4.2 and it should work. For title you pass $$lsname= parameter where you can pass the name. This should be at the end of the URL, this is optional so if you dont add to the url it will show server name


Example:

<item>
<title>multilink_test</title>
<multilink>
<link>http://trtcanlitv-lh.akamaihd.net/i/TRTOKUL_1@182245/master.m3u8$$lsname=TRT</link>
<link>http://mecliscanlitv-lh.akamaihd.net/i/MECLISTV_1@127503/master.m3u8</link>
<link>http://trtcanlitv-lh.akamaihd.net/i/TRTOKUL_1@182245/master.m3u8</link>
</multilink>
</item>


Infact if you get 2.6.0 you can now play multilinks items like this:
<item>
<title>Concept Test Gone Rogue (On my part) v.2</title>

<link>htt://cmghlslive-i.akamaihd.net/hls/live/224708/KIRO/2564k/master.m3u8$$LSPlayOnlyOne$$$$lsname=MyName19</link>

<link>plugin://plugin.video.SportsDevil/?mode=1&amp;item=catcher%3Dstreams%26url=http://usachannels.tv/nbc_live.p$$LSPlayOnlyOne$$</link>

<link>htt://cmghlslive-i.akamaihd.net/hls/live/224711/WFTV/2564k/prog.m3u8?anv=1472742042917&amp;X-Anvato-Adst-Auth=nQOZ/Y9T7A7hE74NZ13VOGuTMSCzKR/o1WoPmSHdDoY3hyEhB8fey3UUtrwKS0/d</link>

<link>htt://kthv-lh.akamaihd.net/i/KTHVLiveRadar_1@347085/index_2000_av-p.m3u8?sd=6&amp;rebase=on$$lsname=MyName3</link>

<link>htt://cdn.bimvidlive.com/kyur/ngrp:kyur1_all/playlist.m3u8$$lsname=MyName2</link>

<link>http://lcdn.une.net.co/v1/AUTH_HLSLIVE/0001/tu1/yt1_1.m3u8$$lsname=MyName1</link>

</item>


see the first links having incorrect url so these should fail and the last one will work. Since we already support multi links in LSPRO, to tell the addon that we only one link to $$LSPlayOnlyOne$$ anywhere on the first URL. Based on this, addon will not show the selection and will keep going through the list unless one of the link works. I haven't tested it fully so there could be some situation where it won't work but for this example it works ok. Also, i cannot control when SportDevil show the dialogue saying 'No Stream available' while running first link, you just have to click OK to move to next. This same process should work with regexes as well.
Also since you can only have one name for the entire item, to identify the individual source, add the $$lsname= (optional) at the end of the link. You can use this to give the name to any link, i have chosen to give few of them name as its optional which you would see when you play the item.

Edit - History - Print - Recent Changes - Search
Page last modified on September 12, 2016, at 01:29 PM
Free Web Hosting