Add argument to open specified stream
It would be really nice if Tc could have a commandline argument that allowed the user to specify which stream chat they want to open when launching Tc. For example, Tc --channel SpamFish would launch Tc with SpamFish's twitch chat open.
Seems to me that this is similar to/dupe of #264 .
There's a PR but I keep procrastinating https://github.com/mccxiv/tc/pull/315
#379 is the new PR and should close this. the argument structure would be --channel=CHANNEL as the argument to open a channel
Would be neat if this could get accepted and a new build released!
Did this ever end up making it into the program? I'm trying to get Streamlink Twitch GUI to open it with the streamed channel, but can't get it going. Don't know if it's a futile effort, as it would be if this hasn't made it into a release yet.
Yes it has been merged by pr #379
@mccxiv you could close this as it has been completed, unless you are keeping it open for another reason
For me it only works if tc is not running. Once tc is open, future attempts don't work. For reference, here's the Streamlink Twitch GUI paramaters I'm using: "--channel={channel}"
Maybe I'm doing something wrong.
@joshuacant first I’m hearing about it. What os are you using?
Windows 10.
Ok I’ll take a look at it as soon as I can
I'm on Windows 7 x64, and can confirm the bug joshuacant is talking about, where a channel will not be joined with the --channel={channel} parameter (plugged into Streamlink Twitch GUI), if tc is currently running when the stream is launched (and Streamlink Twitch GUI is set to automatically launch chat upon launching a stream).
Also was surprised to find out that channels stay open when you close the program, only to re-open the next time tc is fired up.
Ok well now that I know it’s confirmed I will look into fixing it. I’m working this weekend but I’ll try to get a fix if I can
The issue might have something to do with opened channels - for me command line option works only if both tc and all channels in it are closed.