Hello,
I created an issue but with the wrong log file and the problem is still here...
github.com/Flexget/Flexget/issues/2399
I'd like to create my own notification on slack from any list.
As you will see in logs, the message POSTed as text is not what I defined in the config file.
Please help me.
Here my config file
test-notif:
entry_list: downloaded_shows
accept_all: yes
disable: seen
notify:
entries:
via:
- slack:
web_hook_url: https://hooks.slack.com/services/XXX/YYY/ZZZ
# message: "{{series_name}} S{{series_season}}E{{series_episode}} a été téléchargé"
message: "toto"
And here my debug logs
$ flexget --loglevel debug execute --task test-notif
2019-05-28 17:27 DEBUG manager Figuring out config load paths
2019-05-28 17:27 DEBUG manager Found config: /root/.config/flexget/config.yml
2019-05-28 17:27 DEBUG manager Config file /root/.config/flexget/config.yml selected
2019-05-28 17:27 DEBUG manager sys.defaultencoding: ascii
2019-05-28 17:27 DEBUG manager sys.getfilesystemencoding: UTF-8
2019-05-28 17:27 DEBUG manager flexget detected io encoding: utf-8
2019-05-28 17:27 DEBUG manager os.path.supports_unicode_filenames: False
There is a FlexGet process already running for this config, sending execution there.
2019-05-28 17:27 DEBUG manager Sending command to running FlexGet process: [u'--loglevel', u'debug', u'execute', u'--task', u'test-notif']
2019-05-28 17:27 DEBUG cron_env Encoding UTF-8 stored
2019-05-28 17:27 DEBUG util.simple_persistence setting key terminal_encoding value 'UTF-8'
2019-05-28 17:27 DEBUG task test-notif executing test-notif
2019-05-28 17:27 DEBUG disable test-notif Disabled built-in plugin(s): seen
2019-05-28 17:27 DEBUG entry_list.db test-notif returning <Entry(title=The.Big.Bang.Theory.S12E21.HDTV.x264-LucidTV,state=undecided)>
2019-05-28 17:27 DEBUG entry_list.db test-notif returning <Entry(title=Arrow.S07E19.HDTV.x264-SVA,state=undecided)>
2019-05-28 17:27 DEBUG entry_list.db test-notif returning <Entry(title=Marvels.The.Punisher.S02E02.web.x264-strife,state=undecided)>
2019-05-28 17:27 DEBUG entry_list.db test-notif returning <Entry(title=DCs.Legends.of.Tomorrow.S04E09.Lucha.de.Apuestas.720p.NF.WEB-DL.DD+5.1.x264-QOQ,state=undecided)>
2019-05-28 17:27 DEBUG backlog.db test-notif 0 entries purged from backlog
2019-05-28 17:27 VERBOSE details test-notif Produced 4 entries.
2019-05-28 17:27 DEBUG metainfo_quality test-notif Quality is already set to hdtv h264 for The.Big.Bang.Theory.S12E21.HDTV.x264-LucidTV, but has not been instantiated properly.
2019-05-28 17:27 DEBUG metainfo_quality test-notif Quality is already set to hdtv h264 for Arrow.S07E19.HDTV.x264-SVA, but has not been instantiated properly.
2019-05-28 17:27 DEBUG metainfo_quality test-notif Quality is already set to webdl h264 for Marvels.The.Punisher.S02E02.web.x264-strife, but has not been instantiated properly.
2019-05-28 17:27 DEBUG metainfo_quality test-notif Quality is already set to 720p webdl h264 dd+5.1 for DCs.Legends.of.Tomorrow.S04E09.Lucha.de.Apuestas.720p.NF.WEB-DL.DD+5.1.x264-QOQ, but has not been instantiated properly.
2019-05-28 17:27 VERBOSE task test-notif ACCEPTED: `The.Big.Bang.Theory.S12E21.HDTV.x264-LucidTV` by accept_all plugin
2019-05-28 17:27 VERBOSE task test-notif ACCEPTED: `Arrow.S07E19.HDTV.x264-SVA` by accept_all plugin
2019-05-28 17:27 VERBOSE task test-notif ACCEPTED: `Marvels.The.Punisher.S02E02.web.x264-strife` by accept_all plugin
2019-05-28 17:27 VERBOSE task test-notif ACCEPTED: `DCs.Legends.of.Tomorrow.S04E09.Lucha.de.Apuestas.720p.NF.WEB-DL.DD+5.1.x264-QOQ` by accept_all plugin
2019-05-28 17:27 DEBUG urlrewriter test-notif Checking 4 entries
2019-05-28 17:27 VERBOSE details test-notif Summary - Accepted: 4 (Rejected: 0 Undecided: 0 Failed: 0)
2019-05-28 17:27 DEBUG notify test-notif Sending a notification to `slack`
2019-05-28 17:27 DEBUG utils.requests test-notif POSTing URL link:hooks.slack.com/services/XXX/YYY/ZZZ with args () and kwargs {'json': {u'username': u'Flexget', u'text': u'The.Big.Bang.Theory.S12E21.HDTV.x264-LucidTV', u'attachments': None, u'channel': None}, 'data': None, u'timeout': 30}
2019-05-28 17:27 VERBOSE notify test-notif Successfully sent a notification to `slack`
2019-05-28 17:27 DEBUG notify test-notif Sending a notification to `slack`
2019-05-28 17:27 DEBUG utils.requests test-notif POSTing URL link:hooks.slack.com/services/XXX/YYY/ZZZ with args () and kwargs {'json': {u'username': u'Flexget', u'text': u'Arrow.S07E19.HDTV.x264-SVA', u'attachments': None, u'channel': None}, 'data': None, u'timeout': 30}
2019-05-28 17:27 VERBOSE notify test-notif Successfully sent a notification to `slack`
2019-05-28 17:27 DEBUG notify test-notif Sending a notification to `slack`
2019-05-28 17:27 DEBUG utils.requests test-notif POSTing URL link:hooks.slack.com/services/XXX/YYY/ZZZ with args () and kwargs {'json': {u'username': u'Flexget', u'text': u'Marvels.The.Punisher.S02E02.web.x264-strife', u'attachments': None, u'channel': None}, 'data': None, u'timeout': 30}
2019-05-28 17:27 VERBOSE notify test-notif Successfully sent a notification to `slack`
2019-05-28 17:27 DEBUG notify test-notif Sending a notification to `slack`
2019-05-28 17:27 DEBUG utils.requests test-notif POSTing URL link:hooks.slack.com/services/XXX/YYY/ZZZ with args () and kwargs {'json': {u'username': u'Flexget', u'text': u'DCs.Legends.of.Tomorrow.S04E09.Lucha.de.Apuestas.720p.NF.WEB-DL.DD+5.1.x264-QOQ', u'attachments': None, u'channel': None}, 'data': None, u'timeout': 30}
2019-05-28 17:27 VERBOSE notify test-notif Successfully sent a notification to `slack`
2019-05-28 17:27 DEBUG disable test-notif Re-enabled builtin plugin(s): seen
2019-05-28 17:27 DEBUG util.simple_persistence test-notif Flushing simple persistence for task test-notif to db.
2019-05-28 17:27 DEBUG util.simple_persistence test-notif Flushing simple persistence for task None to db.
EDIT/ I have to remove links from my logs (using "link:" instead of the actual "https://"