tc icon indicating copy to clipboard operation
tc copied to clipboard

Add argument to open specified stream

Open simoniz0r opened this issue 8 years ago • 14 comments

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.

simoniz0r avatar Oct 06 '17 16:10 simoniz0r

Seems to me that this is similar to/dupe of #264 .

kumpelblase2 avatar Oct 06 '17 20:10 kumpelblase2

There's a PR but I keep procrastinating https://github.com/mccxiv/tc/pull/315

mccxiv avatar Oct 07 '17 00:10 mccxiv

#379 is the new PR and should close this. the argument structure would be --channel=CHANNEL as the argument to open a channel

scsddeputy avatar Dec 19 '17 19:12 scsddeputy

Would be neat if this could get accepted and a new build released!

joshuacant avatar Dec 19 '17 23:12 joshuacant

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.

RandomNerd1 avatar Jul 21 '18 01:07 RandomNerd1

Yes it has been merged by pr #379

scsddeputy avatar Jul 21 '18 01:07 scsddeputy

@mccxiv you could close this as it has been completed, unless you are keeping it open for another reason

scsddeputy avatar Jul 21 '18 01:07 scsddeputy

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 avatar Jul 21 '18 01:07 joshuacant

@joshuacant first I’m hearing about it. What os are you using?

scsddeputy avatar Jul 21 '18 01:07 scsddeputy

Windows 10.

joshuacant avatar Jul 21 '18 01:07 joshuacant

Ok I’ll take a look at it as soon as I can

scsddeputy avatar Jul 21 '18 01:07 scsddeputy

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.

RandomNerd1 avatar Jul 21 '18 02:07 RandomNerd1

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

scsddeputy avatar Jul 21 '18 02:07 scsddeputy

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.

Margiris avatar Dec 17 '18 00:12 Margiris