2012-12-14, 12:35
(2012-11-27, 22:28)Salabim Wrote: There is 1 problem with the Youtube add-on, for some reason it never shows any video's for this subscription :
https://www.youtube.com/user/Nudelyn (Notice the username is 'Leo Davidson')
... perhaps the space in the username is making the add-on not show any contents ?
Hi,
I think I managed to fix this with a simple patch to YouTubeCore.py. The code is using the displayname not the actual username.
Basically the API returns a yt:username (which has no spaces, while there is a 'display' attribute which has the display name in the same tag. I am not very familiar with python or the youtube plugin, so I have no idea if it is the right fix, but it certainly has the desired result for me which is all my subscriptions where the display name has a space now work fine. I have about 5 subscriptions that fit this category.
The following patch against 3.3.0 has fixed the issue for me. Its a one line change.
http://code.google.com/p/youtubexbmc/iss...tail?id=62