• 1
  • 301
  • 302
  • 303(current)
  • 304
  • 305
  • 315
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
Vevo not working here on OpenELEC 4.2.1
(2014-11-13, 15:53)VanZan Wrote: I've noticed that my YouTube history doesn't sync with my online account...I wonder is there a fix or have I buggered something on my end?

The sync has only ever been one-way, the plugin can read your history not write it. Weirdly it started properly working again for me yesterday after only showing a few entries of my history.

Vevo videos are probably broken because of the Youtube Music thing.
(2014-11-14, 14:00)gott_sei_dank Wrote:
(2014-11-13, 15:53)VanZan Wrote: I've noticed that my YouTube history doesn't sync with my online account...I wonder is there a fix or have I buggered something on my end?

Vevo videos are probably broken because of the Youtube Music thing.

Can I ask what you mean by "because of the Youtube Music thing"?
What does the Youtube music thing refer to? Thanks. Big Grin
He is referring to the new YouTube music service launched by Google 2 days ago
Sad 
But what does that mean?
We will never have more VEVO videos on xbmc?
Hmmm... you could still play them if you go to their website. If they completely disallow the ability for Kodi to stream videos then that just throws a BIG FAT WRENCH into the addon I have been working on for over 6 months now.Confused
(2010-08-22, 20:42)TobiasTheCommie Wrote: Comment and suggestions welcome.

In case you encounter any bugs with our plugin, please do report them so we can make this rock solid.

Where would we report that hardly any of the youtube music videos are playing?
Like maybe one out 50 will play.
i have same problem too. not only with this addon but even with the bromix one.
waiting for solution!!
Peppe
VEVO problem is caused by a change in the way google generates signatures.

This code is the one creating a signature now, and current YoutubePlayer.py parser doesn't catch it.

Code:
a.set("signature",cr(c));return a

This patch works for me, but further feedback will be welcome, especially if you can come up with a better regexp.

Code:
--- a/YouTubePlayer.py
+++ b/YouTubePlayer.py
@@ -467,7 +467,7 @@ class YouTubePlayer():
                 return ''

             # get main function name
-            match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
+            match = re.search("set..signature..([$a-zA-Z]+)\([^)]\)", playerData)

             if match:
                 mainFunName = match.group(1)
Is it possible to open yt live channels via plugin://?

Code:
plugin://plugin.video.youtube/?action=play_video&videoid=
// GitHub // Repository

// USTV VoD (Video-on-Demand) / World News Live / MRT Play
(2014-11-15, 13:38)redviolet Wrote: VEVO problem is caused by a change in the way google generates signatures.

This code is the one creating a signature now, and current YoutubePlayer.py parser doesn't catch it.

Code:
a.set("signature",cr(c));return a

This patch works for me, but further feedback will be welcome, especially if you can come up with a better regexp.

Code:
--- a/YouTubePlayer.py
+++ b/YouTubePlayer.py
@@ -467,7 +467,7 @@ class YouTubePlayer():
                 return ''

             # get main function name
-            match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
+            match = re.search("set..signature..([$a-zA-Z]+)\([^)]\)", playerData)

             if match:
                 mainFunName = match.group(1)
Thanks very much... works great.

Big Grin I had to stare at your code for a while to figure out exactly how to apply your patch with me being so python dumb.
For those who are as python dumb as me with the code lingo above.

Replace line 470 in YouTubePlayer.py
from this...

PHP Code:
match re.search("signature=([$a-zA-Z]+)\([^)]\)"playerData

to this...

PHP Code:
match re.search("set..signature..([$a-zA-Z]+)\([^)]\)"playerData

[EDIT] Or better yet follow the post below... Thanks redviolet and tomer953
(2014-11-15, 13:38)redviolet Wrote: VEVO problem is caused by a change in the way google generates signatures.

This code is the one creating a signature now, and current YoutubePlayer.py parser doesn't catch it.

Code:
a.set("signature",cr(c));return a

This patch works for me, but further feedback will be welcome, especially if you can come up with a better regexp.

Code:
--- a/YouTubePlayer.py
+++ b/YouTubePlayer.py
@@ -467,7 +467,7 @@ class YouTubePlayer():
                 return ''

             # get main function name
-            match = re.search("signature=([$a-zA-Z]+)\([^)]\)", playerData)
+            match = re.search("set..signature..([$a-zA-Z]+)\([^)]\)", playerData)

             if match:
                 mainFunName = match.group(1)

Great!
I Uploaded the modified file to here
https://drive.google.com/file/d/0B8R_P39...sp=sharing
Just Replace it with YouTubePlayer.py in AppData\Roaming\XBMC\addons\plugin.video.youtube
and restrart XBMC.

Enjoy all
Phenomenal™ Skin • ForumWebsiteGitHub
Thanks redviolet, it works great for me now
Not working for me, after I modify the .py in XBMC\addons\plugin.video.youtube, on android box, I get script error?

Works on PC though thanks
Hi,

I am unable to login with youtube plugin.

In logs I see:

16:17:55 T:140468782053312 NOTICE: CDVDPlayer::CloseFile()
16:17:55 T:140468782053312 NOTICE: DVDPlayer: waiting for threads to exit
16:17:55 T:140468782053312 NOTICE: DVDPlayer: finished waiting
16:22:28 T:140466198636288 NOTICE: Thread JobWorker start, auto delete: true
16:22:28 T:140465915533056 NOTICE: Thread LanguageInvoker start, auto delete: false
16:22:28 T:140465915533056 NOTICE: -->Python Interpreter Initialized<--
16:22:28 T:140465915533056 NOTICE: Loading cookies from :'/home/majherek/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
16:22:28 T:140465915533056 NOTICE: YouTube-4.4.10
16:22:28 T:140465915533056 NOTICE: CommonFunctions-2.5.1
16:23:22 T:140465965889280 NOTICE: Thread JobWorker start, auto delete: true
16:23:22 T:140466207028992 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:22 T:140466207028992 NOTICE: -->Python Interpreter Initialized<--
16:23:22 T:140466207028992 NOTICE: Loading cookies from :'/home/majherek/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
16:23:22 T:140466207028992 NOTICE: YouTube-4.4.10
16:23:22 T:140466207028992 NOTICE: CommonFunctions-2.5.1
16:23:23 T:140465915533056 NOTICE: Thread BackgroundLoader start, auto delete: false
16:23:23 T:140468782053312 ERROR: GetDirectory - Error getting plugin://plugin.video.youtube/?action=settings&path=%2froot%2flogin
16:23:23 T:140468782053312 ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?action=settings&path=%2froot%2flogin) failed
16:23:23 T:140465915533056 NOTICE: Thread LanguageInvoker start, auto delete: false
16:23:23 T:140465915533056 NOTICE: -->Python Interpreter Initialized<--
16:23:23 T:140465915533056 NOTICE: Loading cookies from :'/home/majherek/.xbmc/userdata/addon_data/plugin.video.youtube/yt-cookiejar.txt'
16:23:23 T:140465915533056 NOTICE: YouTube-4.4.10
16:23:23 T:140465915533056 NOTICE: CommonFunctions-2.5.1
16:23:23 T:140466207028992 NOTICE: Thread BackgroundLoader start, auto delete: false
16:26:05 T:140466207028992 NOTICE: Thread JobWorker start, auto delete: true




I do not have g+ account. I use 2-step verification. I generate apps password for XMBC.



Linux atom 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19 12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

majherek@atom:~/.xbmc/temp$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Release: 14.04
Codename: trusty


majherek@atom:~/.xbmc/temp$ dpkg -l |grep xbmc
ii xbmc 2:13.2~git20140817.2155-final-0precise all XBMC Media Center (arch-independent data package)
ii xbmc-bin 2:13.2~git20140817.2155-final-0precise amd64



Can you help me?
  • 1
  • 301
  • 302
  • 303(current)
  • 304
  • 305
  • 315

Logout Mark Read Team Forum Stats Members Help
[depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only28