• 1
  • 289
  • 290
  • 291(current)
  • 292
  • 293
  • 315
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
Question: Since updating with the latest "fix patch" videos that I watch in the "Watch Later" section do not automatically get removed. Further, I can no longer manually removed videos from Playlist.

Everything else works nicely, including getting past the two factor authentication.

Any ideas? Many thanks in advance.
Using KODI since 2002, back when Xbox Media Player ran on a modded xbox, soldered modchip and all..."the good old days."
I usually say to delete the .pyo file when you update the .py, just to be sure. It won't hurt anything to do so.
(2014-07-12, 18:27)MediaPi Wrote: I am unable to get 1080p quliaty from Youtube addon. The highest quality I can get is 720p. Is there a solution to this?
A little bit late, but looking at this issue thread on the plug-ins github page: https://github.com/HenrikDK/youtube-xbmc.../issues/33
It seems to mainly be an issue with XBMC/dvdplayer not being able to play the adaptive stream (DASH). According to jmbreuer post it should be possible, but it will require some more development
Quote:I've had a look at the XBMC code; I didn't see a way how that would be possible out of the box. Looking further, it certainly seems that writing a InputStream / Demuxer implementation for XBMC's DVDPlayer core is possible. But that's not something I'd manage to do in an afternoon

The final post in that thread is both positive and negative
Quote:Once XBMC can play DASH videos, we will implement it in the plugin.
But XBMC Gotham will never be able to play DASH.
The last sentence worries me a bit, and leaves me with the question "why will Gotham never be able to play DASH?". Is it an issue resource prioritization, the devs have more important things to tackle than adding support for DASH streams to the dvdplayer core, or is it as simple as we have to wait for XBMC 14+? Something else?
Whatever is required here, hopefully it will be implemented in a not to distance future, since streaming is not likely to become less popular Wink
Yesterday I got problems with login to youtube plugin .. used this fix that worked to login:

https://www.youtube.com/watch?v=CVR1m6viAHE

Now playing VEVO videos I get this text in xbmc.log:

12:56:31 T:1568 NOTICE: Thread LanguageInvoker start, auto delete: false
12:56:31 T:1568 NOTICE: -->Python Interpreter Initialized<--
12:56:34 T:3608 NOTICE: Thread LanguageInvoker start, auto delete: false
12:56:34 T:3608 NOTICE: -->Python Interpreter Initialized<--
12:56:35 T:3608 NOTICE: Loading cookies from :'C:\\Users\\J\xc3\xb8rn\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.video.youtube\\yt-cookiejar.txt'
12:56:35 T:3608 NOTICE: YouTube-4.4.8
12:56:35 T:3608 NOTICE: CommonFunctions-2.5.1
12:56:43 T:3608 NOTICE: links: 'dict'
12:56:44 T:456 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://r2---sn-nxq3-xcwe.googlevideo.com...x%2F16.0.1
12:56:44 T:456 NOTICE: DVDPlayer: Opening: http://r2---sn-nxq3-xcwe.googlevideo.com...x%2F16.0.1
12:56:44 T:456 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
12:56:44 T:4460 NOTICE: Thread DVDPlayer start, auto delete: false
12:56:44 T:4460 NOTICE: Creating InputStream
12:56:44 T:4460 ERROR: CCurlFile::Stat - Failed: HTTP response code said error(22) for http://r2---sn-nxq3-xcwe.googlevideo.com...x%2F16.0.1
12:56:44 T:4460 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
12:56:44 T:4460 NOTICE: CCurlFile::FillBuffer - Reconnect, (re)try 1
12:56:44 T:4460 ERROR: CCurlFile::FillBuffer - Failed: HTTP response code said error(22)
12:56:44 T:4460 ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
12:56:44 T:4460 ERROR: XFILE::CFileCache::Open - failed to open source <http://r2---sn-nxq3-xcwe.googlevideo.com/videoplayback?mt=1406199216&ratebypass=yes&key=yt5&id=o-AHAepQbA_HpQL2Z-5n3ynj7CVXEpvAT882xF8Li1oKZH&fexp=902408,922521,924222,927622,930821,934024,934030,936218,937432,946008,946505,948508&ipbits=0&mws=yes&itag=22&ms=au&mv=m&source=youtube&sver=3&expire=1406221005&sparams=id,ip,ipbits,itag,ratebypass,source,upn,expire&ip=78.157.109.14&upn=DHvXUgCum1c&signature=|User-Agent=Mozilla%2F5.0+%28Windows+NT+6.2%3B+Win64%3B+x64%3B+rv%3A16.0.1%29+Gecko%2F20121011+Firefox%2F16.0.1>
12:56:44 T:4460 ERROR: CDVDPlayer::OpenInputStream - error opening [http://r2---sn-nxq3-xcwe.googlevideo.com...x%2F16.0.1]
12:56:44 T:4460 NOTICE: CDVDPlayer::OnExit()
12:56:44 T:456 ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.youtube/?path=/root/video&action=play_video&videoid=saoOByAFy90]
12:56:44 T:824 NOTICE: Thread BackgroundLoader start, auto delete: false
12:56:44 T:456 NOTICE: CDVDPlayer::CloseFile()
12:56:44 T:456 NOTICE: DVDPlayer: waiting for threads to exit
12:56:44 T:456 NOTICE: DVDPlayer: finished waiting
12:56:44 T:456 NOTICE: CDVDPlayer::CloseFile()
12:56:44 T:456 NOTICE: DVDPlayer: waiting for threads to exit
12:56:44 T:456 NOTICE: DVDPlayer: finished waiting
12:56:44 T:3608 WARNING: CPythonInvoker(6, C:\Users\Jørn\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py): the python script "C:\Users\Jørn\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py" has left several classes in memory that we couldn't clean up. The classes include: class XBMCAddon::xbmcaddon::Addon,class XBMCAddon::xbmcaddon::Addon
Look like vevo music is bokn again Sad
(2014-07-24, 12:37)Crowly Wrote:
(2014-07-12, 18:27)MediaPi Wrote: I am unable to get 1080p quliaty from Youtube addon. The highest quality I can get is 720p. Is there a solution to this?
A little bit late, but looking at this issue thread on the plug-ins github page: https://github.com/HenrikDK/youtube-xbmc.../issues/33
It seems to mainly be an issue with XBMC/dvdplayer not being able to play the adaptive stream (DASH). According to jmbreuer post it should be possible, but it will require some more development
Quote:I've had a look at the XBMC code; I didn't see a way how that would be possible out of the box. Looking further, it certainly seems that writing a InputStream / Demuxer implementation for XBMC's DVDPlayer core is possible. But that's not something I'd manage to do in an afternoon

