Quantcast
Channel: configuration - Forum - FlexGet
Viewing all articles
Browse latest Browse all 716

Telegram only showing "Notification body."

$
0
0

@Alexander_Berg wrote:

Not sure where I did a mistake. Everything was working. Then I bought a new machine, copied the config.

Everything works, and no errors in log. But telegram notifies me with "Notification body." instead of naming the actual series which is being downloaded.

My config file

tasks:
  tv:
    rss:
      url: xx
    configure_series:
      from:
        trakt_list:
          username: xx
          list: series
          type: shows
      settings:
        quality: 720p+
    download:
      path: D:\torrents
      overwrite: yes
    qbittorrent:
      path: D:\Download
      label: tv
      host: localhost
      port: 8080
    series_premiere: yes

    notify:
      entries:
        title: 'flexget  {{task}}'
        message: |+
          {%endif%}
          {% if series_name is defined -%}
          *{{series_name}}* - {{series_id}} - {{quality|d('')}}
          *{{tvmaze_episode_name|d(tvdb_ep_name)|d('')}}*
          [Image]({{tvmaze_series_original_image|replace("_", "%5F")}})
          [Show page]({{tvmaze_series_url|replace("_", "%5F")}})
          {% elif imdb_name is defined -%}
          *{{imdb_name}}* - ({{imdb_year}})
          {{quality|d('')}}
          {{imdb_score}}/10 - {{imdb_votes}} votes
          {{imdb_genres|join(', ')|title}}
          *Plot:* {{imdb_plot_outline}}
          [Image]({{tmdb_posters[0]|replace("_", "%5F")}})
          [Movie Page]({{imdb_url|d('')}})
          {% else -%}
          {{title}}
          {%- endif -%}
        via:
          - telegram:
              bot_token: xx
              parse_mode: markdown
              recipients:
                - username: xx
  get-subtitles:
    filesystem:
      path:
        - D:\Media\TV Shows
        - D:\Media\Movies
      regexp: '.*\.(avi|mkv|mp4)$'
      recursive: yes
    accept_all: yes
    seen: local
    subliminal:
      languages:
        - nor
      alternatives:
        - eng
      exact_match: yes
      providers: [addic7ed, opensubtitles, tvsubtitles]
      single: no
      hearing_impaired: yes
      authentication:
        addic7ed:
          username: xx
          password: xx
        opensubtitles:
          username:xx
          password:xx
schedules:
  - tasks: tv
    schedule:
      hour: 05-10
      minute: "*/15"
  - tasks: get-subtitles
    interval:
      days: 1

I've tried to change the telegram plugin, but it remains the same.

I used to have

    notify:
      entries:
        message: Notification body.
        via:
          - telegram:
              bot_token: xx
              parse_mode: markdown
              recipients:
                - username:xx

before I change to change it. But no matter what I changed, it only sends me "Notification body."

Does anyone have an idea? Am I being really stupid and missing something?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles