iTunes events do not fire

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Cursief

    #1

    iTunes events do not fire

    Hello,

    I've been playing around a little bit with the iTunes SDK. Doing the
    following:

    iTunesApp app = new iTunesAppClass( );
    app.OnPlayerPla yEvent += new
    _IiTunesEvents_ OnPlayerPlayEve ntEventHandler( app_OnPlayerPla yEvent);


    private void app_OnPlayerPla yEvent(object iTrack)
    {
    IITTrack track = iTrack as IITTrack;
    if (track != null)
    label1.Text = "asd";
    }


    This doen't work as well as other examples I found on the net (complete
    example projects) and even these don't work. I have a sneaking suspicion
    that this has to do with (one of) the last update from iTunes 6.0.1.3.

    Anyone has ideas why this won't work? FYI, i can get the track names and
    all....

    Hope someone knows the answer....
  • kevincolyar@gmail.com

    #2
    Re: iTunes events do not fire

    Hi,

    I'm having the same problem. Has anyone come up with a solution to
    this?

    Cursief wrote:[color=blue]
    > Hello,
    >
    > I've been playing around a little bit with the iTunes SDK. Doing the
    > following:
    >
    > iTunesApp app = new iTunesAppClass( );
    > app.OnPlayerPla yEvent += new
    > _IiTunesEvents_ OnPlayerPlayEve ntEventHandler( app_OnPlayerPla yEvent);
    >
    >
    > private void app_OnPlayerPla yEvent(object iTrack)
    > {
    > IITTrack track = iTrack as IITTrack;
    > if (track != null)
    > label1.Text = "asd";
    > }
    >
    >
    > This doen't work as well as other examples I found on the net (complete
    > example projects) and even these don't work. I have a sneaking suspicion
    > that this has to do with (one of) the last update from iTunes 6.0.1.3.
    >
    > Anyone has ideas why this won't work? FYI, i can get the track names and
    > all....
    >
    > Hope someone knows the answer....[/color]

    Comment

    Working...