iTunification
iTunification copied to clipboard
Show album art if using notification center
I've uninstalled Growl as soon as I installed Mountain Lion, so I cannot (or don't want to) resort to the workaround of falling back to Growl. It would be awesome if the Notification Center could also show the album art.
Notification Center does not provide a way of adding a picture to it in it's API now. So it is not possible at the moment.
i think there could be a (little bit "dirty") way. as long as you don't need to get your app into Apples App Store you could simply:
replace your apps icons.icns temporarily with a icons.icns with the track.artwork NSImage (e.g. using IconFamily http://stackoverflow.com/a/12315845/1595285) restart Notification Center to update it's (otherwise cached) icons using
NSRunningApplication* notificationCenter = [NSRunningApplication runningApplicationsWithBundleIdentifier:@"com.apple.notificationcenterui"];
[notificationCenter terminate];
shouldn't result in that much of lines of code, so might be worth a try? :)
:+1: