Kodi Community Forum
How to add youtube live channels in IPTV Simple Client? - 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: How to add youtube live channels in IPTV Simple Client? (/showthread.php?tid=345419)

Pages: 1 2


How to add youtube live channels in IPTV Simple Client? - phansen - 2019-07-15

Hello,

I am running IPTV Simple Client with a self-edited m3u text file on my computer.
Somewhere in the internet I read that I can also copy paste youtube channel addresses into it and Kodi plays them automatically But this doesn't work?

How can I play youtube channels in the TV section of Kodi?

Thank you for answers!


RE: Hot to add youtube live channesl in IPTV Simple Client? - the_other_guy - 2019-07-15

How can I play youtube channels in the TV section of Kodi?
to get a link run youtube plugin do search and add to favourites
<favourite name="FilmRiseTV" thumb="C:\Users\pearc\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\media\search.png">ActivateWindow(10025,&quot;plugin://plugin.video.youtube/kodion/search/query/?q=FilmRiseTV&quot;,return)</favourite>
the part you need is plugin://plugin.video.youtube/kodion/search/query/?q=FilmRiseTV
pr use node
https://forum.kodi.tv/showthread.php?tid=344482


RE: Hot to add youtube live channesl in IPTV Simple Client? - ontap - 2019-07-15

Am Imissing something here ? Once you have the link from favourites xml , how do you add that to pvr simple client ? Bearing in mind your already using an m3u url in pvr set up ?


RE: Hot to add youtube live channesl in IPTV Simple Client? - the_other_guy - 2019-07-16

https://www.matthuisman.nz/2019/02/iptv-merge-kodi-add-on.html
Features
Merge Multiple Playlists and EPGs into single files
Supports Remote, Local & Supported Add-on Sources
Supports Standard & Gzip Files
Automatically restart IPTV Simple Client after merge
Manually run merge or Automatically run merge at interval
Can be used with IPTV Simple Client for multiple Playlists / EPGs


RE: Hot to add youtube live channesl in IPTV Simple Client? - matthuisman - 2019-07-17

@phansen

Example m3u8 for playing youtube videos / live streams

Code:
#EXTM3U

#EXTINF:-1 tvg-logo="https://i.ytimg.com/vi/_82sV2LQP6g/maxresdefault.jpg",Relaxing Sleep Music
plugin://plugin.video.youtube/play/?video_id=_82sV2LQP6g

Just replace the Youtube id's with the id for the stream you want.
And also change the name.

You also need the Youtube add-on installed


RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-19

(2019-07-17, 02:24)matthuisman Wrote: @phansen

Example m3u8 for playing youtube videos / live streams

Code:
#EXTM3U

#EXTINF:-1 tvg-logo="https://i.ytimg.com/vi/EcEMX-63PKY/maxresdefault.jpg",Beats to sleep/chill to
plugin://plugin.video.youtube/play/?video_id=EcEMX-63PKY

#EXTINF:-1 tvg-logo="https://i.ytimg.com/vi/_82sV2LQP6g/maxresdefault.jpg",Relaxing Sleep Music
plugin://plugin.video.youtube/play/?video_id=_82sV2LQP6g

Just replace the Youtube id's with the id for the stream you want.
And also change the name.

You also need the Youtube add-on installed

Hello, thanks for the answer!

Just for testing purpose I copy pasted both entries to my m3u list.
Back on TV section in Kodi I see the name, for example: "RELAXING SLEEP MUSIC" and also the logo but after klicking on it, it remains white and doesn't start?!

My Youtube Plugin is "YouTube" from anxdpanic, bromix 6.5.0


RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-19

(2019-07-15, 14:29)the_other_guy Wrote: How can I play youtube channels in the TV section of Kodi?
to get a link run youtube plugin do search and add to favourites
<favourite name="FilmRiseTV" thumb="C:\Users\pearc\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\media\search.png">ActivateWindow(10025,&quot;plugin://plugin.video.youtube/kodion/search/query/?q=FilmRiseTV&quot;,return)</favourite>
the part you need is plugin://plugin.video.youtube/kodion/search/query/?q=FilmRiseTV
pr use node
https://forum.kodi.tv/showthread.php?tid=344482
Hello, thanks for the answer!

How can I get the adress out of a favorite entry?

for example: "<favourite name="FilmRiseTV" thumb="C:\Users\pearc\AppData\Roaming\Kodi\addons\plugin.video.youtube\resources\media\search.png">ActivateWindow(10025,&quot;plugin://plugin.video.youtube/kodion/search/query/?q=FilmRiseTV&quot;,return)</favourite>"


RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-19

(2019-07-15, 16:25)ontap Wrote: Am Imissing something here ? Once you have the link from favourites xml , how do you add that to pvr simple client ? Bearing in mind your already using an m3u url in pvr set up ?

yes


RE: Hot to add youtube live channesl in IPTV Simple Client? - matthuisman - 2019-07-19

Make sure your using Kodi 18 and IPTV Simple add-on is 3.5.8 (ish)

I tried that playlist I posted and works fine.
Well, Youtube errors on the first channel, but works fine on the 2nd.


RE: Hot to add youtube live channesl in IPTV Simple Client? - ontap - 2019-07-19

(2019-07-19, 06:49)phansen Wrote:
(2019-07-15, 16:25)ontap Wrote: Am Imissing something here ? Once you have the link from favourites xml , how do you add that to pvr simple client ? Bearing in mind your already using an m3u url in pvr set up ?

yes
Yes what ?


RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-19

Thank you for all the answers!! Now it works!!:-)

For everyone else wanting to resolve the same problem:

1. I updated Kodi from 17.4 to 18.3 (the TV link now started but the youtube live stream was running only two seconds)
2. Installed "InputStream Adaptive" (Add-ons -> Download -> VideoPlayer InputStream -> InputStream Adaptive)
3. Opened youtube add-on configuration and switch on "Use MPEG-DASH"

What's left:
Where do I find the favorites.xml??


RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-20

It worked fine for a short time and now I am getting this ERROR Message:

ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!

What does this mean??


Hot to add youtube live channesl in IPTV Simple Client? - DarrenHill - 2019-07-20

To receive meaningful assistance you will need to provide a full debug log.

The instructions are here... debug log (wiki)

If you are using the Basic Method, then ensure the following is applied...
1.Enable debugging in Settings>System Settings>Logging,
2.Restart Kodi
3.Replicate the problem.
4.Upload the log to Kodi Paste Site manually or use the Kodi Logfile Uploader. (wiki) With either method post the link to the log back here.

If you are using the Advanced Method ensure you have correctly created and applied the advancedsettings.xml file (wiki)

In both instances, you should see the word DEBUG throughout the log.

Note: Full logs only. No partial or redacted logs
Do NOT post your logs directly into the forum. Use the Kodi Paste Site. Post the link to your pasted log in the forum



RE: Hot to add youtube live channesl in IPTV Simple Client? - phansen - 2019-07-20

Thank you for the explanation!

Here the log file: https://paste.kodi.tv/udecabagow.kodi

Why I can't start live strerams in the youtube plugin?


RE: Hot to add youtube live channesl in IPTV Simple Client? - DarrenHill - 2019-07-20

Don't cut the log file - upload the whole thing and post the new link.