≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Bug #142

Bug #142: Suppress Growl notification when iTunes quits

Kind bug
Product Synergy
When 2005-03-15T01:41:52Z
Status closed
Reporter Jason Deraleau
Tags no tags

Description

When using Synergy with Growl (love the Growl support, by the way), I notice an extra notification when I quit iTunes. A Growl notification is sent that lists "Stopped: (null) Unknown Artist" Mind taking a look at getting rid of the extra noise?

Comments

  1. Jason Deraleau 2005-03-15T01:42:35Z

    Created an attachment (id=14) Screenshot of the extraneous notification.

  2. Greg Hurrell 2005-03-15T03:19:02Z

    I can reproduce this here, although I'd never seen it before because I neither quit iTunes nor use Growl! iTunes is sending a state changed notification just before it quits, notifying that it's state is "Stopped" and passing null or no values for the track information.

    I am not sure if I can fix this in a reliable manner. On receiving the notification there's no point in testing if iTunes is still running (because it is) and so there's no way of knowing that it's about to quit. About the only thing I can think of is to suppress *all* "Stopped" notifications.

    What do you think?

  3. Jason Deraleau 2005-03-15T03:25:28Z

    While suppressing all Stop notifications is probably drastic (though not a frequent occurrence), it would probably be good to at least clean up the Stop notification a bit. I'm assuming it doesn't need to send the null/Unknown Artist information to Growl. I'd guess that you have a function pulling the information about the currently playing track from iTunes, but since no track is playing, it'll never get that information :)

    Out of curiosity, how did you fix it for Synergy's floater? I don't seem to get that extra Stopped message with the default floater...

  4. Greg Hurrell 2005-03-15T03:27:14Z

    Ok, I've fixed it. I'm suppressing "Stopped" notifications where no track name is passed. Seeing as iTunes won't allow users to change a track name to an empty string there should hopefully be no missed notifications due to false positives.

  5. Greg Hurrell 2005-03-15T03:28:11Z

    Marking as CLOSED. This fix will be available to the public when version 1.8 is released (currently scheduled for later this month is all goes well).

Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets