-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to find Spotify window #6
Comments
That's due to Spotify not using the same handle. @rahatarmanahmed or @TingPing need to change it to grab title from process name. Process name is still Spotify.exe. I'd work on fixing this but the hassle of setting up VS for hexchat stuff again is out of my scope due to other constraints. |
It is building a single plugin, HexChat isn't involved. |
I see. Back before You fixed up some of the code, it required a bit of work to setup. It builds no problem now. I just don't have the c++ experience necessary to change it from going by handle. |
I unfortunately no longer have access to a Windows machine to make and test this change with. Pull Requests are definitely welcome! (I didn't know much C when I published this either, I just copied from some forum and learned enough to make it work 🤫) |
@Samanthajoy All you need to do is find out the new Window id (there is probably some tool for that) and change this line: https://github.com/rahatarmanahmed/hcspotify/blob/master/src/spotify.c#L16 |
Thank you all for your replies, I will try and see if I can change the script. |
@TingPing Spotify is now an electron app, so it reports the same handle as any other electron app. |
Bummer. |
Any progress on this? |
Would love to use this. Sad that nobody has fixed it in 2 years |
I get the error message in the subject when I type /spotify in Hexchat.
The text was updated successfully, but these errors were encountered: