Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chat opens again on stream restart #475

Closed
h0rn3z0r opened this issue Jun 7, 2017 · 4 comments
Closed

Chat opens again on stream restart #475

h0rn3z0r opened this issue Jun 7, 2017 · 4 comments

Comments

@h0rn3z0r
Copy link

h0rn3z0r commented Jun 7, 2017

Description

When I press "restart" this program opens new Chatty window and I need to close it everytime.

Environment details (operating system, etc.)

Windows 10

Comments, logs, screenshots, etc.

I suggest to not open chat window again if there is already one, or add an option to automatically close chat on stream restart/close so this will fix this issue aswell.

@bastimeyer
Copy link
Member

Which version of Chatty are you using?
Chatty has a single instance mode implementation, where it can't be launched multiple times and instead passes launch parameters to the already running main process which then opens a new chat tab instead. The Twitch GUI uses Chatty's -single parameter by default, so unless you're running an old Chatty version or you're using a custom Chatty command without the -single parameter, multiple Chatty windows should not be popping up.

As I've described in #240, the Twitch GUI does not keep track of already running chat applications, because it's not possible to implement something that understands the various behaviors of each program (eg. single instance modes).

The restart function is something different here though and chat programs should never be launched again when restarting a stream.

@h0rn3z0r
Copy link
Author

h0rn3z0r commented Jun 7, 2017

Thanks for the answer. I had to mention that I am using Chatty 0.8.6 standalone (cause I dont want to install java just for one small program), and cause Twitch GUI expects chatty.jar in chatty folder I am forced to launch Chatty as a custom application like that: "D:\Programs\Chatty\Chatty.exe -connect -token "{token}" -channel "{channel}"". So for now I just added -single parameter and this totally suits me so I think you can close this. Maybe you could add Chatty.exe support at least?

@bastimeyer
Copy link
Member

Maybe you could add Chatty.exe support at least?

The chat application preset list is using an older implementation and needs a rewrite first. I have mention this in #410 (comment). I'll see if I can add a "Chatty standalone" profile, similar to the "Livestreamer standalone" streaming provider profile, once I have completed the rewrite.

@SaDiablo
Copy link

SaDiablo commented Jun 7, 2017

I'll add also a little request for the Tc chat preset then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants