Chatterino / chatterino2

Chat client for https://twitch.tv
MIT License
1.97k stars 442 forks source link

Better explanation for the "Too many chat channels" message #5424

Closed AfroThundr3007730 closed 1 month ago

AfroThundr3007730 commented 1 month ago

Checklist

Describe your issue

Whenever I open chatterino, I get the following message on some of the opened channel tabs:

You are connected to too many chat channels. Please close some existing chat connections to join a new chat

This only started happening after the last chatterino update. Before this, there was no issues connecting to as many channels as I want. I have over 100 tabs open in my current setup to keep track of all the channels I frequently visit.

What changed? Did Twitch impose a new API limit affecting this, or is this just client side? How can this be worked around? What even is the limit anyway?

Screenshots

No response

OS and Chatterino Version

Chatterino 2.5.1 (commit 3aead09) built with Qt 6.7.0 Running on Fedora Linux 40 (Forty), kernel: 6.8.9-300.fc40.x86_64

Felanbird commented 1 month ago

This only started happening after the last chatterino update.

This is a Twitch restriction of 100 channels. https://discuss.dev.twitch.com/t/giving-broadcasters-control-concurrent-join-limits-for-irc-and-eventsub/54997

AfroThundr3007730 commented 1 month ago

Well that is not optimal. I suppose I'll need to use multiple accounts then. I see chatterino can login with multiple accounts but how is this used? I don't see any option for choosing an account on the tabs I have open, nor when creating new tabs/splits.

Right now most of the channels appear to be using my alt and I still see the channel limit message on other tabs. Is chatterino only able to use one of the accounts at a time? And how is the switching accomplished?

I suppose I could use multiple chatterino instances, but I'm not seeing any CLI options to control the config file location. ~I can just subvert this by exporting a different $HOME and launch it via wrapper, but it'd be better to have an option for this. Perhaps an environment variable like CHATTERINO_HOME or something could be added?~ I can just change XDG_DATA_HOME and launch it instead.

AfroThundr3007730 commented 1 month ago

I just thought of something else. Is there a way to make chatterino not join a channel until it's actually live? Even though I have a bunch open, it's usually only a couple dozen concurrent live channels in total. That plus maybe joining offline channels when the tab is selected should be sufficient, I'd think. Of course, that does mean offline chat messages for channels that aren't selected would be missed.

Mm2PL commented 1 month ago

Well that is not optimal. I suppose I'll need to use multiple accounts then. Right now most of the channels appear to be using my alt and I still see the channel limit message on other tabs. Is chatterino only able to use one of the accounts at a time? And how is the switching accomplished?

We cannot suggest you bypass the rate limits. You can only be connected with one account at a time in a single instance of the program. You can change which account that is with the User button by the tabs.

Is there a way to make chatterino not join a channel until it's actually live?

No we currently do not support anything like that. Channels can have live notifications even if they are not open though.

AfroThundr3007730 commented 1 month ago

No we currently do not support anything like that. Channels can have live notifications even if they are not open though.

So if I don't have a tab for a particular channel I can still get a notification in chatterino when they're live? If so I'd like to find out how to get that configured.

Wait are we talking about this part of the settings? image

So I can still get a live ping for channels listed here even if their tab isn't open? That would be quiet useful.

Mm2PL commented 1 month ago

So if I don't have a tab for a particular channel I can still get a notification in chatterino when they're live? If so I'd like to find out how to get that configured.

You can just add the channel to your live notifications. Either through the split header menu (... -> More -> Notify when live) or the settings: image

AfroThundr3007730 commented 1 month ago

Ah ok, I thought so.

Either through the split header menu (... -> More -> Notify when live)

I take it that option adds to the above list? Well that'll do fine then. I'm assuming these will show up in the /live tab then, which works for me. Now to import all these channels.

AfroThundr3007730 commented 1 month ago

Thanks for the help, by the way.