public GrowlPlugin()
        {
            this.OnPlayerPlayEvent += new _IiTunesEvents_OnPlayerPlayEventEventHandler(growlPlugin_OnPlayerPlayEvent);
            this.OnPlayerPlayingTrackChangedEvent += new _IiTunesEvents_OnPlayerPlayingTrackChangedEventEventHandler(growlPlugin_OnPlayerPlayingTrackChangedEvent);

            // old
            this.udpGrowl = new Growl.UDPLegacy.MessageSender("ITunes Growl Plug-in", Properties.Settings.Default.GrowlPassword);
            this.udpNotificationType = new Growl.UDPLegacy.NotificationType("Track Changed", true);
            this.udpNotificationTypes = new Growl.UDPLegacy.NotificationType[] { this.udpNotificationType };

            // new
            this.application = new Growl.Connector.Application("iTunes");
            this.application.Icon = String.Format(@"{0}\icon.png", System.Windows.Forms.Application.StartupPath);
            this.growl = new Growl.Connector.GrowlConnector(Properties.Settings.Default.GrowlPassword);
            this.growl.NotificationCallback +=new Growl.Connector.GrowlConnector.CallbackEventHandler(growl_NotificationCallback);
            this.growl.EncryptionAlgorithm = Growl.Connector.Cryptography.SymmetricAlgorithmType.PlainText;
            this.nt1 = new Growl.Connector.NotificationType("Track Changed", "Track Changed");
            this.notificationTypes = new Growl.Connector.NotificationType[] { this.nt1 };
        }
        public GrowlPlugin()
        {
            this.OnPlayerPlayEvent += new _IiTunesEvents_OnPlayerPlayEventEventHandler(growlPlugin_OnPlayerPlayEvent);
            this.OnPlayerPlayingTrackChangedEvent += new _IiTunesEvents_OnPlayerPlayingTrackChangedEventEventHandler(growlPlugin_OnPlayerPlayingTrackChangedEvent);

            // old
            this.udpGrowl             = new Growl.UDPLegacy.MessageSender("ITunes Growl Plug-in", Properties.Settings.Default.GrowlPassword);
            this.udpNotificationType  = new Growl.UDPLegacy.NotificationType("Track Changed", true);
            this.udpNotificationTypes = new Growl.UDPLegacy.NotificationType[] { this.udpNotificationType };

            // new
            this.application                 = new Growl.Connector.Application("iTunes");
            this.application.Icon            = String.Format(@"{0}\icon.png", System.Windows.Forms.Application.StartupPath);
            this.growl                       = new Growl.Connector.GrowlConnector(Properties.Settings.Default.GrowlPassword);
            this.growl.NotificationCallback += new Growl.Connector.GrowlConnector.CallbackEventHandler(growl_NotificationCallback);
            this.growl.EncryptionAlgorithm   = Growl.Connector.Cryptography.SymmetricAlgorithmType.PlainText;
            this.nt1 = new Growl.Connector.NotificationType("Track Changed", "Track Changed");
            this.notificationTypes = new Growl.Connector.NotificationType[] { this.nt1 };
        }