• 1
  • 246
  • 247
  • 248(current)
  • 249
  • 250
  • 315
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only
(2013-12-08, 14:06)hassuni Wrote: How get play Youtube videos in 1080p.
I get play only 720p.
Thanks in advance

Same issue on my PC Vista-OS Intel Quad core processor Nvida graphics card.
I can play 1080p video from browser but from XBMC i get max option of 720p streaming only.
Please let me know how i can make xbmc youtube stream 1080p for me.
I already checked it's not running on any compatiblity mode.
i see settings for maximum video quality, but how can i set a minimum video setting?
say i would like to watch on my tv only 720p and higher (when available)
(2013-12-14, 00:53)nicolas1 Wrote: OK. I have found the solution on:
https://code.google.com/p/youtubexbmc/is...ail?id=106

Following these instructions fixed it for me:

I was trying to login but the youtube url params contained utf-8 chars that were not parsed correctly.
I was able to fix this by adding the following line in YouTubeCore.py inside _fetchPage :

Right before:

request = urllib2.Request(link, urllib.urlencode(get("url_data")))

add this line to encode the values first

params["url_data"] = dict((k, v.encode('utf-8')) for (k, v) in get("url_data").items())



Hope this helps someone else.


for me it did not work :-(

Help! I loved the addon. And now I can not even login me ..
(2013-12-15, 17:12)grey Wrote: i see settings for maximum video quality, but how can i set a minimum video setting?
say i would like to watch on my tv only 720p and higher (when available)

I would think if you set it to 1080p default, it would do that anyway. 1080p, then 720p, then 480p.

I can't stream 1080p too anymore with the updated YouTubePlayer.py. I tried messing with the code for a little bit but I couldn't get it to work.
(2013-12-15, 20:00)Daemaz Wrote:
(2013-12-15, 17:12)grey Wrote: i see settings for maximum video quality, but how can i set a minimum video setting?
say i would like to watch on my tv only 720p and higher (when available)

I would think if you set it to 1080p default, it would do that anyway. 1080p, then 720p, then 480p.

I can't stream 1080p too anymore with the updated YouTubePlayer.py. I tried messing with the code for a little bit but I couldn't get it to work.

YouTube have switched to using MPEG DASH, 720P is the limit for non DASH formats. I'm not sure what it takes to support DASH whether the YT plugin can be hacked to support it, or if it needs ffmpeg support which would mean I think a new version of XBMC.
hey guys how can I make the videos play on 480p per default ? in the option quality field there is only or 720p or 1080p or ask ! is it possible to change it to full qualities (360p,480,720,1080 etc) like in other addons .and thx .
So, what about "'ascii' codec can't encode characters" error?
I just set my user name as "a" (yes, just one letter), and password as "a" too and this error still remains - ascii codec can't encode characters in position 0-4 ordinal not in range 128.
So, in YouTubeCore.py at line 400 before "request = urllib2.Request(link, urllib.urlencode(get("url_data")))" i add this line:
print(repr(get("url_data")))
and in urllib.py at line 1268 i add
print("PARTS: " +k+" = "+v)
and run my XBMC.

Here is what i got in log now:
Code:
00:23:53 T:5644  NOTICE: YouTube-4.4.6
00:23:53 T:5644  NOTICE: CommonFunctions-2.5.1
00:24:02 T:5644  NOTICE: {u'PersistentCookie': u'yes', u'rmShown': u'1', u'dnConn': u'', u'pstMsg': u'0', u'service': u'youtube', 'Passwd': 'a', u'GALX': u'hwz7h9HA8l8', u'signIn': u'\u0412\u043e\u0439\u0442\u0438', u'continue': u'http://www.youtube.com/signin?action_handle_signin=true&app=desktop&feature=sign_in_button&hl=ru&next=%2F', u'hl': u'ru', u'checkedDomains': u'youtube', u'bgresponse': u'js_disabled', u'_utf8': u'☃', u'Email': 'a', u'checkConnection': u''}
00:24:02 T:5644  NOTICE: PART: PersistentCookie = yes
00:24:02 T:5644  NOTICE: PART: rmShown = 1
00:24:02 T:5644  NOTICE: PART: dnConn =
00:24:02 T:5644  NOTICE: PART: pstMsg = 0
00:24:02 T:5644  NOTICE: PART: service = youtube
00:24:02 T:5644  NOTICE: PART: Passwd = a
00:24:02 T:5644  NOTICE: PART: GALX = hwz7h9HA8l8
00:24:02 T:5644   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode characters in position 15-19: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 120, in <module>
                                                navigation.executeAction(params)
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeNavigation.py", line 122, in executeAction
                                                self.login.login(params)
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 75, in login
                                                result, status = self.authorize()
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 85, in authorize
                                                (result, status) = self._httpLogin({"new": "true"})
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 183, in _httpLogin
                                                ret = self.core._fetchPage(fetch_options)
                                              File "C:\Users\HTPCUser\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py", line 401, in _fetchPage
                                                request = urllib2.Request(link, urllib.urlencode(get("url_data")))
                                              File "C:\Program Files\XBMC\system\python\Lib\urllib.py", line 1268, in urlencode
                                                print("PART: " +k+" = "+v)
                                              File "<string>", line 7, in write
                                            UnicodeEncodeError: 'ascii' codec can't encode characters in position 15-19: ordinal not in range(128)
                                            -->End of Python script error report<--

As you can see params "Passwd" and "Email" are good - just one letter "a", but error raised in other place - on parsing "u'signIn': u'\u0412\u043e\u0439\u0442\u0438'" pair. I do not know what this parameter, i can't find it in code, there is even no "SignIn" subtext in source files. But this unicode string represents russian translation of "Sign in" word. Is there any way to fix it?

PS. Sorry for my terrible english.
Hi guys,
i need a bit of help with the youtube plugin, which i installed from the official repository on my raspberry pi. After install it has worked fine for while, but then stopped completely Sad
I can do search, i can click the results but it doesn't play anything. I have also reinstalled and same...
My log file is here http://pastebin.ca/2508466
Appreciate any help!
(2013-12-14, 00:43)robinschroder Wrote: I also use Google 2 step verification (so that I can use YouTube on my mobile phone) - and this is the point at which my login fails. I definitely don't have the google plus issue - and a 2 sv code is definitely sent to my phone. It's just that when I enter it, the plugin fails.

I have this exact same problem. I enter the code correctly every time and simply get a "playback error".

Any fix for this?
(2013-12-14, 18:13)Alonzzo2 Wrote: Hi,
I can't install the youtube addon!
I have a raspberry pi with openelev and I've just changed the storage partition to be on a usb flash drive instead of the sdcard.
When I turned on the Pi I got the wizard and all and started configuring everything from scratch.
I've installed several addons successfully, but when I try to install the youtube addon I get a "installation failed" message.
I looked at xbmc.log and saw a line: ERROR: MD5 mismatch after download special://home/addons/packages/plugin.video.youtube-4.4.6.zip.
So I googled it and found nothing.
So I manually downloaded the addon and tried to install from zip file but I got some king of an error regarding common modules or something.
So again I downloaded the script.common.plugin.cache-2.5.2.zip and manually installed it.
Eventually youtube was installed. But when I start youtube I get "plugin.script.failed" and at xbmc.log: "ImportError: No module named CommonFunctions".
I removed the youtube addon and now, again, I can't download it from the repository or install it manually cause again I get the message about the common modules.

Please help?
Thanks...

Anyway... The issue was with the servers of xbmc.org. They wrote a post about it at the website. now everything works great.
Sad 
Hi!

I'm having the same problem as many others and can't login to youtube since the Google guys changed Youtube to be linked to G+.

I created a G+ page linked to the youtube account and all, but using that login and password just gives me a plugin error when I try to login.

Does anyone have a solution? It's not login failed. Its plug-in error.

Now I have a AppleTV2 just to see youtube... Sad Sad Sad

Thank you in advance guys!
Somehow I got logged out. When I tried to log in again the addon says login has failed. Believe me I know my user ID and password very well. Is there a known issue? I have not found anything here...
Who do I have to pay to fix this login problem?
I have this shiny new HTPC and I can't use it because Youtube login doesn't work... I tried everything, I even created a new youtube account especially for this, but all was in vain. I have made a very big investment in this setup instead of going the Smart TV route and you can imagine it is very frustrating.

Or can anyone make a simple light version of the addon that does not require a login with a google account and just displays the videos from a list of channels, just like the subscriptions from the main youtube addon.

Please help me or point me to the right direction at least.

This is what I am getting with the brand new Youtube account I created just for XBMC:

Code:
04:43:23 T:6400  NOTICE: YouTube-4.4.6
04:43:23 T:6400  NOTICE: CommonFunctions-2.5.1
04:43:30 T:6400   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.UnicodeEncodeError'>
                                            Error Contents: 'ascii' codec can't encode character u'\u021b' in position 7: ordinal not in range(128)
                                            Traceback (most recent call last):
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py", line 120, in <module>
                                                navigation.executeAction(params)
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeNavigation.py", line 122, in executeAction
                                                self.login.login(params)
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 75, in login
                                                result, status = self.authorize()
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 85, in authorize
                                                (result, status) = self._httpLogin({"new": "true"})
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeLogin.py", line 183, in _httpLogin
                                                ret = self.core._fetchPage(fetch_options)
                                              File "C:\Users\XBMC\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py", line 400, in _fetchPage
                                                request = urllib2.Request(link, urllib.urlencode(get("url_data")))
                                              File "C:\Program Files (x86)\XBMC\system\python\Lib\urllib.py", line 1269, in urlencode
                                                v = quote_plus(str(v))
                                            UnicodeEncodeError: 'ascii' codec can't encode character u'\u021b' in position 7: ordinal not in range(128)
                                            -->End of Python script error report<--
04:43:30 T:7644   ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/?action=settings&path=%2froot%2flogin
04:43:30 T:7644   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.youtube/?action=settings&path=%2froot%2flogin) failed
04:43:30 T:6640  NOTICE: Thread XBPyThread start, auto delete: false
04:43:30 T:6640  NOTICE: -->Python Interpreter Initialized<--
04:43:30 T:6640  NOTICE: Loading cookies from :'C:\\Users\\XBMC\\AppData\\Roaming\\XBMC\\userdata\\addon_data\\plugin.video.youtube\\yt-cookiejar.txt'
04:43:30 T:6640  NOTICE: YouTube-4.4.6
04:43:30 T:6640  NOTICE: CommonFunctions-2.5.1
04:43:31 T:2432  NOTICE: Thread Background Loader start, auto delete: false
hi
same issue for me , i can connect ,search , but unable to see any videos
it worked yesterday , but not today

I cant play any Vevo videos , others play fine , but not Vevo

Is there a way to fix it ?
thanks a lot
This worked great for me, fixing the "exceptions.UnicodeEncodeError ... 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)".

You need to delete YouTubeCore.pyo after you edit YouTubeCore.py, so that it will be recompiled. Otherwise you will not see the change.

(2013-12-15, 19:00)Vel2101 Wrote:
(2013-12-14, 00:53)nicolas1 Wrote: OK. I have found the solution on:
https://code.google.com/p/youtubexbmc/is...ail?id=106

Following these instructions fixed it for me:

I was trying to login but the youtube url params contained utf-8 chars that were not parsed correctly.
I was able to fix this by adding the following line in YouTubeCore.py inside _fetchPage :

Right before:

request = urllib2.Request(link, urllib.urlencode(get("url_data")))

add this line to encode the values first

params["url_data"] = dict((k, v.encode('utf-8')) for (k, v) in get("url_data").items())



Hope this helps someone else.


for me it did not work :-(

Help! I loved the addon. And now I can not even login me ..
  • 1
  • 246
  • 247
  • 248(current)
  • 249
  • 250
  • 315

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