Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error HRESULT E_FAIL with iTunes #202
I updated to the latest version of iTunes for Windows 10 (version 18.104.22.168), but since doing so it doesn't seem to want to play nicely with Snip (version 6.9.1). Whenever I open Snip, it opens iTunes as well, but immediately after iTunes opens I get the following error:
_Please exit iTunes and reselect iTunes from within Snip.
Error HRESULT E_FAIL has been returned from a call to a COM component._
iTunes seems to function fine, but Snip is unable to pick up song info from iTunes. I've tried closing and selecting Snip->iTunes to re-launch iTunes as instructed in the error message, but the same error comes up each time. I've experimented with setting Snip to another service (Spotify, VLC, etc.), opening iTunes separately, and then setting it back to iTunes, and I've also uninstalled and re-installed, but despite my best efforts the error message comes up each time. Has anyone else seen this kind of thing before?
This was referenced
Oct 19, 2017
referenced this issue
Nov 7, 2017
I've been trying to figure out a solution but am still stuck.
If I don't create any events I can link against the COM library and the rest of the stuff works. But when trying to create an event it has the E_FAIL error.
this.iTunesApplication.OnPlayerPlayEvent += new _IiTunesEvents_OnPlayerPlayEventEventHandler(this.App_OnPlayerPlayEvent);
The problem seems to be that there is no longer these event handlers. It will still build just fine but when trying to use them it fails.
I've tried digging around other things within the library but nothing comes up. They either changed them or removed them internally.
added a commit
Dec 26, 2017
I've created a hotfix for the issues. Until #238 is merged, you can download my hotfixed version at https://github.com/markspolakovs/Snip/releases/tag/v6.9.1-hotfix.1.
Please note that this is probably broken and unsupported - do not report any issues here!
Hi, I'm a developer of @LyricsMaster and having the same issue.