The final post in that thread is both positive and negative
Quote:Once XBMC can play DASH videos, we will implement it in the plugin.
But XBMC Gotham will never be able to play DASH.
The last sentence worries me a bit, and leaves me with the question "why will Gotham never be able to play DASH?". Is it an issue resource prioritization, the devs have more important things to tackle than adding support for DASH streams to the dvdplayer core, or is it as simple as we have to wait for XBMC 14+? Something else?
Whatever is required here, hopefully it will be implemented in a not to distance future, since streaming is not likely to become less popular Wink

GREAT DETECTIVE WORK. I miss youtube not able to play 1080p Sad but you can download vevo and the vevo videos from youtube will play in 1080p (in vevo) still not a perfect solution. and I see what you did there at the last sentence Wink and I whole heartedly agree :p

can any Dev explain this DASH issue and how it relates to XBMC Gotham? interesting to know

Interesting read that post you gave nickshe89, the Dev jmbreuer has got the video stream to play 1080p but can get the audio because, not exactly sure why. I have hope that it might get fixed but seeing that the date was december 2013 I dont have much hope... Man if only the developer of this great add-on can come on and keep us in the loop and answer these kind of questions
NVM! I actually tried Filezilla and was able to find the folder that way and it works! Thank you OP!

I am really new at this can someone help me find this folder on my atv 1 OE 4.07? i can pull up the unit on my laptop but I can't find the folder I need to put this youtubelogin.py file into I see no storage folder here.
(2014-07-20, 05:36)cruise Wrote: Right - I've got a version that works for me on videos that weren't working before:

http://casual-tempest.net/files/YouTubePlayer.py

Note that this fixes purely the issue I was havign with the videos I tried - I can't guarantee that this is a universal fix, but I've tried to make it as general as possible.

It could do with some more work, but it's 4:30am and I really should get to sleep...

Anyway, hope tha helps someone, and if there are any videos it still doesn't work with, let me know with a link to the video in question, so I can see specifically what's breaking.

Enjoy!
Hi cruise,
thanks so much for your latest fixes Big Grin
Everytthing was working great till today. looks like they changed something.
could you maybe have a look at it again? that would be awesome
Not working for me again either.
(2014-07-24, 14:50)nickshe89 Wrote: Look like vevo music is bokn again Sad

Yep getting the same thing. Sad
Yep, Cruise's fix was working for me as well, until todayI guess (didn't try yesterday....)
(2014-07-24, 23:00)asdf122345 Wrote:
(2014-07-24, 14:50)nickshe89 Wrote: Look like vevo music is bokn again Sad

Yep getting the same thing. Sad
They've probably got their IT guy monitoring this thread, playing cat-and-mouse games with us all Confused
Has anyone had an issue where the busy icon just spins and spins when clicking login (and clicking OK after settings comes up), but nothing happens? This is both with the original version from XBMCs addon repo, and the patched one from the git above. Then if you try to back out, xbmc crashes.

Running Raspbmc on a Raspberry Pi.

--Matt
EDIT: Okay - new working version. Tricksy hobbits!

http://casual-tempest.net/files/YouTubePlayer.py

FYI, I am also trying to get what would be a permanent fix for these sort of issues done. Google has open-sourced their javascript engine, V8 - and it's possible to tie it into python. I have a proof of concept working locally which simply runs the signature decryption routines natively, using the same engine Chrome browser uses. Anything which doesn't work for us then wouldn't work for anyone in a browser too.

However, this requires integrating, at the least, Google's javascript engine into XBMC. I have started a thread here: http://forum.xbmc.org/showthread.php?tid=200309 for doing so, but I have no idea when/if that'll happen.
(2014-07-25, 13:00)cruise Wrote: EDIT: Okay - new working version. Tricksy hobbits!

http://casual-tempest.net/files/YouTubePlayer.py

FYI, I am also trying to get what would be a permanent fix for these sort of issues done. Google has open-sourced their javascript engine, V8 - and it's possible to tie it into python. I have a proof of concept working locally which simply runs the signature decryption routines natively, using the same engine Chrome browser uses. Anything which doesn't work for us then wouldn't work for anyone in a browser too.

However, this requires integrating, at the least, Google's javascript engine into XBMC. I have started a thread here: http://forum.xbmc.org/showthread.php?tid=200309 for doing so, but I have no idea when/if that'll happen.

Nice it works. Good job. Smile
  • 1
  • 289
  • 290
  • 291(current)
  • 292
  • 293
  • 315

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