Kodi Community Forum
Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: Release [depricated] old YouTube Plugin - XBMC 13.0 Frodo/Gotham only (/showthread.php?tid=79487)



RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - asdiop - 2012-12-29

hi guys!

Youtube plug in is now working after applying dbohdan's fix. However, i am unable to login into youtube using the plugin in xbmc... how do i fix thisHuh


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - okie - 2012-12-30

That is still not fixed, this fix just fixes what broke yesterday.


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - StrangeCrunchy1 - 2012-12-30

Okay, got a problem...YouTube plugin crashes, and xmbc.log says the problem is in lines 107 and 110 of default.py:

C:\Users\Steve\AppData\Roaming\XBMC\addons\plugin.video.youtube\default.py
...
104 if (not sys.argv[2]):
105 navigation.listMenu()
106 else:
107 params = common.getParameters(sys.argv[2])
108 get = params.get
109 if (get("action")):
110 navigation.executeAction(params)
111 elif (get("path")):
112 navigation.listMenu(params)
113 else:
114 print plugin + " ARGV Nothing done.. verify params " + repr(params)
115
...
Any suggestions?


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - johnyv - 2012-12-30

I am getting the same error using XBMCbuntu with eden. It was working fine up until yesterday. I have done some searching and i tried the fix using the "data = re.findall('="(ttsurl=.*?)"', data change in YouTubePlayer.py however that line isnt in my YouTubePlayer.py file.
I am getting the Script Failed: Plugin.video.youtube error
Log is the same as StrangeCrunchy1


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - binwiederda - 2012-12-30

I can confirm that it now works under Ubuntu 11.04 / Linux Mint 12 (Lisa). Repo Version of XBMC.

According to this fix:
http://forum.xbmc.org/showthread.php?tid=79487&pid=1279612#pid1279612

In file:
~/.xbmc/addons/script.module.parsedom/lib/CommonFunctions.py

Only change this in line 102:
Code:
<     version = float(version)
---
>     version = float(version.split()[0])


Many many thanks!!


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Mackster - 2012-12-30

Fixed worked perfectly on Windows 7, using XBMC version 11.0

Thanks for the help!


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - johnyv - 2012-12-30

Yep that worked for me on XBMCBuntu.

Thanks Guys.


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - StrangeCrunchy1 - 2012-12-30

Confirmed under Windows 7 64-bit!!! Big Grin Changing line 102 of CommonFunctions.py does indeed restore functionality! I can watch my trailers again! ^_^

Thank you for that link and snippet, binwiederda Smile And a big thanks to the users over at XBMC.org!


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - bytemi - 2012-12-30

Thank you SO much!! I have Windows 7 and if worked perfectly with the following:
-Apply the fix by opening C:\Users\<YourUserName>\AppData\Roaming\XBMC\addons\script.module.parsedom\lib\CommonFunction​s.py with your text editor of choice.
-Once you've done that find line:
version = float(version)
-and change to:
version = float(version.split()[0])
-and save.

Then go back into Youtube add-on and all fixed.

Thank you dbohdan!! Big Grin


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - StrangeCrunchy1 - 2012-12-30

Hmmm...I wonder if this works for skins :p


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - StrangeCrunchy1 - 2012-12-30

Uh...this post never happened.


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - User 151001 - 2012-12-30

Worked on Ubuntu like a charm. Without restarting XMBC.
Thanks, dbohdan!!


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - Spence - 2012-12-30

Has this been fixed for atv1?


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - madscience - 2012-12-30

On Windows XP running Frodo RC2, opened CommonFunctions.py and I'm unable to find that line anywhere. Am I doing it wrong?


RE: [RELEASE] YouTube (Video) Plugin - De facto default standard YouTube Addon for XBMC - xt4lee - 2012-12-30

Fixed for me on Apple TV 2!
(Use Cyberduck to download file, make changes (see Bytemi's post above) and uploaded file back to Apple TV).

On Apple TV you will find the relevant file here:
var/mobile/library/preferences/XBMC/addons/script.module.parsedom/lib/CommonFunction​s.py

Thanks for the solution dbohdan!