Ejemplo n.º 1
0
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()
Ejemplo n.º 2
0
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.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()
Ejemplo n.º 3
0
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)
Ejemplo n.º 4
0
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)