2013-07-21, 05:02
Hi everyone,
I think I found what appears to be a bug with the way that the plugin lists subscriptions - if you have more than 50 (which I do!)
The end result is that it only lists the first 50 subscriptions that you have, when the plugin tries to retrieve more than that the following error appears in the debug log:
The fix appears to be simple, in the YouTubeFeeds.py file, edit line 330 so that it changes from:
to:
When I made this change myself it now loads all of my subscriptions without error.
If anyone else is having the same issue as me it might be worth trying this simple change before digging deeper...
I think I found what appears to be a bug with the way that the plugin lists subscriptions - if you have more than 50 (which I do!)
The end result is that it only lists the first 50 subscriptions that you have, when the plugin tries to retrieve more than that the following error appears in the debug log:
Code:
12:11:24 T:8100 NOTICE: [YouTube-4.4.6] _fetchPage : 'HTTPError : HTTP Error 401: NoLinkedYouTubeAccount'
12:11:24 T:8100 NOTICE: [YouTube-4.4.6] _fetchPage : 'Unhandled HTTPError : [401] <HTML>
<HEAD>
<TITLE>NoLinkedYouTubeAccount</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>NoLinkedYouTubeAccount</H1>
<H2>Error 401</H2>
</BODY>
</HTML>
'
The fix appears to be simple, in the YouTubeFeeds.py file, edit line 330 so that it changes from:
Code:
url = feed + "start-index=" + str(index) + "&max-results=" + repr(50)
Code:
url = feed + "v=2.1&start-index=" + str(index) + "&max-results=" + repr(50)
When I made this change myself it now loads all of my subscriptions without error.
If anyone else is having the same issue as me it might be worth trying this simple change before digging deeper...