~krathalan/wtwitch#8: 
request: ability to hide offline streamers from "wtwitch c"

I have ~100 subscriptions (had more on twitch, but that seems to be the maximum for wtwitch). When I run "wtwitch c" the entire visible portion of my terminal window is taken up by the list of offline streamers. I personally don't see any value in that list, since I'm looking for streams to watch. It would be nice to have a config option to omit offline streamers. My current workaround is piping "wtwitch c" into sed with a line count. Thanks.

Status
REPORTED
Submitter
Kevin Malcolm
Assigned to
Submitted
4 years ago
Updated
4 years ago
Labels
feature-request

~krathalan 4 years ago

Sure, I can add a config option for that. Look for a release in the next week or two. :)

Kevin Malcolm 4 years ago · edit

Awesome, thanks!

Probably not worth a feature request, but I figure I'll mention two quality of life things I ran into while trying to sub to more than 100 people, in case you're bored enough to tackle them:

  1. I figured out that 100 was the max by checking the debug log. wtwitch allowed me to sub to as man as I wanted, but when I ran "wtwitch c", twitch would reject the request and I'd get an error like "cannot iterate over null". Would be nice to have an error like "You are trying to subscribe to more than the 100 sub limit"

  2. When trying to sub to several streamers with one command, if it encounters an error with one of the streamers, it would stop rather than moving onto the next streamer. e.g. if I say "wtwitch s A B C A D E F", it would say "subbed to A, subbed to B, subbed to C, you are already subbed to A" then exit. I'd then have to say "wtwitch s D E F". It'd be nice if it attempted all of them then reported errors at the end.

Cheers

On 20/12/26 11:51PM, ~krathalan wrote:

Sure, I can add a config option for that. Look for a release in the next week or two. :)

-- View on the web: https://todo.sr.ht/~krathalan/wtwitch/8#event-63470

~krathalan 4 years ago

Just pushed 2.2.0 to the AUR, let me know if that works for you! Just run wtwitch f to toggle the printing of offline subs with wtwitch c.

I will definitely look in to these other issues. Your #2 issue should be fairly easy to fix. For #1, can you send a debug log of the over 100 sub error please?

Kevin Malcolm 4 years ago · edit

Works great, thanks!

The "over 100" issue seems to be enforced by Twitch's API. Doubt a workaround is possible, but limiting the number of subs in wtwitch would avoid running into it. https://bin.snopyta.org/?95aa470aa4f13211#FY4kcqt38Ex7WNZhwCy56fQnNVhsGuYJFUZ5t8PA17Mt

On 20/12/31 12:09AM, ~krathalan wrote:

Just pushed 2.2.0 to the AUR, let me know if that works for you! Just run wtwitch f to toggle the printing of offline subs with wtwitch c.

I will definitely look in to these other issues. Your #2 issue should be fairly easy to fix. For #1, can you send a debug log of the over 100 sub error please?

-- View on the web: https://todo.sr.ht/~krathalan/wtwitch/8#event-64242

Register here or Log in to comment, or comment via email.