-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Streams starting automatically when sltg is up or in background #366
Comments
This sounds strange... There's actually no way that this can happen unless the selected notification provider is executing a notification click callback. There are no automated stream launch mechanics implemented. Are you sure that you are not clicking any notifications? Are there settings that can cause notifications to be clicked automatically on Windows or can this be done with other programs? On Win10 the default provider is SnoreToast. As you can see here, the click callback does only get executed if the SnoreToast child process has exited with the success code: The Growl provider also doesn't execute click callbacks randomly: When using rich notifications, an event emitted by Chromium is needed for the callback to be executed: |
Is it possible that you're using an antivirus software that is interfering with the snoretoast child process? |
€dit 1 : sorry for the late answer. hi there, im very sure that i do not click on notifications because it just happened while i was at work. im using kaspersky total security 2016. and thx for ur quick reaction |
Can you please run this in the Windows powershell next time your video player opens? gwmi win32_process | % { "$($_.ProcessID) $($_.ParentProcessID) $($_.ProcessName)" } This lists all process IDs and their parent processes and should look like this:
What's important is that the player process and all of its parents are included. Btw, disabling notifications in the settings menu completely shuts down the polling of the Twitch API. So I'd be really surprised if Streamlink Twitch GUI is responsible for this. |
i was pretty sure i turned notification off bc i get emailed if a stream starts. i edited out a bunch of chrome and svchost entries. just for the readabillity. 0 0 System Idle Process |
You can remove all of the unnecessary stuff. I wanted to make sure that the VLC process (and its python parent process) was started by the GUI.
Did you run the powershell command after turning notifications off? You edited your msg, so I don't know. |
i didnt want to do a double post. sorry for causing more trouble. now they are back on, with automatic selection, show all but except disabled ones and do nothing |
Okay, I found the source of the issue. The SnoreToast process incorrectly returns the I didn't notice this weird behavior of SnoreToast while implementing this, because I didn't test it while having notifications disabled when there's a click callback. Let me fix this and then release |
Fixed in bf51639 now. Thanks for reporting! |
Description
more or less what's in the title...
this started to occur when i switched from lstg to sltg. nothing else was changed.
Expected / Actual behavior
Reproduction steps
Environment details (operating system, etc.)
w10, latest streamlink, sltg and vlc are the latest versions available
The text was updated successfully, but these errors were encountered: