@Minaru wrote:
Hi,
There is a problem i've been hitting my head on since quite a while when trying to setup notify (discord+tvmaze), which seems to be related to season_pack matching.
The episode name is [HorribleSubs] Mob Psycho 100 S2 - 01 [1080p]. As it can be noticed, the format of season+episode is "S2 - 01", which can be matched by the following regexp: S(\d) - (\d\d).
Related log:
2019-01-10 12:17 VERBOSE details mob_psycho_100_s2 Produced 1 entries.
2019-01-10 12:17 VERBOSE task mob_psycho_100_s2 REJECTED:[HorribleSubs] Mob Psycho 100 S2 - 01 [1080p].mkv
by series plugin because season pack support is turned off
2019-01-10 12:17 VERBOSE details mob_psycho_100_s2 Summary - Accepted: 0 (Rejected: 1 Undecided: 0 Failed: 0)Config file:
templates:
anime:
tvmaze_lookup: yes
deluge:
host: localhost
port: 58846
username: minaru
password: **********
notify:
entries:
message: "{{series_name}} - {{series_id}}"
what: accepted
via:
- discord:
web_hook_url: https://discordapp.com/api/webhooks/***************************
username: Deluge-bot
embeds:
- title: "{{series_name}}"
description: "{{tvmaze_series_summary|default('Unknown')}}"
url: "{{tvmaze_series_url|default('https://flexget.com')}}"
color: 0xe67e22
author:
name: "Flexget"
url: "https://flexget.com"
icon_url: "https://i.imgur.com/R66g1Pe.jpg"
fields:
- name: "Episode Name:"
value: "{{tvmaze_episode_name|default('Unknown')}}"
inline: True
- name: "Score"
value: "{{tvmaze_series_rating|default('Unknown')}}"
inline: True
thumbnail:
url: "{{tvdb_ep_image|default('https://i.imgflip.com/j69nf.jpg')}}"
image:
url: "{{tvmaze_series_original_image|default('https://i.imgflip.com/j69nf.jpg')}}"tasks:
mob_psycho_100_s2:
template: anime
inputs:
- rss:
url: https://nyaa.si/?page=rss&q=HorribleSubs+Mob+Psycho+1080p+S2+-batch&c=0_0&f=0
all_entries: no
series:
- Mob Psycho 100
deluge:
movedone: "/mnt/Media/Videos/Anime/Mob Psycho 100/Season 2/"
label: "mob_psycho_100"Usually to get it to work, i'd simply either turn season_packs on, or add "S2" to the name of the serie in the series plugin
The thing here is that i'd like to make the notify plugin work, and i really need to:
1. Match the serie name on tvmaze, which is "Mob Psycho 100", so i can't add "S2" to it
2. Match properly season/episode so tvmaze lookup works, so just considering those as "season packs" won't doI tried:
- To use the disable plugin to disable "season_packs" => still getting season pack error (seems normal since "season_packs" isn't a plugin, still weird that flexget check doesn't yell at me for that
- To use identified_by: ep => still getting season pack error
- To use ep_regexp: S(\d) - (\d\d) => still getting season pack error
- Combinations of the 3 previous points => still getting season pack error
It seems like the season pack matching takes precedence on everything i tried so far, and i can't find how to bypass/disable it.
Is there something i'm missing in my config file to make it work the way i want it to ? Something that could let me add custom S/Ep regexes which would be parsed before season packs detection ?
Posts: 1
Participants: 1