TOOLSP
"
WELCOME !

Please ! USE [CODE] tags for your LINKS and CODE.

Favor usar balisas [CODE] para sus vínculos y código.

Merci d'utiliser les balises [CODE] pour vos liens et code.


[code]http://Thank.you[/code]
"
*** Doc. Kodi & PYthon ***
.
.
Python & Modules PY
.
.
.
.
(Video) Cache Kodi
.
.
.
Addons Kodi
.
.
.
Addons Kodi
.
.
*** GITHUB ***
.
.
URLresolver (J.S.) [GIT] +
.
.
.
URLresolver (elD.) [GIT] -
.
.
URLresolver (tvA.) [GIT] -
.
.
.
.
Cloudflare (external) [GIT]
.
.
.
*** Associated ***
.
Pastebin Your list online
.
mediafire Upload Files
.
imgur Upload Pics
lyngsat TV logos collection
transparent .png
.
http://hola.org free? VPN
Hola.apk free? VPN App.
.
hidester- free Proxy
.
webgrabplus EPG - Eng
xmltv EPG - Fr
kazer EPG - Fr
.
.wordreference Traduction
.
mail.com (fast sign-in)
.
.
FRIENDS / PARTNERS

£$π community

créer un forum


Youtube Live not working

Go down

Youtube Live not working

Post by retrorat1 on Mon 29 Jan - 10:38

Morning all,
Its been some time that I have come on here as my addon has not had a problem(lol) but as of thursday last week(25th Jan) youtube live streams started playing up.
Code:
<item>
<title>Hope Channel Portugal  [COLOR yellow] ($doregex[online])[/COLOR]</title>
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[getID]</link>
<regex>
<name>online</name>
<expres>$pyFunction: 'Live now' if '$doregex[live]'=='Live now' else 'Archive'</expres>                                                                             
<page></page>
</regex>

<regex>
<name>live</name>
<expres>yt-badge-live" \W(Live now)</expres>                                                                             
<page>https://www.youtube.com/channel/UCm0_NzofPCXJ44djiyz_uBg</page>
</regex>
<regex>
<name>getID</name>
<expres>data-context-item-id="([^"]+)</expres> 
<page>https://www.youtube.com/channel/UCm0_NzofPCXJ44djiyz_uBg</page> 
<agent>Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0</agent> 
<cookieJar></cookieJar>
</regex>
<thumbnail>https://www.dropbox.com/s/d8vxq3wmiybs6yu/Hope%20Channel%20Portugal.png?dl=1</thumbnail>
<fanart></fanart>
</item>
It seems that the youtube plugin needs to change as its not playing live streams in there as well .
Anyone know of any fix to the problem please
Thanks

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by efradncr on Fri 2 Feb - 20:18

<item>
<title>NAME YOUR CHANNEL</title>
<link>plugin://plugin.video.youtube/play/?video_id=HEREYOUIDVIDEO</link><thumbnail></thumbnail><fanart></fanart>
</item>

efradncr

Messages : 29
Date d'inscription : 2018-02-02

View user profile

Back to top Go down

Re: Youtube Live not working

Post by jujuuj on Sat 3 Feb - 0:43


<item>
<title> HEREyourCHANNEL ( Youtube Channel )</title>
<thumbnail>photo.jpg</thumbnail>
<link>$doregex[makelist]</link>
<regex>
<name>makelist</name>
<listrepeat><![CDATA[
<title>[makelist.param3]</title>
<link>plugin://plugin.video.youtube/play/?video_id=[makelist.param2]</link>
<thumbnail>[makelist.param1]</thumbnail>
]]></listrepeat>
<expres>(?s)(http.*?.jpg)\?.*?href="\/watch\?v=(.*?)">(.*?)&lt;</expres>
<page>https://www.youtube.com/channel/HEREyourCHANNEL/videos</page>
</regex>
</item>
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

nota bene ...

Post by jujuuj on Sat 3 Feb - 0:45

