-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception after login #742
Comments
A few days ago I was created ApiKey and youtube-addon worked fine. But today I got the same error. Update addon and os for last version don't help me. I run Kodi (18.5) on raspberry PI 3B+ with OSMC.
|
Same error here, kodi 18.5, youtube 6.6.0, librelec, pi 1 model B. |
Can one of you try https://github.com/jdf76/plugin.video.youtube/releases/download/6.7.0-dev/plugin.video.youtube-6.7.0.alpha2.zip and please post the debug log even if it works. I'm unable to reproduce this so I've added logging to see what is being returned in this case, and hopefully find a better solution. Thanks 👍 |
I too have the same error, also using Kodi 18.5 with Youtube v6.6.0. I am using the same personal API keys I've been successfully using for years. Nothing has changed apart from the most recent update to the addon. |
@anxdpanic It works without errors. I can see my own subscriptions so it must me authenticating properly. Thanks very much... What changed? |
I'm guessing My Channel doesn't show up for you now though? |
OK, I tested by selecting 'My Subscriptions', then 'My Channel -> Playlists' (it does show up), and captured the debug log below. Hope that helps. |
Thanks @guidosarducci |
Thanks @anxdpanic the alpha is working here too. |
I updated plugin.video.youtube-6.7.0.alpha1 to plugin.video.youtube-6.7.0.alpha2. Authenticating now work properly. I get list of video from "My Subscriptions"/"Мои подписки" and video from this list played. Log attached. Thanks for work! |
After playing video thourgh one hour and stoped it I don't get list of video from "My Subscriptions"/"Мои подписки". I get only clean list with zero items. Log attached.
|
@anxdpanic I changed the code in the python-file directly in the way you did it in your alpha. Seems to work perfectly! Thx! Interestingly no debug-log appears in my log...so I think Youtube changed something again, so that everything works like before their recent changes to some user-profiles... |
@Jurik-Phys |
After reset I did two stage authorization and list of video worked. Thanks! |
@anxdpanic I have the same problem here, and I don't see any |
@lameventanas It's there you just need to scroll the categories. |
I'm using Kodi 18.5 with the Confluence theme. |
You need to open the |
Oh I see, I thought it was a global cache thing that had to be reset. Is there a way to prevent this in the future or make it more automatic? Maybe by more checks on what is returned by Youtube? |
Without the debug log, I don't even know what issue you were experiencing. |
My debug log looks exactly like the one posted here, eg: IndexError: list index out of range after json_data.get() returns an empty list and there is no check for that. |
Ah, that was fixed in the alphas. So I didn't think of Maintenance being related to that Up until recently this area of code worked for everyone, YouTube made a change and now the same information isn't available for all accounts. This caused the error. You can find the beta https://github.com/jdf76/plugin.video.youtube/releases/tag/6.7.0-dev |
Thanks! |
that's all that is required for that particular fix |
Thanks for your prompt communication, and great work in this addon. It is working now :) |
Today I created a new google-account and wanted to use this account in the youtube-addon. Unfortunately I get an "Youtube-error" after I entered the 2 codes on the google/device-page. Using another (older) account works perfectly, but the newly created one doesn't. The kodi-log says the following:
I'm using my own ApiKey (I tried an existing one and one newly created for the new account - makes no difference) and run Kodi 18.2 on a raspi 3B+ with raspian stretch and all updates installed. I already tried subscribing to a youtube-channel, as I thought this would be the problem when I looked at the logs - Still no success. Do I have to change something on my google account?
The text was updated successfully, but these errors were encountered: