2014-01-22, 04:12
hi i can't play any live videos
is there any fix for that?
is there any fix for that?
(2014-01-21, 17:04)enstine86 Wrote:(2014-01-14, 21:57)i3ki Wrote:(2014-01-14, 18:07)digzz Wrote: Me too .....All I see is code but ain't got a clue what to do.
Find on your computer and open (eg with wordpad) the file: YouTubeLogin.py
Look for text string: nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})
Replace that with: nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})
Save and Exit
It worked for me as well!
This fixed my login issues with the youtube addon
url = url % "default"
if (self.settings.getSetting("use_yt_username") == "true"):
url = url % self.settings.getSetting("yt_username")
else:
url = url % "default"
<setting id="user_password" type="text" option="hidden" label="30201" enable="!eq(-1,)" default="" />
<setting id="use_yt_username" type="bool" label="30289" default="false" />
<setting id="yt_username" type="text" label="30290" enable="!eq(-1,false)" />
<string id="30288">Show YouTube History</string>
<string id="30289">Use YouTube Username</string>
<string id="30290">YouTube Username</string>
(2014-01-22, 10:32)o-m-e-n Wrote: I hope this will also work for you.
(2014-01-22, 20:09)nickshe89 Wrote: anyone can fix vevo vids on youtube add-on
(2014-01-14, 21:57)i3ki Wrote:Thank you very much i3Ki for explaining clearly what to do. It worked like a charm for me. Just remember to delete YouTubeLogin.pyc also, after editing and saving YouTubeLogin.py file. It gets regenerated the next time you run the plugin.(2014-01-14, 18:07)digzz Wrote:(2014-01-14, 15:55)sukkubus Wrote: Could someone pls have a little mercy and explain how to apply the fix from enigma83 ?
Thx alot
Nicole
Me too .....All I see is code but ain't got a clue what to do.
Find on your computer and open (eg with wordpad) the file: YouTubeLogin.py
Look for text string: nick = self.common.parseDOM(ret["content"], "p", attrs={"class": "masthead-expanded-acct-sw-id2"})
Replace that with: nick = self.common.parseDOM(ret["content"], "span", attrs={"id": "yt-masthead-user-displayname"})
Save and Exit
It worked for me as well!
(2014-01-23, 19:30)torenvalk Wrote:(2014-01-22, 20:09)nickshe89 Wrote: anyone can fix vevo vids on youtube add-on
The VEVO playback problem has been fixed here:
https://code.google.com/p/youtubexbmc/is...id=95#c195
Download the fixed YouTubePlayer.py and copy it into \addons\plugin.video.youtube\
(2014-01-22, 22:47)ranger0293 Wrote: I'm having issues logging in as well. I attempted the YouTubeLogin.py edits from a few pages ago, but no luck.
I get prompted for the 6 digit password. I enter it, then the plugin immediately returns an error.
15:33:47 T:2883404896 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IndexError'>
Error Contents: list index out of range
Traceback (most recent call last):
File "/storage/.xbmc/addons/plugin.video.youtube/default.py", line 111, in <module>
login.login()
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 75, in login
result, status = self.authorize()
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 85, in authorize
(result, status) = self._httpLogin({"new": "true"})
File "/storage/.xbmc/addons/plugin.video.youtube/YouTubeLogin.py", line 239, in _httpLogin
fetch_options = {"link": new_part[0].replace("&", "&"), "url_data": url_data, "referer": ret["location"]}
IndexError: list index out of range
-->End of Python script error report<--