-
Notifications
You must be signed in to change notification settings - Fork 5
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
(Windows) iTunes re-opening itself #12
Comments
Was scrolling through GitHub and found this issue, When integrating win32com to iTunes, it will always attempt to find that process, even if it is closed. This causes the effect of reopening the program. Fixing it should be easy enough. Within the win32com documentation (should be) instructions on how to kill a dispatch hook. Simply killing it will make sure it doesn't spawn again. Implementation is as easy as setting a flag for hooking to iTunes for the first time since the program is ran, and then killing the win32com variable as soon as iTunes is not detected. |
Thank you for this! I'll try it soon |
Any luck so far? |
on windows, you can kill the task with a simple vbs script. Set WshShell = CreateObject("WScript.Shell") save as stopAppleMusicRP.vbs |
that would be a good idea to bodge, but it would probably be easier to just implement it directly into the script. i haven't been here for a while as ive been working on my own version, but we use the same library. |
If you close iTunes while AppleMusicRP is running, it will reopen itself.
The code that handles this and causes this is here
The text was updated successfully, but these errors were encountered: