krathalan / wtwitch

Terminal user interface for Twitch
GNU General Public License v3.0
68 stars 9 forks source link

[BUG] Channels with Hangul fails with 'wtwitch o' but works if opened with 'wtwitch w' #27

Open ghost opened 1 year ago

ghost commented 1 year ago

Describe the bug If I use command wtwitch o and select live channel that has Hangul in its name (e.g. channel 찌모햄 ) that uses name midong1030 but shows as midong1030( 찌모햄 ) in wtwitch live list, it throws error Watching failed. I can watch that channel (or any other bugged "failed" live channels with Hangul, if I open it with command wtwitch w midong1030.

To Reproduce Install wtwitch, subscribe to a (live) channel that has Hangul in its name, then run command wtwitch o and select channel that has Hangul in its name. It will throw error Watching failed Streamer is not online. Then you can try to open that same channel with command wtwitch w midong1030 and that can open the channel normally.

Expected behavior Install wtwitch, subscribe to a (live) channel that has Hangul in its name, then run command wtwitch o and select live channel that has Hangul in its name. It will open the stream and I can watch the stream.

Logs/system info (please complete the following information):

Here is debug log from this command:

$ WTWITCH_DEBUG=on wtwitch o &> debug.log

Additional context For privacy reasons, I tested this first with all my subscriptions, but this bug report is reproduced and retested with only one Twitch channel midong1030( 찌모햄 ). Also, English isn't my first language, so sorry for repeating same thing multiple times. I just want to write too much instead of too little or be confusing with too little writing. Thank you for your TUI application, I like it very much.