2014-01-25, 10:02
(2014-01-22, 10:32)o-m-e-n Wrote: Hi.
After couple of hours spent on looking for solution, learning python and testing I finally found a fix for Yotube subscriptions not showing up if your primary account containing this data is yt account and not g+ account. Generally my fix allows you to choose which one you want to use.
Here is what to do:
File YouTubeFeeds.py around line 114:
Replace
Code:url = url % "default"
With
Code:if (self.settings.getSetting("use_yt_username") == "true"):
url = url % self.settings.getSetting("yt_username")
else:
url = url % "default"
File resources/settings.xml after line 6:
Code:<setting id="user_password" type="text" option="hidden" label="30201" enable="!eq(-1,)" default="" />
Insert:
Code:<setting id="use_yt_username" type="bool" label="30289" default="false" />
<setting id="yt_username" type="text" label="30290" enable="!eq(-1,false)" />
Finally in file resources/language/<your language>/strings.xml after line 154:
Code:<string id="30288">Show YouTube History</string>
Insert (translated to language set in your xbmc settings):
Code:<string id="30289">Use YouTube Username</string>
<string id="30290">YouTube Username</string>
You will find necessary settings in plugin's configuration.
I hope this will also work for you.
I tried this but I get a script failure error after trying to run the addon.
xbmc log says it pertains to line 115 in YouTubeFeeds.py. After removing that file completely I receive no script errors but login does not work.