Growl Notification Plug-In does not work anymore

Antwort erstellen


Diese Frage dient dazu, das automatisierte Versenden von Formularen durch Spam-Bots zu verhindern.

BBCode ist eingeschaltet
[img] ist eingeschaltet
[url] ist eingeschaltet
Smileys sind ausgeschaltet

Die letzten Beiträge des Themas

Ich habe die Datenschutzerklärung gelesen und bin damit einverstanden.

   

Ansicht erweitern Die letzten Beiträge des Themas: Growl Notification Plug-In does not work anymore

Re: Growl Notification Plug-In does not work anymore

von Marc » 21 Aug 2012, 20:13

Jup, I searched for plugin updates and installed the new version. It is still working. Btw. meanwhile I'm able to build the plugins too.

Re: Growl Notification Plug-In does not work anymore

von ds10 » 21 Aug 2012, 19:38

I've uploaded the new version to the plugin site, also for download in TV-Browser.

Re: Growl Notification Plug-In does not work anymore

von Marc » 21 Aug 2012, 19:27

Thanks alot, it is working now so please update the plugin. I used Maven, I did what was described in the Wiki but I will retry it again.

Re: Growl Notification Plug-In does not work anymore

von ds10 » 21 Aug 2012, 00:48

How did you added the plugin source code?
You should use Maven to import the plugin into Eclipse. If you use Maven you shouldn't have problems with missing packages.

In your configuration the plugin is at least missing the jgoodies-forms-1.4.2.jar in the Java Build Path.

I've added id after tell application, same URL to download as last time.

Re: Growl Notification Plug-In does not work anymore

von Marc » 21 Aug 2012, 00:33

HI ds10,

Well I'm able to compile and run the TV-Browser, but I'm still not able to compile the plugin. I added the plugins source code and classpath to the run configuration but something is still missing, so the plugin crashes on start:
java.lang.Error: Unresolved compilation problems:
The type com.jgoodies.forms.layout.FormLayout cannot be resolved. It is indirectly referenced from required .class files
The type com.jgoodies.forms.builder.PanelBuilder cannot be resolved. It is indirectly referenced from required .class files
The import com.jgoodies.forms.factories.FormFactory cannot be resolved
FormFactory cannot be resolved
FormFactory cannot be resolved
FormFactory cannot be resolved
...

Is there any description of how to compile a plugin eg. like the one for the main program?

Anyway I then tried to load the plugin you provided and checked what happens. According to the output there is the keyword "id" missing after tell application:

00:28:32 INFO: Applescript start:
00:28:32 INFO: tell application :?: "com.Growl.GrowlHelperApp"
set the allNotificationsList to {"TVBrowserSendProgram"}
register as application "TV-Browser" all notifications allNotificationsList default notifications allNotificationsList icon of application "TV-Browser"
notify with name "TVBrowserSendProgram" title "14:45 Die Waltons" description "Channel 1 Die Verfilmung der Kindheits- und Jugenderinnerungen des Romanschriftstellers Earl Hamner jr." application name "TV-Browser"
end tell

Could you please have a look?

Thanks,
Marc

Re: Growl Notification Plug-In does not work anymore

von Marc » 20 Aug 2012, 20:46

Thanks alot. Sadly it is still not working so it looks like I need to setup an eclipse project and try to debug it.

Re: Growl Notification Plug-In does not work anymore

von ds10 » 20 Aug 2012, 10:10

Re: Growl Notification Plug-In does not work anymore

von Marc » 20 Aug 2012, 00:00

As I found no easy way to build a plugin via the command line here is what I found out (is it really necessary to set up an environment for building the whole TV browser to do so?). It looks like the apple script for sending growl notification is out of date. I checked the interface description on the growl website and found that the interface changed slightly. I think replacing:

final String script = "tell application \"GrowlHelperApp\"\n"
to
final String script = "tell application id \"com.Growl.GrowlHelperApp\"\n"

in GrowlContainer.java should solve the issue. At least the apple script was working after this change again and notifications were send via the script. Maybe someone can create a new plugin version with the change above for tests.

Thanks,
Marc

OSX Mountin Lion: notification center instead of Growl

von Marc » 16 Aug 2012, 21:02

After getting Mountain Lion I wanted to use the notification center instead of Growl. As Hiss (which forwards Growl Notifications to the NC) does not support the growlnotifier app, I searched and found terminal-notifer as replacement. This time I was able to use the reminder plugin directly, so here is a step-by-step description of what I did:

1) Download the terminal-notifier terinmal program.
2) Extract it and copy the terminal-notifier.app to any location you want. I used:
/Applications/Utilities/terminal-notifier.app
3) Open TV-browser->Settings->Plugins->Reminders
4) Mark run applications and then push configure
5) Provide the path to the executeable, mine was:
/Applications/Utilities/terminal-notifier.app/Contents/MacOS/terminal-notifier
6) Provide the params, I selected channel, title and description:
-title "{channel_name} - {title}" -message "{short_info}"

The reminders are now send to the NC. So far I was not able to run the TV-Browser after clicking on a reminder, as the parameter -activate com.apple.org.tvbrowser had no effect (error:Can't find app with identifier com.apple.org.tvbrowser). Maybe someone can help out here. In addition the reporting program is always terminal-notifier at the moment.

Have fun!

Re: Growl Notification Plug-In does not work anymore

von Marc » 26 Jul 2012, 15:42

Thanks!

One additional hint regarding the SwitchPlugin. You have to disable the popup asking if the external program should be started, it is located under the misc tab of the plugin.

Re: Growl Notification Plug-In does not work anymore

von ds10 » 26 Jul 2012, 02:43

Re: Growl Notification Plug-In does not work anymore

von Marc » 26 Jul 2012, 02:09

Hi,

I had the same issue and tried what Bob suggested. It was not working properly as the notifications were only shown after closing the TV-Browser app. Anyway I used the switch plugin and got the same result. Here is what I did (OSX 10.8):

1) Install growlnotify from the growl website (it is an extra program in addition to growl),
2) Configure the reminder plugin to call the SwitchPlugin.
3) Configure the growlnotify path in switch plugin, mine was "/usr/local/bin/growlnotify" (without ""), if it differs try to find your path by calling "which growlnotify" on terminal.
4) Configure the parameters in switch plugin. I had some problems as the first word is written in a new line, I therefore I provided "-m TV-Browser {channel_name} - {title}" as parameters (without "").

I would like to see the plugins source code but I could not find it here, where is it located?

Thanks+have fun!

Re: Growl Notification Plug-In does not work anymore

von jdonato » 10 Feb 2012, 14:37

Bob.Tail2 hat geschrieben:SOLVED (kind of)!

Turned out that you can simply use "Run Application" and then configure GrowlNotify to send the reminder...

Cheers
Bob
Hi Bob
I would also like to know how you did it. Maybe a step by step?
Thanks!

Re: Growl Notification Plug-In does not work anymore

von gast123 » 05 Dez 2011, 04:02

[quote="Bob.Tail2"]SOLVED (kind of)!

Turned out that you can simply use "Run Application" and then configure GrowlNotify to send the reminder...


Cheers
Bob[/quote]
hm. can you explain more exactly? thank you.

Re: Growl Notification Plug-In does not work anymore

von Jo » 11 Nov 2011, 17:59

Fine that there is at least a work around. Thanks!

Nach oben