Page 1 of 1

Customize Pushbullet Notification

Posted: 17 Jun 2014, 02:10
by KreAch3R
Hello again,

I tried searching but couldn't find anything. Is there any way of customizing the pushbullet notification type and content? Pushbullet supports multiple types of notifications, not only "File" which is used as of right now, to send the .html report.
Could we specify that we want to use the "note" type, and customize the format of the notification?

e.g The Pushbullet file notification "Game.of.Thrones.S04E10.720p.HDTV.x264-KILLERS.html" would become a note with a Title: "Game Of Thrones", and message: "4x10, The Children"

Image

... or anything else another user wants.

If this is not possible right now, could it be possible to "hack" it into the amc groovy script for my own use? I tried taking a look at it, but couldn't figure out how Pushbullet knows you want to send a file, unless you have hardcoded it. Where can I find more information on this function?:

Code: Select all

PushBullet(pushbullet).sendHtml(getReportTitle(), getReportMessage())
Thanks for any answers :)

Re: Customize Pushbullet Notification

Posted: 17 Jun 2014, 03:22
by rednoah
The amc script includes the web script that implements PushBullet support. It's pretty easy, but you will need to run amc and dependencies locally and modify web.groovy

@see https://github.com/filebot/scripts/blob ... web.groovy

The PushOver integration only sends simplified messages since it has limited support. PushBullet is much better since I can send anything and without any stupid length limits.

Re: Customize Pushbullet Notification

Posted: 17 Jun 2014, 13:38
by KreAch3R
Ok, I 'll check web.groovy. :) There aren't any plans to incorporate such a customization option, aren't they?

Re: Customize Pushbullet Notification

Posted: 17 Jun 2014, 17:20
by rednoah
Just use PushOver for simple notifications and PushBullet for full reports. ;)

Re: Customize Pushbullet Notification

Posted: 17 Jun 2014, 19:27
by KreAch3R
I just like elegant solutions, and using as few apps as possible. You are right though, it doesn't seem to worth the hussle. Thank you rednoah!