-
Notifications
You must be signed in to change notification settings - Fork 478
Closed
Description
Expected behaviour:
Slack notifications for movie downloads using attachments should appear, as they did with Python 2, like in the picture linked below:
Actual behaviour:
Notifications appear like the one in the picture linked below:
Steps to reproduce:
Download any movies while having Slack notifications with attachments.
Config:
Relevant part of the configuration:
notify:
entries:
via:
- slack:
web_hook_url: '{? slack.webhook ?}'
message: "{{ imdb_name }}"
icon_emoji: movie_camera
attachments:
- title: "{{ imdb_name }} ({{ imdb_year }})"
image_url: "{{ tmdb_posters | first }}" # better quality
title_link: "{{ imdb_url }}"
fallback: "{{ imdb_name }} ({{ imdb_year }})"
text: "{{ imdb_plot_outline }}"
color: "#e67e22"
footer: "{{ task }}"
footer_icon: "https://avatars2.githubusercontent.com/u/17483320?s=400&v=4"
fields:
- title: Runtime
value: "{{ tmdb_runtime }} mins"
short: true
- title: Score
value: "{{ imdb_score }}"
short: true
- title: Genres
value: "{{ imdb_genres | join(', ') | title }}"
short: true
- title: Rating
value: "{{ imdb_mpaa_rating }}"
short: true
- title: Cast
value: >
{% for key, value in imdb_actors.iteritems() %}{{value}}{% if not loop.last %}, {% endif %}
{% endfor %}
short: false
Log:
(click to expand)
2019-06-02 06:34 VERBOSE task upgrade_movies ACCEPTED: `Captain Marvel 2019 1080p BluRay DTS x264-Du ` by upgrade plugin because upgraded quality
2019-06-02 06:34 VERBOSE api_trakt upgrade_movies Received 198 records from trakt.tv for user XXXX from endpoint watched/movies
2019-06-02 06:34 INFO download upgrade_movies Downloading: Captain Marvel 2019 1080p BluRay DTS x264-Du
2019-06-02 06:34 VERBOSE details upgrade_movies Summary - Accepted: 1 (Rejected: 0 Undecided: 0 Failed: 0)
2019-06-02 06:34 INFO rtorrent upgrade_movies Captain Marvel 2019 1080p BluRay DTS x264-Du added to rtorrent
2019-06-02 06:34 ERROR notify upgrade_movies Error rendering slack plugin config field attachments/0/fields/2/value: (TypeError) 'NoneType' object is not iterable
2019-06-02 06:34 VERBOSE notify upgrade_movies Successfully sent a notification to `slack`
Additional information:
- FlexGet version: 2.21.1
- Python version: 3.7.3
- Installation method: pip
- Using daemon (yes/no): yes
- OS and version: Ubuntu 19.04
Metadata
Metadata
Assignees
Labels
No labels