def notify(lang, releasename, website): if autosub.NOTIFYTWITTER: log.debug("Twitter is enabled") twitter.send_notify(lang, releasename, website) if autosub.NOTIFYMAIL: log.debug("Mail is enabled") mail.send_notify(lang, releasename, website) if autosub.NOTIFYNMA: log.debug("Notify My Android is enabled") nma.send_notify(lang, releasename, website) if autosub.NOTIFYGROWL: log.debug("Growl is enabled") growl.send_notify(lang, releasename, website) if autosub.NOTIFYPROWL: log.debug("Prowl is enabled") prowl.send_notify(lang, releasename, website) if autosub.NOTIFYTELEGRAM: log.debug("Telegram is enabled") telegram.send_notify(lang, releasename, website) if autosub.NOTIFYPUSHALOT: log.debug("Pushalot is enabled") pushalot.send_notify(lang, releasename, website) if autosub.NOTIFYPUSHBULLET: log.debug("Pushbullet is enabled") pushbullet.send_notify(lang, releasename, website) if autosub.NOTIFYPUSHOVER: log.debug("Pushover is enabled") pushover.send_notify(lang, releasename, website) if autosub.NOTIFYBOXCAR2: log.debug("Boxcar2 is enabled") boxcar2.send_notify(lang, releasename, website) if autosub.NOTIFYPLEX: log.debug("Plex Media Server is enabled") plexmediaserver.send_update_library() if autosub.NOTIFYKODI: log.debug("Kodi Media Server is enabled") if not (autosub.SEARCHBUSY and autosub.KODIUPDATEONCE): kodimediaserver.send_update_library()
def notifySend(lang, subtitlefile, videofile, website): if autosub.NOTIFYTWITTER: log.debug("Notification: Twitter is enabled") twitter.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYMAIL: log.debug("Notification: Mail is enabled") mail.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYNMA: log.debug("Notification: Notify My Android is enabled") nma.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYGROWL: log.debug("Notification: Growl is enabled") growl.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYPROWL: log.debug("Notification: Prowl is enabled") prowl.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYTELEGRAM: log.debug("Notification: Telegram is enabled") telegram.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYPUSHALOT: log.debug("Notification: Pushalot is enabled") pushalot.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYPUSHBULLET: log.debug("Notification: Pushbullet is enabled") pushbullet.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYPUSHOVER: log.debug("Notification: Pushover is enabled") pushover.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYBOXCAR2: log.debug("Notification: Boxcar2 is enabled") boxcar2.send_notify(lang, subtitlefile, videofile, website) if autosub.NOTIFYPLEX: log.debug("Notification: Plex Media Server is enabled") plexmediaserver.send_update_library()
def notifySend(lang, subtitlefile, videofile): if autosub.NOTIFYTWITTER: log.debug("Notify: Twitter is enabled") twitter.send_notify(lang, subtitlefile, videofile) if autosub.NOTIFYMAIL: log.debug("Notify: Mail is enabled") mail.send_notify(lang, subtitlefile, videofile) if autosub.NOTIFYNMA: log.debug("Notify: NMA is enabled") nma.send_notify(lang, subtitlefile, videofile) if autosub.NOTIFYGROWL: log.debug("Notify: Growl is enabled") growl.send_notify(lang, subtitlefile, videofile) if autosub.NOTIFYPROWL: log.debug("Notify: Prowl is enabled") prowl.send_notify(lang, subtitlefile, videofile) if autosub.NOTIFYPUSHALOT: log.debug("Notify: Pushalot is enabled") pushalot.send_notify(lang, subtitlefile, videofile)