Kodi Community Forum
Req Use plugin:// as channel - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: PVR & Live TV Support (https://forum.kodi.tv/forumdisplay.php?fid=167)
+---- Forum: IPTV Simple Client (https://forum.kodi.tv/forumdisplay.php?fid=215)
+---- Thread: Req Use plugin:// as channel (/showthread.php?tid=225526)



Use plugin:// as channel - CoYoTr - 2015-04-28

Hi!

I have youtube links to live channels.

Was trying to make them work in a m3u file, but no success. Looks like IPTVSimple only manages direct streams or m3u8 playlists

Any way it support, ie, plugin.video.youtube/play/?video_id=cyOU1tX664Q as a channel?

This can be really usefull, there's a lot of live feeds reacheables only via plugins like youtube one.

Thanks in advance


RE: Use plugin:// as channel - bry - 2015-04-28

PseudoTV Live can do this


RE: Use plugin:// as channel - CoYoTr - 2015-04-28

I know! But i cant get it to work smooth.

So, i decide to use SimpleIPTV as my frontend. The simplicity in the interface is great.

Thats why i ask for this feature.


RE: Use plugin:// as channel - afedchin - 2015-04-28

This is imposible to handle url like plugin:// in the pvr part of Kodi.


RE: Use plugin:// as channel - CoYoTr - 2015-04-28

ok! Thanks a lot for the explanation.

Great work with this PVR client. Thanks for this great piece of software (KODI in general)

Best regards,

Alejandro


RE: Use plugin:// as channel - miszczu - 2015-04-28

But I think its possible to turn youtube link to m3u8 format just look out for it on google.


RE: Use plugin:// as channel - CoYoTr - 2015-04-29

miszczu: thanks a lot for the idea!

Finally, i get it to work. Jumping in google, i locate a way to get the stream m3u8 of a live channel in youtube. Leave the info here.

I use (under ubuntu) livestreamer

Here is the channel i want (its an open air channel in my country, not an illegal link)

The origin URL: https://www.youtube.com/watch?v=cyOU1tX664Q

in console, with livestreamer, simply putting (note 240p is the selected resolution of the channel, can be changed)

Code:
alejandro@alejandro-MS-7388:~/Escritorio$ livestreamer https://www.youtube.com/watch?v=cyOU1tX664Q 240p --stream-url

i get

Code:
http://manifest.googlevideo.com/api/manifest/hls_playlist/id/cyOU1tX664Q.1/itag/92/source/yt_live_broadcast/ratebypass/yes/live/1/cmbypass/yes/gir/yes/dg_shard/Y3lPVTF0WDY2NFEuMQ.92/hls_chunk_host/r2---sn-j5cax8pnpvo-x1xr.googlevideo.com/gcr/ar/pmbypass/yes/playlist_type/DVR/maudio/1/mm/32/ms/lv/mv/m/pcm2cms/yes/pl/20/dover/2/upn/9XZYihQUlOU/sver/3/fexp/900720,907263,908213,934954,936118,938028,9408288,9408710,947233,948124,952612,952637,957201/mt/1430262602/ip/[HEREAPPEARSMYPUBLICIP]/ipbits/0/expire/1430284254/sparams/ip,ipbits,expire,id,itag,source,ratebypass,live,cmbypass,gir,dg_shard,hls_chunk_host,gcr,pmbypass,playlist_type,maudio,mm,ms,mv,pcm2cms,pl/signature/31AD79AC02EDB0BBCCE3458870E841426B94CD9B.637E7BB9DAD26B20E821C0EDF4D284DB7C698EA2/key/dg_yt0/file/index.m3u8

Adding this URL to my playlist, takes about 10 secs to get the live stream, but works perfect!

Conclusion:
Looks like the stream is allowed to my actual ip, but, if it not change, stream works perfect.

Thanks all for your answers, and i hope this info can be usefull to anyone.

Regards


RE: Use plugin:// as channel - lawin1 - 2015-04-29

(2015-04-29, 01:34)CoYoTr Wrote: miszczu: thanks a lot for the idea!

Finally, i get it to work. Jumping in google, i locate a way to get the stream m3u8 of a live channel in youtube. Leave the info here.

I use (under ubuntu) livestreamer

Here is the channel i want (its an open air channel in my country, not an illegal link)

The origin URL: https://www.youtube.com/watch?v=cyOU1tX664Q

in console, with livestreamer, simply putting (note 240p is the selected resolution of the channel, can be changed)

Code:
alejandro@alejandro-MS-7388:~/Escritorio$ livestreamer https://www.youtube.com/watch?v=cyOU1tX664Q 240p --stream-url

i get

[<........................>

CoYoTr, you should get better results with livestreamer and VLC restream abilities.

First, install VLC:
Code:
sudo apt-get install vlc
sudo apt-get install ubuntu-restricted-extras

Then run this code:

Code:
livestreamer --player "vlc --file-caching=2000 --loop --sout=#gather:std{access=http,mux=ts,dst=:8090/americatv} --sout-keep"  https://www.youtube.com/watch?v=cyOU1tX664Q 480p --player-continuous-http

AND the path to this youtube stream will be:
http://xx.xx.xx.xx:8090/americatv