Building from Source - TeamGDQ/discord-snip-integration GitHub Wiki
In all of my builds that I post on my site, I don't have iTunes enabled, I've completely conditioned them out of the code, mainly because my current setup doesn't have iTunes, nor does it like it. So, any builds you get from me will have iTunes Conditioned out.
What does that mean?
It means that I've added a pragma if statement to see if a particular pragma constant exists, and if it does, it enables that pragmatic statement, allowing iTunes to be properly exposed.
In our code, Add a Reference for iTunesLib
, or is it Interop.iTunesLib.dll
? (Eh, iTunes people would be able to find it). Then open Snip/Players/iTunes.cs, then put the following at the top of the file, anywhere before the copyright header, or the using statements:
#define COMPILEWITHITUNES
Do this ONLY if you have iTunes installed, else it will simply fail, complaining that iTunes doesn't exist If all is well, it should compile, once it's compiled, iTunes would be supported.
Now, in the mean time, I am planning on including it myself, I just have to get iTunes to cooperate with my desktop.