flexget.components.notify.notifiers.bark module#

class flexget.components.notify.notifiers.bark.BarkNotifier[source]#

Bases: object

Send notification to Bark.

Example:

notify:
  entries:
  title: |
        {{task}}
  message: |
        {% if series_name is defined %}{{series_name}}{% if series_id is defined %} - {{series_id}}{% endif %}{% if trakt_ep_name is defined %} - {{trakt_ep_name}}{% endif %}
        {% elif imdb_name is defined%}{{movie_name}}
        {% else %}{{title}}
        {% endif %}
    via:
      webpost:
        server: <string>
        device_key: <string>
        [level: <string>]
        [badge: <integer>]
        [automatically_copy: <boolean>]
        [copy: <string>]
        [sound: <string>]
        [icon: <string>]
        [group: <string>]
        [is_archive: <boolean>]
        [url: <string>]

# Finb/bark-server

notify(title, message, config)[source]#

Send notification to Bark.

prepare_config(config)[source]#
schema = {'additionalProperties': False, 'properties': {'automatically_copy': {'type': 'boolean'}, 'badge': {'type': 'integer'}, 'copy': {'type': 'string'}, 'device_key': {'type': 'string'}, 'group': {'type': 'string'}, 'icon': {'type': 'string'}, 'is_archive': {'type': 'boolean'}, 'level': {'enum': ['active', 'timeSensitive', 'passive'], 'type': 'string'}, 'server': {'type': 'string'}, 'sound': {'type': 'string'}, 'url': {'type': 'string'}}, 'required': ['server', 'device_key'], 'type': 'object'}#
flexget.components.notify.notifiers.bark.register_plugin()[source]#