question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Streams aren't sorted by viewers - Seems random

See original GitHub issue

Bug report

  • [x ] I understand the difference between Streamlink and Streamlink Twitch GUI.
  • [x ] This is a bug report and I have read the contribution guidelines.

Environment details

Operating system and version:
Windows 10 1903

Streamlink Twitch GUI version:
1.9.0

Streamlink version:
1.3.0

Configuration details:
No custom parameters or anything. Pretty much all default settings.

Description

When I click Followed Streams, the order of viewers is random instead of high to low. This just started today. First stream has 826 viewers, second has 1684, third has 32.2k, 4th has 98, and 5th has 696 etc…

Expected / Actual behavior

Streams should be listed high to low.

Reproduction steps

Not really sure how to reproduce. Yesterday it was fine, today it was messed up. I didn’t change anything, just shutdown the PC overnight.

Log output

Let me know if you need a log.

REPLACE THIS TEXT WITH THE LOG OUTPUT

Additional comments, screenshots, etc.

https://i.imgur.com/xrmoBy7.png

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

7reactions
bastimeyercommented, Jan 18, 2020

It’s an issue on Twitch’s end which they have to fix. I’ve already opened a thread on Twitch’s dev forums here to let them know: https://discuss.dev.twitch.tv/t/kraken-streams-followed-not-ordered-by-viewers/23772

3reactions
bastimeyercommented, Jan 18, 2020

I’ve pushed the sorted-followed-streams branch to the repo. This will get merged into master if the API won’t have been fixed in the next couple of days or if they still haven’t reponded by then. It’s currently weekend, so I don’t expect them to do any bugfixing right now. Should the API be fixed once this was merged and published in a new release, then it should be fine too, as it won’t make a difference then other than being an inefficient implementation.


If one is terribly annoyed by the unsorted followed streams list, they can build the app themselves now from the sorted-followed-streams branch. Just follow the build guide or run the following commands if you already got Git, NodeJS and Yarn installed. https://github.com/streamlink/streamlink-twitch-gui/blob/master/CONTRIBUTING.md#developing-and-building

git clone https://github.com/streamlink/streamlink-twitch-gui.git
cd streamlink-twitch-gui

git fetch origin
git checkout origin/sorted-followed-streams

yarn global add grunt-cli
yarn install --pure-lockfile

grunt release
# see built app in ./build/releases/
Read more comments on GitHub >

github_iconTop Results From Across the Web

Whenever I stream on Twitch, it seems like there are people ...
This means people who watch you have to stay on your channel for a while to be counted as a viewer. People who...
Read more >
Consistently NEVER get random viewers. : r/Twitch - Reddit
Consistently NEVER get random viewers. I have been streaming for a few months now, pretty much anytime someone new joins the chat they...
Read more >
Suggested streams not only by highest viewer count
Maybe there is a way to display random streams from that category/subcategory? A mix of different channels would be great so streamers with ......
Read more >
Understanding Viewer Count vs. Users in Chat - Twitch Help
People who watch video without chat connected will be counted in Viewer Count, and not shown in Users in Chat, regardless of if...
Read more >
Sick Of Streaming To 0 Viewers on Twitch? How to Get More ...
Many times, a new viewer will pop into your stream and only stick around for 3-5 minutes (sometimes even less). Since you may...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found