Hello,
Growl 2.1.3 on Mac OS X 10.9 (Mavericks). I'm not an Xcode developer.
According to the GNTP spec:
- Notification-Icon: <url> | <uniqueid>
Optional - The icon to display with the notification.
Under GfW I'm used to specifying the path to the notification icon as a "file" URL like this and it works perfectly:
Notification-Icon: file:///"C:/Program Files (x86)/Growl for Windows/ncid-gntp-images/outgoing-call-48x48.png"
On the Mac I'm attempting to do:
Notification-Icon: file:////Users/taa/ncid-gntp-images/outgoing-call-48x48.png
But instead of using the specified icon, it's using some default icon that I don't recognize (and that I don't want to use anyway).
To keep the network traffic to a minimum (and again this implementation can be on lower-powered devices) I will have users install the icons manually on their Windows PC and Mac. This way I don't have to try to put binary image data in the shell script using <uniqueid>. I also did some testing with encoding the binary icon data in the shell script with base64, but that required more overhead processing and delayed the notification being sent to Growl. Not a good thing when phone calls happen in real time.
QUESTIONS:
1) Does Growl for Mac's implementation of GNTP support file:/// URL's? If not, can it be made to do so?
2) Is there some other simple method I can use to provide Growl with the path name to the icon files? (I know I could probably use an http URL to the user's local machine, but having the user set up a web server on their machine seems like overkill and unnecessarily complex.)
3) Is there some other way to pre-populate on the user's machine the Growl icons I want to use?
4) Is there a log file I can check somewhere that might tell me what Growl is doing with, or rejecting, the file:/// URL?