Twitch API v5 shutdown
So, I don't know if anyone has this on their radar, because I certainly didn't, but it looks like the addon is not going to work after end of the month unless some (many? most?) API calls are changed.
In fact it has already started with some scheduled downtimes that one or the other might have noticed Monday and today. As per Twitch's timeline those downtimes will increase until the final shutdown on the 28th: https://blog.twitch.tv/en/2021/07/15/legacy-twitch-api-v5-shutdown-details-and-timeline/
I can try to begin figuring out what needs to be changed, but honestly I don't know if I'm up to the task. And I also don't know if this even is a "simple" 1:1 migration to the new API or if more significant changes are needed because Twitch might've changed or even cut some functionality.
So uh, @anxdpanic if you are out there: Help, please?
It's absolutely on my radar, we will likely lose some functionality. But I will be trying to get some of the migration underway.
That's good to hear, thanks! If there's anything I can do to help please let me know. I'm only lacking competence, not motivation ;)
@apo86 or anyone else looking to help, or follow, I'll be tracking the updates on https://github.com/anxdpanic/plugin.video.twitch/tree/helix_api
The changes to https://github.com/anxdpanic/script.module.python.twitch won't be breaking, so those can be tracked in master
I'd estimate about half way there, it looks like we'll probably lose blacklist (at least until it can be revisited in the future), but may get to add the chat back using IRC. Will find out for sure as I get further.
Looks like we’re screwed currently. Twitch v5 API is currently in a planned 4 hour shutdown block with many more planned rolling shutdowns until the final death day Feb 22.
That's why I'm trying to keep everyone posted here. Once something usable for testing is ready I will post everything needed as well.
That's why I'm trying to keep everyone posted here. Once something usable for testing is ready I will post everything needed as well.
Thanks for your work. I hope to see Kodi 18 support continued since many still can not run Kodi 19. LibreELEC is a big one as they have yet to add Kodi 19 support to Rasp Pi 3B and many other popular boards. Thanks again.
No reason to change Kodi compatibility at this moment, so the helix update will be for the same versions of Kodi.
I'd estimate about half way there, it looks like we'll probably lose blacklist (at least until it can be revisited in the future), but may get to add the chat back using IRC. Will find out for sure as I get further.
Sounds promising, thanks for your efforts!
I'd estimate about half way there, it looks like we'll probably lose blacklist (at least until it can be revisited in the future), but may get to add the chat back using IRC. Will find out for sure as I get further.
Thanks for all you do with this addon. I would be completely lost without it :)
@anxdpanic Thank you for your continued efforts, it is much appreciated by a silent many, myself included.
Sprig
For anyone currently experiencing add-on issues:
Twitch API v5 phased shutdown schedule:
February 7, 2022 – 1-hour shutdown starting at 11:00am PDT February 9, 2022 – 2-hour shutdown starting at 11:00am PDT February 14, 2022 – 4-hour shutdown starting at 11:00am PDT February 16, 2022 – 6-hour shutdown starting at 11:00am PDT February 22, 2022 – 24-hour shutdown starting at 11:00am PDT February 28, 2022 – v5 permanent shutdown
@MrSprigster Thank you very much for posting the schedule. 11am pdt is 9pm for me here at gmt+2, which means that it stops working just when my day is over and I lay down and watch some twitch to relax. And I am probably sleeping when it comes back up. As it seems, next Tuesday, February 22nd, will be a tough day for me :P
@anxdpanic Can you please upload any development version of the addon in your "twitch development repository"? Alpha, beta, anything is welcome as long as it can play vods or live streams!
@pitsi That's the plan, and I do hope to have something up before the outage tomorrow. It might only be the 'Following' section but should be usable.
Oh, there is an outage planned for tomorrow. I forgot about it. I do not have a twitch account, thus I have no use for the "following" section. I just check games or streamers, which I keep as favorites inside kodi.
Favorited streams should work in that case, I have followed stuff 'working' and didn't have to change the playback route, so anything favorite pointing to something playable should work once I have something up.
Thank you for the clarification. What if the favorite does not link to something directly playable but to a list instead, e.g. the streams of a game or the vods of a streamer?
That will be hit or miss, depends on how much I can get done today before I push the alpha 👍 edit: Some of those favorites will have to be recreated though, some routes have already changed due to the api changes.
Thank you :) God I hate api changes (regardless of platform)!
Not sure if I'll get back to it today, but I have it 90%+ working but completely broken on Kodi 19+. Hopefully later tonight or tomorrow morning I'll be able to get that working and push a version to the test repositories. Thanks for your patience 😄