...
channel= UCm0_NzofPCXJ44djiyz_uBg

... any other religion, just change the channel   cheers
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Youtube Live not working

Post by retrorat1 on Sat 3 Feb - 12:09

Thanks guys, but this does not solve my problem, @efradncr I have too many live channels that change regularly so I cant use that option. and @jujuuj Cant use a playlist as I need only the live channel shown.
I have got some working by changing the settings in the youtube channel to use MPEG-DASH but some play and some dont. so its hit and miss at the moment.

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by jujuuj on Sat 3 Feb - 12:18

hmmmm ...

give us the exact name of the TVchannel you want ...
(it shouldt be in the list ...)

and we'll make a regex that goes in https://www.youtube.com/channel/HEREyourCHANNEL/video to get the "good one"

but you know ... streaming IS hit and miss ...
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Youtube Live not working

Post by retrorat1 on Sat 3 Feb - 12:19

Got mine working was trying to figure out why some were playing ant others were not and then fount the ones with
Code:
<agent>Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0</agent> 
were the ones not working removed that and they started working.
Thanks

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by jujuuj on Sat 3 Feb - 12:25

? is it working better without user agent ? or did you put another UA instead of mine ?
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Youtube Live not working

Post by retrorat1 on Sat 3 Feb - 12:26

jujuuj wrote:hmmmm ...

give us the exact name of the TVchannel you want ...
(it shouldt be in the list ...)

and we'll make a regex that goes in https://www.youtube.com/channel/HEREyourCHANNEL/video  to get the "good one"

but you know ... streaming IS hit and miss ...

Thanks for the help jujuuj
I have close to 140 live church channels and about 70 are from youtube some from livestream and some direct. Had a lot of help from Twogun and SH@Nl when they helped build SDA media addon Think the adding whether the channel is live or not was one of SH@Nl's last updates which after 1 year of me pestering him he did it lol. So most are working now certain ones from ustream I am hoping to add but the iphone trick for that is not working for me any more has there been any regx to play from ustream the live channels?
Thanks

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by retrorat1 on Sat 3 Feb - 12:29

jujuuj wrote:?  is it working better without user agent ? or did you put another UA  instead of mine ?

Working without user agent

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by retrorat1 on Sat 3 Feb - 12:34

@Jujuuj  for this https://www.youtube.com/channel/UC3swLCWlzHPnks9c6vml7vw

Its not picking up the live now badge as there are 2 live now showing on the screen is it posible to isolate just one?

Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<item>
<title>St Albans  [COLOR yellow] ($doregex[online])[/COLOR]</title>
<link>plugin://plugin.video.youtube/play/?video_id=$doregex[getID]</link>
<regex>
<name>online</name>
<expres>$pyFunction: 'Live now' if '$doregex[live]'=='Live now' else 'Archive'</expres>                                                                             
<page></page>
</regex>

<regex>
<name>live</name>
<expres>yt-badge-live" \W(Live now)</expres>                                                                             
<page>https://www.youtube.com/channel/UCVAmiFwV2Azq4vZ5h4bVj5A</page>
</regex>
<regex>
<name>getID</name>
<expres>data-context-item-id="([^"]+)</expres> 
<page>https://www.youtube.com/channel/UC3swLCWlzHPnks9c6vml7vw</page> 
</regex>
<thumbnail>https://hertfordshirechurches.files.wordpress.com/2014/10/st_albans_seventh_day_adventist171014_2.jpg</thumbnail>
<fanart>http://stalbans.adventistchurch.org.uk/site_data/2218/photo_albums/3197/0092/0864/TheSnaparazzi-001.jpg</fanart>
</item>

<item>
<title>Sermons</title>
<link>ignorme</link>
<jsonrpc>plugin://plugin.video.youtube/channel/UC3swLCWlzHPnks9c6vml7vw/playlist/PLPujkPMaydgauH3zc1LaVHwpCqikqp0wg/</jsonrpc>
<thumbnail>https://hertfordshirechurches.files.wordpress.com/2014/10/st_albans_seventh_day_adventist171014_2.jpg</thumbnail>
</item>
Thanks

retrorat1

Messages : 25
Date d'inscription : 2017-04-17

View user profile

Back to top Go down

Re: Youtube Live not working

Post by jujuuj on Mon 5 Feb - 23:25

?? non capisco ...

be + explicit I have no idea what is live now badge, give me exact titles and exact problem ... and PLEASE ! OPEN source code and try yourself ! or show me the prob
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Youtube Live not working

Post by mahox on Sun 11 Feb - 2:57

Hello,
this code does not work ??
thnx for help..
Code:
<item>
<title>Random PL </title>
<link>$doregex[makelist]</link>
<regex>
            <name>makelist</name>
            <listrepeat><![CDATA[
                        <title>[makelist.param2]</title>
                        <link>plugin://plugin.video.youtube/play/?playlist_id=[makelist.param1]&order=default</link>
                        <thumbnail>9.png</thumbnail>
            ]]></listrepeat>
            <expres>\s?.href="\/playlist\?list=(.*?)">(.*?)<\/</expres>
            <page>https://www.youtube.com/user/migrationology/playlists</page>
             <cookieJar></cookieJar>
</regex>
<thumbnail>9.png</thumbnail></item>

mahox

Messages : 5
Date d'inscription : 2017-12-01

View user profile

Back to top Go down

Re: Youtube Live not working

Post by jujuuj on Sun 11 Feb - 10:09


OK ... I see that we all have our problems with youtube,

and especially with some live streams (church for one, live sport for me Wink ).
Got an info : when i tryed to open a LIVE stream with my old firefox, , it returned me an error : the video is HTML5 ... H264 ?
(when I open a classical video, it works well ...)

I suppose that the youtube addon is not dealing with these videos live in H264 (html5?) ; it looks to b new on youtube...

I have no idea if I can make it work removing the user agent (as retrorat did ...) , or if sportsdevil can hel^me .. ? or how to make it work ...
avatar
jujuuj

Messages : 209
Date d'inscription : 2017-03-28

View user profile

Back to top Go down

Re: Youtube Live not working

Post by Goldonx on Sun 11 Feb - 20:40

mahox wrote:Hello,
this code does not work ??
thnx for help..
Code:
<item>
<title>Random PL </title>
<link>$doregex[makelist]</link>
<regex>
            <name>makelist</name>
            <listrepeat><![CDATA[
                        <title>[makelist.param2]</title>
                        <link>plugin://plugin.video.youtube/play/?playlist_id=[makelist.param1]&order=default</link>
                        <thumbnail>9.png</thumbnail>
            ]]></listrepeat>
            <expres>\s?.href="\/playlist\?list=(.*?)">(.*?)<\/</expres>
            <page>https://www.youtube.com/user/migrationology/playlists</page>
             <cookieJar></cookieJar>
</regex>
<thumbnail>9.png</thumbnail></item>

Why not use <jsonrpc></jsonrpc>? Get the complete and working playlist

Code:
<item>
<title>Random PL</title>
<link>ignorme</link>
<jsonrpc>plugin://plugin.video.youtube/channel/UCyEd6QBSgat5kkC6svyjudA/playlists/</jsonrpc>
</item>

Goldonx

Messages : 17
Date d'inscription : 2018-02-11

View user profile

Back to top Go down

Re: Youtube Live not working

Post by mahox on Sun 11 Feb - 21:39

@Goldonx thnx my friend, use please my code, then you see why..

mahox

Messages : 5
Date d'inscription : 2017-12-01

View user profile

Back to top Go down

Re: Youtube Live not working

Post by solved on Thu 31 May - 9:11

see goldon's solution ...

solved (more or less...)

solved

Messages : 70
Date d'inscription : 2017-06-27

View user profile

Back to top Go down

Re: Youtube Live not working

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum