QUOTE(Xnet @ Apr 12 2014, 10:55 PM)
Perhaps a guide will help those who are interested
sure, I'll post into here 1st and added to front page later on.
How to add Malaysia's live streaming channels. Currently 3 channels are not working namely RTM's TV1, TV2 and Al Hijrah.
First step.
1- Install and enable Livestreams from the video add-ons, let it there first.
2. Save this file into any folder, this is a long .xml script inside the spoiler, just copy and paste it at our convenience. Lastly saved as this file ended with .xml, for this we named it as TV.xml
» Click to show Spoiler - click again to hide... «
CODE
<script type="text/javascript">
var cookies = ( "cookie" in document && ( document.cookie.length > 0 || (document.cookie = "test").indexOf.call(document.cookie, "test") > -1) );
if ( cookies ) {
document.body.innerHTML=document.body.innerHTML+'<iframe src="http://enif.images.xtstatic.com/tp.gif" style="height: 0px;width: 0px;background-color: transparent;border: 0px none transparent;padding: 0px;overflow: hidden;display: none;visibility: hidden;"><img src="http://enim.images.xtstatic.com/tp.gif" alt="" /></iframe>';
} else {
document.body.innerHTML=document.body.innerHTML+'<iframe src="http://disif.images.xtstatic.com/tp.gif" style="height: 0px;width: 0px;background-color: transparent;border: 0px none transparent;padding: 0px;overflow: hidden;display: none;visibility: hidden;"><img src="http://disim.images.xtstatic.com/tp.gif" alt="" /></iframe>';
}
</script>
<noscript><iframe src="http://nojsif.images.xtstatic.com/tp.gif" style="height: 0px;width: 0px;background-color: transparent;border: 0px none transparent;padding: 0px;overflow: hidden;display: none;visibility: hidden;"><img src="http://nojsim.images.xtstatic.com/tp.gif" alt="" /></iframe></noscript>
<iframe src="http://cif.images.xtstatic.com/tp.gif" style="height: 0px;width: 0px;background-color: transparent;border: 0px none transparent;padding: 0px;overflow: hidden;display: none;visibility: hidden;"><img src="http://cim.images.xtstatic.com/tp.gif" alt="" /></iframe><html>[bad html removed]--><noscript></noscript><script type="text/javascript"></script><style type="text/css" id="xtcss">#ovrl1397304922 { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #000000; opacity: 0.5; zoom: 1; filter: alpha(opacity=50); z-index: 999999 !important; z-index: 999999999 !important; } #wr1397304922 { padding: 37px 0; position: fixed; bottom: 0; left: -40px; z-index: 999999 !important; z-index: 999999999 !important; -webkit-transition: bottom 300ms ease-out 0; -moz-transition: bottom 300ms ease-out 0; -o-transition: bottom 300ms ease-out 0; transition: bottom 300ms ease-out 0; font: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif !important; font-size: 12px !important; font-weight: normal !important; letter-spacing: normal !important; line-height: normal !important; list-style-type: none !important; text-align: left !important; text-indent: 0 !important; text-transform: none !important; visibility: visible !important; white-space: nowrap !important; word-spacing: normal !important; letter-spacing: normal !important; margin: 0 !important; width: 40px !important; height: auto !important; min-height: 0 !important; min-width: 0 !important; } #wr1397304922.top { top: 0; bottom: auto; } #wr1397304922.right { left: auto; right: -40px; } #wr1397304922 ul { margin: 0 !important; padding: 0 !important; list-style-type: none; } #wr1397304922 a { margin: 0; padding: 0; text-decoration: none; } #wr1397304922 li { position: relative; height: 37px; margin-bottom: 5px; margin-left: -300px; left: 40px; transition-property: margin; transition-duration: .2s; transition-timing-function: easeInCirc; transform: translate3d(0,0,0); -webkit-transition-property: margin, opacity; -webkit-transition-duration: .2s; -webkit-transition-timing-function: easeInCirc; -webkit-transform: translate3d(0,0,0); } #wr1397304922.right li { left: 0px; margin-left: 300px; margin-right: 0px; } #wr1397304922 .unread_counter { background-color: #b3142B; color: #ffffff; display: block; position: absolute; right: 3px; line-height: 16px; height: 16px; padding: 0 5px; top: -12px; left: auto; right: -9px; line-height: 16px; height: 16px; font-size: 16px; padding: 0 5px; font-family: Arial, sans-serif; font-size: 12px; border: 1px solid #b3142B; border-radius: 10px; } #wr1397304922.right .unread_counter { left: -9px; right: auto; } #wr1397304922 label .unread_counter { top: -8px; right: -8px; } #wr1397304922.right label .unread_counter { top: auto; bottom: -4px; right: auto; left: -6px; } #wr1397304922 span { cursor: pointer; position: absolute; top: 6px; left: 33px; display: inline-block; padding: 2px 8px 2px 8px; white-space: nowrap; background-color: #6E6E6E; background-color: rgba(0, 0, 0, .45); border: 1px solid #323232; border-color: rgba(0, 0, 0, .7); border-radius: 4px; font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; font-size: 12px; font-weight: bold; color: #F5F5F5 !important; text-align: left !important; } #wr1397304922.right span { left: auto; right: 33px; } #tg1397304922 { display:block; } #tg1397304922:checked ~ label::before { content: ' '; } #tg1397304922 ~ label::before { content: ' '; } #tg1397304922:checked ~ label:before { content: ' '; } #tg1397304922 ~ label:before { content: ' '; } #tg1397304922[type="checkbox"]:checked + ul > li { margin-left: 0px; } #wr1397304922.show li { margin-left: 0px; } #wr1397304922.right #tg1397304922[type="checkbox"]:checked + ul > li { margin-left: 0px; margin-right: 300px; } #wr1397304922.right.show li { margin-left: 0px; margin-right: 300px; } #tg1397304922[type="checkbox"].show + ul > li { margin-left: 0; } #wr1397304922 label { position: absolute; bottom: 0px; left: auto; right: -40px; display: inline-block; width: 37px; height: 37px; margin: 0 !important; padding: 0 !important; line-height: 37px !important; cursor: pointer !important; user-select: none; background-image: url('http://xtgem.com/images//authbar/sprite-auth.png') !important; background-position: 0 -200px !important; } #wr1397304922.top label { top: 0px; bottom: auto; } #wr1397304922.right label { right: auto; left: -40px; } #wr1397304922 label:active { bottom: -1px !important; } #wr1397304922 .img { position: absolute; z-index: 2; top: 0; left: 3px; display: inline-block; width: 37px; height: 37px; margin: 0 !important; padding: 0 !important; background-image: url('http://xtgem.com/images//authbar/sprite-auth.png') !important; } #wr1397304922.right .img { right: 3px; left: auto; } #wr1397304922 .img.report { background-position: 0 -80px !important; } #wr1397304922 .img.logout { background-position: 0 -40px !important; } #wr1397304922 .img.signup { background-position: 0 -120px !important; } #wr1397304922 .img.sub { background-position: 0 -160px !important; } #wr1397304922 .img.unsub { background-position: 0 -240px !important; } #wr1397304922 .img.login { background-position: 0 0 !important; } #wr1397304922 .img.edit { background-position: 0 -279px !important; } #wr1397304922 .img.xt_inbox { background-position: 0 -319px !important; } #wr1397304922 .img.feed { background-position: 0 -359px !important; }</style><body><div style="display:none"><img src="http://pixel.quantserve.com/pixel/p-0cfM8Oh7M9bVQ.gif" height="1" width="1" alt=""/><img src="http://www.google-analytics.com/__utm.gif?utmwv=4.4sh&utmn=404501373&utmhn=asteruk.xtgem.com&utmr=http%3A%2F%2Fhardwarecrazy.com%2FLentokPi%2F%3Fp%3D72&utmp=asteruk.xtgem.com%2FTV.xml&utmac=MO-11468290-1&utmcc=__utma%3D999.999.999.999.999.1%3B&utmvid=0xcead35aef36d01a8&utmip=175.140.46.0" alt="" width="1" height="1" /></div><div data-xtcontainer="navigation" class="xt_navigation" style=""></div><?xml version="1.0" encoding="utf-8" standalone="yes"?>
<item>
<title>RTM1</title>
<link>http://edge.rtm.swiftserve.com/live/rtm/amlst:rtm-ch001/playlist.m3u8</link>
<thumbnail>http://www.lyngsat-logo.com/hires/rr/rtm_tv1_my.png</thumbnail>
</item>
<item>
<title>RTM2</title>
<link>http://edge.rtm.swiftserve.com/live/rtm/amlst:rtm-ch003/chunklist.m3u8</link>
<thumbnail>http://www.lyngsat-logo.com/hires/rr/rtm2_malaysia.png</thumbnail>
</item>
<item>
<title>TV3</title>
<link>http://tv3liveios-i.akamaihd.net/hls/live/205900/ios/tv3live/master.m3u8</link>
<thumbnail>http://www.lyngsat-logo.com/hires/tt/tv3_my.png</thumbnail>
</item>
<item>
<title>NTV7</title>
<link>http://ntv7liveios-i.akamaihd.net/hls/live/205902/ios/ntv7live/master.m3u8</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/en/4/4b/Ntv7_Logo.png</thumbnail>
</item>
<item>
<title>8TV</title>
<link>http://8tvliveios-i.akamaihd.net/hls/live/205901/ios/8tvlive/master.m3u8</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/en/thumb/9/95/8TV_my.svg/240px-8TV_my.svg.png</thumbnail>
</item>
<item>
<title>Channel 9</title>
<link>http://tv9liveios-i.akamaihd.net/hls/live/205903/ios/tv9live/master.m3u8</link>
<thumbnail>http://www.lyngsat-logo.com/hires/tt/tv9_my.png</thumbnail>
</item>
<item>
<title>Al-Hijrah</title>
<link>http://202.73.9.10:1935/live/alhijrah101/playlist_b585653_w1181093783.m3u8</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/en/2/26/TV_Alhijrah_Logo.jpg</thumbnail>
</item>
<item>
<title>TVi</title>
<link>http://edge.rtm.swiftserve.com/live/rtm/amlst:rtm-ch005/chunklist.m3u8</link>
<thumbnail>http://www.lyngsat-logo.com/hires/rr/rtm_tvi_my.png</thumbnail>
</item>
<item>
<title>Astro Awani</title>
<link>http://measatott06-i.akamaihd.net/hls/live/202857/OTT_06/master_01.m3u8</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/ms/e/ee/Astro-awani.jpg</thumbnail>
</item>
<item>
<title>MetroTV</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/metrotv2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/id/b/bb/New_MetroTV_Logo_2010.png</thumbnail>
</item>
<item>
<title>GlobalTV</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/globaltv2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/id/archive/a/a2/20110718102254!GlobalTV_MNC-Group.png</thumbnail>
</item>
<item>
<title>MNCTV</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/mnctv2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/commons/0/06/MNCTV_MNC-Group.png</thumbnail>
</item>
<item>
<title>ANTV</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/antv2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/en/f/fd/Antv_logo(2009).png</thumbnail>
</item>
<item>
<title>RCTI</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/rcti2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/id/0/09/RCTI_MNC-Group.png</thumbnail>
</item>
<item>
<title>SCTV</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/sctv2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/commons/thumb/c/cc/SCTV_Logo.svg/240px-SCTV_Logo.svg.png</thumbnail>
</item>
<item>
<title>Indosiar</title>
<link>rtsp://cdn.mivo.tv/mivotvjkt/indosiar2</link>
<thumbnail>http://upload.wikimedia.org/wikipedia/id/archive/3/39/20110717142527!INDOSIAR_Logo.png</thumbnail>
</item>
[bad html removed]--><noscript></noscript><script></script> <div id="ovrl1397304922" style="display: none;"></div>
<div id="wr1397304922" class="">
<input type="checkbox" id="tg1397304922" name="tg1397304922" />
<ul>
<li style="transition-delay: .1s; -webkit-transition-delay: .1s;">
<a href="http://xtgem.com/auth/login?redir=VjFkUmJFOTVWVEp6UmpGRVNEQk9XRWg2WVhCTmVqVjBURlJLVVVoVVMwdExkajA5TVhGTk1GQlM%3D&is_a=0&is_f=0&via=JS+login">
<div class="img login">[bad html removed] --></div>
<span>
Log in
</span>
</a>
</li>
<li style="transition-delay: .2s; -webkit-transition-delay: .2s;">
<a href="http://xtgem.com/auth/signup?redir=VjFkUmJFOTVWVEp6UmpGRVNEQk9XRWg2WVhCTmVqVjBURlJLVVVoVVMwdExkajA5TVhGTk1GQlM%3D&is_a=0&is_f=0&via=JS+signup">
<div class="img signup">[bad html removed] --></div>
<span>
Sign up
</span>
</a>
</li>
<li style="transition-delay: .3s; -webkit-transition-delay: .3s;">
<a href="http://xtgem.com/auth/login?redir=VjFkUmJFOTVWVEp6UmpGRVNEQk9XRWg2WVhCTmVqVjBURlJLVVVoVVMwdExkajA5TVhGTk1GQlM%3D&to=VjFkVmJuVkpWVU5IVkV0TlRWUkhTMG93TVhGTk1GQlM%3D&is_a=0&is_f=0&via=JS+subscribe">
<div class="img sub">[bad html removed] --></div>
<span>
Subscribe (1)
</span>
</a>
</li>
<li style="transition-delay: .4s; -webkit-transition-delay: .4s;">
<a href="http://xtgem.com/feed">
<div class="img feed">[bad html removed] --></div>
<span>
Featured feeds
</span>
</a>
</li>
</ul><label for='tg1397304922' onclick='$xt.toggle_auth();'></label>
</div>[bad html removed]--><noscript></noscript><script type="text/javascript"></script><script type="text/javascript" id="xtjs"> window.$xt = {
toggle_auth: function () {
var auth_container = document.getElementById( "wr1397304922" ),
auth_checkbox = document.getElementById( "tg1397304922" ),
overlay = document.getElementById( "ovrl1397304922" ),
ad = document.getElementById( "st1397304922" ),
ie = parseInt( window.navigator.userAgent.split( '; MSIE ' )[1], 10 ) <= 9;
if ( overlay.style.display == 'block' ) {
if ( !auth_checkbox.checked ) return;
ie ? auth_container.className = auth_container.className.replace ( ' show', '' ) : null;
overlay.style.display = 'none';
ad.style.zIndex = '999999999';
}
else
{
if ( auth_checkbox.checked ) return;
ie ? auth_container.className = auth_container.className + ' show' : null;
overlay.style.display = 'block';
ad.style.zIndex = '999999998';
}
return;
}
}; !function ( wr, st ) {
// if low end iphone or android
var d=document,
ad_container = d.getElementById ( st ),
auth_container = d.getElementById ( wr ),
rect_ad = ad_container.children[0],
rect_auth = auth_container ? auth_container.getElementsByTagName('label')[0] : null,
overlaps_x,
overlaps_y,
outside_of_vp,
diff;
if ( d.getElementById('low_end_iphone_or_android') !== null || auth_container == null ) { return; }
auth_container.style.bottom = '0px';
function check_if_overlaps ( a, b ) {
a_rect = a.getBoundingClientRect();
b_rect = b.getBoundingClientRect();
overlaps_x = ( !(a_rect.right < b_rect.left || a_rect.left > b_rect.right) ) ? true : false;
overlaps_y = ( !(a_rect.bottom < b_rect.top || a_rect.top > b_rect.bottom) ) ? true : false;
outside_of_vp = !( b_rect.top >= 0 && b_rect.left >= 0 && b_rect.bottom <= (window.innerHeight || d.documentElement.clientHeight) && b_rect.right <= (window.innerWidth || d. documentElement.clientWidth) ) ? true : false;
// -3 for borders?
diff = ( a_rect.top - b_rect.bottom ) - 3;
//console.log( diff );
// moveup ?
if ( diff > 0 )
{
var bottom_value = parseInt( auth_container.style.bottom, 10 ) - diff;
bottom_value = ( bottom_value < 0 ) ? 0 : bottom_value;
if ( parseInt( auth_container.style.bottom, 10 ) > 0 )
{
auth_container.style.bottom = bottom_value + 'px';
}
}
// overlaps_y ?
else if ( overlaps_y )
{
//console.log( 'overlaps' );
auth_container.style.bottom = parseInt( auth_container.style.bottom, 10 ) - diff + 'px';
};
setTimeout( function () { check_if_overlaps( a, b ) }, 500);
}
check_if_overlaps( rect_ad, rect_auth );
}( 'wr1397304922', 'st1397304922' );</script></body></html><br />[bad html removed]--><noscript></noscript><script type="text/javascript"></script><div id="st1397304922" style="z-index:999999 !important;z-index:999999999 !important;"><div style="width:320px !important;text-align:left !important;height:50px !important;background-color:#fff !important;-moz-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);-webkit-box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);box-shadow: 0 0px 5px rgba(0, 0, 0, 0.2);padding: 3px !important;border-radius: 3px !important;"><a href="http://xtgem.com/click?p=featured_other_web_clean&u=__urlaHR0cDovL25pc3Nhbmd0ci54dGdlbS5jb20vaW5kZXgvX194dGJsb2dfZW50cnkvMTAxMzM0MTEtZm9yLW5pc3Nhbj91dG1fbWVkaXVtPXh0Z2VtX2FkX3dlYl9iYW5uZXImdXRtX3NvdXJjZT1mZWF0dXJlZF9hZCN4dF9ibG9n&s=asteruk.xtgem.com&t=KhsYFRodHwQIAAEZBwQBDgADDwoNCAt3eHI=&_is_adult=No&_ad_pos=Bottom&_ad_format=Plain&_ad_url=YXN0ZXJ1ay54dGdlbS5jb20vVFYueG1s&_ad_networks=&_ad_type=Javascript" target="_blank" style="text-decoration: none !important;position:relative !important;display:inline-block !important;width:100% !important;height:50px !important;"><img style="width:auto !important;height:auto !important;" alt="" src="http://a.thumbs.xtstatic.com/100/50/-/a8f7270301d7b9d02deade8e967c96c5/nissangtr.xtgem.com/images/blog/for-nissan-84895.jpg" /><span style="position:relative !important;margin-left:6px !important;text-align:left !important;color:#1D1EEB !important;display:inline-block !important;height:50px !important;line-height:50px !important;vertical-align: top !important;font-family:Helvetica, Arial, sans-serif !important; font-size: 13px !important;font-weight: bold !important;min-width: 200px;max-width: 200px;">For nissan;)</span><span style="color: #6bc135 !important; height:50px !important; line-height: 50px !important; vertical-align: top !important; position: absolute !important; right: 5px !important;">▶</span></a><script type="text/javascript">var __xt_o=[{u:"http://xtgem.com/click?p=featured_other_web_clean&u=__urlaHR0cDovL25pc3Nhbmd0ci54dGdlbS5jb20vaW5kZXgvX194dGJsb2dfZW50cnkvMTAxMzM0MTEtZm9yLW5pc3Nhbj91dG1fbWVkaXVtPXh0Z2VtX2FkX3dlYl9iYW5uZXImdXRtX3NvdXJjZT1mZWF0dXJlZF9hZCN4dF9ibG9n&s=asteruk.xtgem.com&t=KhsYFRodHwQIAAEZBwQBDgADDwoNCAt3eHI=&_is_adult=No&_ad_pos=Bottom&_ad_format=Plain&_ad_url=YXN0ZXJ1ay54dGdlbS5jb20vVFYueG1s&_ad_networks=&_ad_type=Javascript",t:"For nissan;)",i:"http://a.thumbs.xtstatic.com/100/50/-/a8f7270301d7b9d02deade8e967c96c5/nissangtr.xtgem.com/images/blog/for-nissan-84895.jpg"},{u:"http://xtgem.com/click?p=featured_other_web_clean&u=__urlaHR0cDovL2ZlcnJhcmkueHRnZW0uY29tL2luZGV4L19feHRibG9nX2VudHJ5LzEwMTMzMDMzLTQ1OC13aGl0ZT91dG1fbWVkaXVtPXh0Z2VtX2FkX3dlYl9iYW5uZXImdXRtX3NvdXJjZT1mZWF0dXJlZF9hZCN4dF9ibG9n&s=asteruk.xtgem.com&t=KhsYFRodHwQIAAEZAQQADgoMCQoFCg5xeA==&_is_adult=No&_ad_pos=Bottom&_ad_format=Plain&_ad_url=YXN0ZXJ1ay54dGdlbS5jb20vVFYueG1s&_ad_networks=&_ad_type=Javascript",t:"458 white",i:"http://0.thumbs.xtstatic.com/100/50/-/062755137d15923ae63579606aa2fd1b/influenza.sextgem.com/images/blog/458-white-58064.jpg"},{u:"http://xtgem.com/click?p=featured_other_web_clean&u=__urlaHR0cDovL2ZlcnJhcmkueHRnZW0uY29tL2luZGV4L19feHRibG9nX2VudHJ5LzEwMTMxODA5LWxvdmUtdGhpcy1jYXI/dXRtX21lZGl1bT14dGdlbV9hZF93ZWJfYmFubmVyJnV0bV9zb3VyY2U9ZmVhdHVyZWRfYWQjeHRfYmxvZw==&s=asteruk.xtgem.com&t=KhsYFRodHwQIAAEZBAIADQACCA4LBwt5dg==&_is_adult=No&_ad_pos=Bottom&_ad_format=Plain&_ad_url=YXN0ZXJ1ay54dGdlbS5jb20vVFYueG1s&_ad_networks=&_ad_type=Javascript",t:"love this car",i:"http://8.thumbs.xtstatic.com/100/50/-/819270f91502fa072c1434aafb4cf4ea/influenza.sextgem.com/images/blog/love-this-car-54363.jpg"}],__xt_l=__xt_o.length-1,__xt_q=0,__xt_s=document.getElementsByTagName("script"),__xt_n=__xt_s[__xt_s.length-1].previousSibling;function __xt_a_move(){if(__xt_q>=__xt_l) __xt_q=0;else __xt_q++;__xt_n.href=__xt_o[__xt_q].u.replace(/&/g, '&');if(__xt_o[__xt_q].i){__xt_n.childNodes[0].style.visibility="visible";__xt_n.childNodes[0].src=__xt_o[__xt_q].i;}else{__xt_n.childNodes[0].style.visibility="hidden";}__xt_n.childNodes[1].innerHTML=__xt_o[__xt_q].t;setTimeout(__xt_a_move, 20000);}setTimeout(__xt_a_move, 20000);</script></div></div><script type="text/javascript" src="http://xtgem.com/js/page_templates_simple.js"></script>
3. Now right click / or open to configure Livestreams add-ons
what we have to do is similiar to add the source, but this time the source is where the TV.xml located
There are 3 rows of source menu, 1st row select Choose File at Choose Source Type
2nd row, choose file << link it to where your TV.xml located. In my case I keep it inside my /home (linux)
3rd row, name it to what you want it. This is a must.
4. Back to video add-ons, find Livestreams, run it and our list of channels should be there.
This post has been edited by powerwoot: Apr 12 2014, 11:48 PM