2012-11-05, 12:41
If you Youtube 3.2.0 plugin is erroring out with a plugin failed error, check your XBMC log.
If you find this error:
Then you need to fix line 769 in YouTubeCore.py (addons/plugin.video.youtube/YouTubeCore.py):
Old:
New:
How to fix it.
(Found this after reading 10 pages of posts, and had to put it together, so hopefully help someone else here....
If you find this error:
Code:
\YouTubeCore.py", line 769, in getYTCache
if res[i]:
IndexError: string index out of range
23:10:38 T:2212 ERROR: XFILE::CDirectory::GetDirectory - Error getting plugin://plugin.video.youtube/? plugin
Then you need to fix line 769 in YouTubeCore.py (addons/plugin.video.youtube/YouTubeCore.py):
Old:
Code:
if res[i]:
New:
Code:
if (len(res) > i) and res[i]:
How to fix it.
- Turn on debug. Close XBMC. Open XBMC. Try to use the Youtube video addon.
- Browse to C:\Users\Your Name\AppData\Roaming\XBMC\xbmc.log, and look for the above error.
- If there, then use EditPlus to find line 769 in C:\\\Users\YourName\AppData\Roaming\XBMC\addons\plugin.video.youtube\YouTubeCore.py and change as shown above. Save the YouTubeCore.py file. Open XBMC and try it out.
(Found this after reading 10 pages of posts, and had to put it together, so hopefully help someone else here....