Closed DOFandersolsen closed 2 years ago
That's a Twitch API issue which is related to #707, twitchdev/issues#67, and it seems to be occurring once again.
The reason why the button disappears is that it thinks it's finished fetching data and that there isn't anything more to fetch. This happens when there is no metadata included in the API response and the returned number of requested records is lower than the requested one.
This seems to be only happening when a language parameter is set, but I'm not entirely sure.
Request examples:
# no language parameter, increasing offset
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=0&limit=12" \
| jq "[.streams[]] | length"
12
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=12&limit=12" \
| jq "[.streams[]] | length"
12
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=24&limit=12" \
| jq "[.streams[]] | length"
12
# language=en, increasing offset
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=0&limit=12&language=en" \
| jq "[.streams[]] | length"
12
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=12&limit=12&language=en" \
| jq "[.streams[]] | length"
12
$ curl -s \
-H "Accept: application/vnd.twitchtv.v5+json" \
-H "Client-ID: phiay4sq36lfv9zu7cbqwz2ndnesfd8" \
"https://api.twitch.tv/kraken/streams?offset=24&limit=12&language=en" \
| jq "[.streams[]] | length"
11
Reported here: twitchdev/issues#221
I don't know if Twitch has deployed a hotfix, but the issue has been resolved and the pagination now works again without me having to update or change anything.
No, they haven't fixed anything yet, especially on a Sunday.
This issue is coming and going in certain time intervals for some reason. This was the case previously as well and some of the Twitch devs couldn't even reproduce the issue when I reported it earlier this year (on the dev forums). It may even vary from region to region if they have differences or delays in their dynamic server/database deployments, who knows.
Until I get a proper response from them on the linked thread, I will leave this one open. Let's hope there will be a response, because I still have another issue open there without one.
I am experiencing same issue and haven't fıgure out any solution
Closing, as this is an issue with the old kraken API. This will be fixed with the helix API (#849).
Bug report
Environment details
Operating system and version:
Windows 10 Pro, 1909
Streamlink Twitch GUI version:
v1.10.0
Streamlink version:
streamlink 1.4.1
Configuration details:
Windows is set to Danish I have set Streamlink Twitch GUI to filter out streams that are not in english
Description
When I click on Stream under Browse, I normally get a lot of streams, with a purple button allowing me to fetch/load more streams.
Now, I only get the initial list of streams with no option to load more.
Expected / Actual behavior
I expect to be able to see and click the "Fetch more streams" button at the end of the list since there are more than 48 english streams on Twitch.
Reproduction steps
Log output
After launching Streamlink Twitch GUI and clicking on Streams under Browse, this is all the log contains
Additional comments, screenshots, etc.