Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Help with irc_bot configuration

$
0
0

Hi! I’m struggling with the irc_bot config since a couple of days, can’t figure out why the following config is not downloading anything that matches the regexp:

irc:
  torrentsite:
    tracker_file: 'xxxx.tracker'
    nickname: 'xxxx' 
    nickserv_password: 'xxxx'
    port: 6667
    rsskey: 'xxxxx'
    task_re:
      - task: get_entry
        patterns:
          - regexp: .*Nintendo.*Switch.*
            field: irc_category
      - task: get_anime
        patterns:
          - regexp: .*HorribleSubs.*1080p.*
            field: irc_torrentname
    channels: ["xxxxxxx"]

templates:
  global:
    qbittorrent:
      host: localhost
      port: 8083
      username: "xxxxx"
      password: "xxxxxx"
  switch:
    qbittorrent:
      label: switch-release
    notify:
      entries:
        message: |+
          {% if irc_torrentname is defined -%}
          Nuovo download: {{irc_torrentname}}
          {%endif%}
        via:
          - telegram:
              bot_token: "xxxxxxxx"
              parse_mode: markdown
              recipients:
                - group: xxxxxx
  anime:
    qbittorrent:
      path: /mnt/downloads/qbittorrent/{{irc_torrentname}}
      label: anime-release
    notify:
      entries:
        message: |+
          {% if irc_torrentname is defined -%}
          Nuovo download: {{irc_torrentname}}
          {%endif%}
        via:
          - telegram:
              bot_token: "xxxxxxxxxxxxxxxxxxx"
              parse_mode: markdown
              recipients:
                - group: xxxxxxxxxxxxxx

tasks:
  get_entry:  
    accept_all: yes
    template: switch
  get_anime:  
    accept_all: yes
    template: anime

Also tried using ‘manual: yes’ but to no avail, IRC logs seem to be parsed correctly but it just won’t go past the “injecting 1 entry into task …” message

Any help is really appreciated :slight_smile:

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles