saponifi3d
Programmer
I am writing a plugin for itunes and i was wondering if anyone knows how to use ITEvents. I am writing the plugin in c++ and i want to find the event, ITEventPlayerPlay.
This should be the event triggered when there is a new song playing either from pause, start, or if it starts because the previous song just ended. I have tried creating a class to handle the events, i have tried just using the player play button event which did work, but i couldn't get it to work unless it was playing from the stopped state. In a state of desperation I even tried to handle it like a signal, which didn't work for obvious reasons.
I have seen on some sites how they did it, and I couldn't get their ways to work (making a class to handle the events and somehow being triggered when they call it, anyways not really any good examples / explinations).
Thanks for the help!
This should be the event triggered when there is a new song playing either from pause, start, or if it starts because the previous song just ended. I have tried creating a class to handle the events, i have tried just using the player play button event which did work, but i couldn't get it to work unless it was playing from the stopped state. In a state of desperation I even tried to handle it like a signal, which didn't work for obvious reasons.
I have seen on some sites how they did it, and I couldn't get their ways to work (making a class to handle the events and somehow being triggered when they call it, anyways not really any good examples / explinations).
Thanks for the help!