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

Codec=unknown for 10bit video

$
0
0

@luizoti wrote:

Hello,
I have a feed that releases episodes of anime in 10bit, basically the epsodios are released in 8bit and a few hours later in 10bit.

I created a task with 'manipulate', exclusively to be able to catch these eps when they are released and the goal is that they replace the previous ones in lower quality.

But by no means can I make the flexget recognize in 10bit codec (for the purpose of making it identify that the file is in better quality).

I imagine that for flexget to identify the best quality would have to identify the codec at this time:

- process_propers -->
2019-05-06 19:32 DEBUG    flexget.components.series.series ANIMES2         propers - downloaded qualities: {<Quality(resolution=1080p,source=unknown,codec=unknown,audio=unknown)>: 0}
2019-05-06 19:32 VERBOSE  task          ANIMES2         REJECTED: `Pastel Memories - S01E01 - 1080p 10bit` by series plugin because entity has already been downloaded
2019-05-06 19:32 VERBOSE  task          ANIMES2         REJECTED: `Pastel Memories - S01E01 - 720p 10bit` by series plugin because entity has already been downloaded
2019-05-06 19:32 DEBUG    flexget.components.series.series ANIMES2         start with entities: [u'One Punch Man (2019) - S01E02 - 1080p 10bit', u'One Punch Man (2019) - S01E02 - 720p 10bit']
2019-05-06 19:32 DEBUG    flexget.components.series.series ANIMES2         current entities: [u'One Punch Man (2019) - S01E02 - 1080p 10bit', u'One Punch Man (2019) - S01E02 - 720p 10bit']

config:

  ANIMES2:
    priority: 1
    metainfo_series: yes
    manipulate:
      - title:
          # [Erai-raws] Shingeki no Kyojin Season 3 - 12 [1080p][AVC-YUV444P10][Multiple Subtitle].mkv
          # [Erai-raws] Shingeki no Kyojin Season 3 - 12 END [1080p][AVC-YUV444P10][Multiple Subtitle].mkv
          extract: '(?:\[.+?\]) (.+?) (?:Season) (\d+) - (\d+)(?:.*) \[((?:1080|720|480)p)\]\[AVC-YUV444P(10)\]'
      - title:    
          replace:            
            regexp: '(.*) (\d+) (\d*\w*) (\d+) (\d+)'
            format: '\1 - S0\2E\3 - \4 \5bit'
      - title:
          # [Erai-raws] Pastel Memories - 02 [1080p AVC-YUV444P10].mkv
          extract: '\[(?:.+)?\] (.+?) - (\d+)(?:.*) \[((?:1080|720|480)p)\ (?:AVC-YUV444P)(10)\]'
      - title:    
          replace:            
            regexp: '(.*) (\d+) (\d*\w*) (.*)'
            format: '\1 - S01E\2 - \3 \4bit'
    regexp:
      reject:
        - 'Lupin'
        - 'Movie'        
        - 'Special'        
    template:
      - ANIMES
      - push1

Posts: 1

Participants: 1

Read full topic


Prioritize Anime Shows and Seasons?

$
0
0

@luls wrote:

How would I configure Flexget to prioritize an entire show, if not, download season by season, and if the season isn't complete, download individual episode?

site: nyaa.si
type: english translated anime
group: bonkai77 (all his releases are 1080 and HEVC)
quality: 1080p HEVC/x265
order by: seeders desc

Some ways of finding entire shows are by searching "[name]", "[name] batch", or "[name] [start episode] - [end episode]", for example:
"hunter x hunter 01-148" query will find the entire show.

Also, some seasons are not called S01 and S02, but instead Code Geass R1 and Code Geass R2, I'd like my script to understand this.

This is my current configuration:

tasks:
  anime task:
    quality:
      - 1080p+

    qbittorrent:
      label: anime
      host: localhost
      port: 9090

    discover:
      what:
        - next_series_seasons:
            from_start: yes
            backfill: yes
      from:
        - nyaa:
            category: anime eng
            filter: all
    series:
      settings:
        shows:
          identified_by: ep
          tracking: backfill
          season_packs: yes
      shows:
        - Samurai Champloo
    download: 'E:\Anime\Flexget\{{ series_name }}'

    sort_by:
      field: torrent_seeds
      reverse: yes

Posts: 2

Participants: 1

Read full topic

Set proper notification message in Slack

$
0
0

@BHMath wrote:

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://"

Posts: 1

Participants: 1

Read full topic

[WEB-UI] No UI showing up in Edge and Chrome

$
0
0

@strikepredator wrote:

My web ui is not showing up. I tried localhost:3539; localhost:3539; 10.117.224.3:3539/foo; localhost:3539/foo; localhost:3539/foo

I'm not even sure if Flexget is actually running in the background.
C:\Windows\system32>flexget daemon stop
2019-05-28 22:36 ERROR manager There does not appear to be a daemon running.

Also changing the port didn't help. Don't know why the daemon isn't running when I run cmd with admin rights.

Config looks like this:
web_server:
bind: 0.0.0.0
port: 3539
ssl_certificate: '/etc/ssl/private/myCert.pem'
ssl_private_key: '/etc/ssl/private/myKey.key'
web_ui: yes
base_url: /foo
run_v2: yes

Start command output:
C:\Windows\system32>flexget daemon start --daemonize
2019-05-28 22:23 ERROR manager Cannot daemonize on windows
2019-05-28 22:23 INFO web_server_daemon Running web server at IP 0.0.0.0:3539
2019-05-28 22:23 INFO web_server_daemon Initiating API
2019-05-28 22:23 INFO web_server_daemon Registering WebUI v2
2019-05-28 22:23 INFO web_server_daemon Registering WebUI v1
2019-05-28 22:23 INFO web_server Web interface available at https://10.117.224.3:3539/foo
2019-05-28 22:23 INFO scheduler No schedules defined in config. Defaulting to run all tasks on a 1 hour interval.
2019-05-28 22:23 INFO scheduler Starting scheduler

Any help would be really appreciated!

Posts: 1

Participants: 1

Read full topic

How do I call a sub-page from the main page?

$
0
0

@quekky wrote:

There are some sites that have the links deep inside the site. After calling the main page, I get a list of pages that contain the links. How do I crawl the 2nd page?

I tried this but it give me error "unknown url type: '{{url}}'"

tasks:
  feed:
    rss: http://somewordpresssite.com/feed/
    accept_all: yes
    exec: echo "Got wordpress page {{title}} - {{url}}"
    template: crawlpage

templates:
  crawlpage:
    html: "{{url}}"
    regexp:
      accept:
        - sometext
      from: title
    exec:
      - echo "Got link {{title}} - {{url}}"
      - my_own_script.sh "{{url}}"

Another code I tried:

tasks:
  feed:
    html: https://somesite.com/
    accept_all: yes
    exec: echo "Got page {{title}} - {{url}}"
    list_add:
      - entry_list: pages

  crawlpage:
    entry_list: pages
    html: "{{url}}"
    regexp:
      accept:
        - sometext
      from: title
    exec:
      - echo "Got link {{title}} - {{url}}"
      - my_own_script.sh "{{url}}"

There are a few of sites that I want to process that is something similar.
Some sites have 3 or 4 links deep

Posts: 2

Participants: 2

Read full topic

Configuration issue with email notify

$
0
0

@cah wrote:

Hi,

I'm a beginner Flexget user and was trying to add email notification when a task gets added.

My config looks like this:

tasks:
  task-a:
    rss: <rss link>
    accept_all: yes
    seen: local
    thetvdb_lookup: yes
    all_series:
      parse_only: yes
    transmission:
      host: localhost
      port: 9091
      username: transmission
      password: <password>
      path: <path>{{series_name}}/Season {{series_season}}
      add_paused: no

  notify:
    entries:
      template: html
        via:
          - email:
              from: <email address>
              to: <email address>
              smtp_host: smtp.gmail.com
              subject: Flexget task added
              smtp_port: 58
              smtp_username: <email address>
              smtp_password: <password>
              smtp_tls: yes
              html: yes

But I'm getting an error about a missing : on the 'via:' line, which makes no sense to me:

# flexget -V
2.21.2
You are on the latest release.

# flexget check
2019-05-31 11:26 WARNING  check                         Config line 19 is likely missing ':' at the end
2019-05-31 11:26 VERBOSE  check                         Pre-checked 30 configuration lines
2019-05-31 11:26 CRITICAL manager                       mapping values are not allowed here in "<unicode string>", line 20, column 12: via: ^

-------------------------------------------------------------------------------
 Malformed configuration file (check messages above). Common reasons:
-------------------------------------------------------------------------------

 o Indentation error
 o Missing : from end of the line
 o Non ASCII characters (use UTF8)
 o If text contains any of :[]{}% characters it must be single-quoted (eg. value{1} should be 'value{1}')

 Reason: mapping values are not allowed here

 ----> MOST LIKELY REASON: Missing : from end of the line!

 Check configuration near line 19, column 11

 Fault is almost always in this or previous line

2019-05-31 11:26 CRITICAL manager                       Failed to load config file: Config file is not valid YAML
Could not start manager: Config file is not valid YAML

I know I must be doing something stupid, but would appreciate help.

Thanks

Posts: 1

Participants: 1

Read full topic

Replace accent mark at tvdb name

$
0
0

@Vinanrra wrote:

Im trying to replace accent mark so i can search properly at my rss:

TVDB name: Cómo vender drogas online (a toda pastilla)
RSS title name: Como vender drogas online (a toda pastilla)

and i want to match this so it can matched, i tried this but isnt working

    manipulate:
      - title:
          replace:
            regexp: 'á'
            format: 'a'
      - title:
          replace:
            regexp: 'é'
            format: 'e'
      - title:
          replace:
            regexp: 'í'
            format: 'i'
      - title:
          replace:
            regexp: 'ó'
            format: 'o'
      - title:
          replace:
            regexp: 'ú'
            format: 'u'

Posts: 1

Participants: 1

Read full topic

exists_movie on both files and directories

$
0
0

@Jimmy wrote:

Hey guys,

My configuration looks like this:

tasks:
  Movies:
    metainfo_movie: yes
    imdb_lookup: yes
    tmdb_lookup: yes
    require_field:
      - imdb_id
      - imdb_score
      - imdb_votes
      - tmdb_released
    quality: 1080p bluray+ h264+ aac+
    if:
      - tmdb_released < now|to_date - timedelta(days=365): reject
    exists_movie:
      path:
        - /downloads/
      lookup: imdb
    best_quality:
      identified_by: "{{ imdb_id }}"
      on_best: do_nothing
      on_lower: reject
    imdb:
      min_score: 7.0
      min_votes: 20000

I'd only like to emphasize a problem with exists_movie, which seems to ignore the files inside the specified directory and only consider folders. This creates the unwanted behavior of downloading the same movie multiple times (different versions) on consecutive runs if it's not contained in a folder (for example a single file torrent).

Is there a way to change exists_movie to consider both files and directories? And if not, is there some workaround on this issue?

Thanks!

Posts: 1

Participants: 1

Read full topic


imdb_directors and imdb_actors fields are json encoded. How to get cleaner versions of the same data?

$
0
0

@eNRGy wrote:

In the exec plugin I'm sending a string like this:
{{imdb_plot_outline}}
{{imdb_directors}}
{{imdb_actors}}

But the directors and actors are wrapped in JSON guff. Is it possible to get them as regular strings? What's an easy way to strip them? Comma separated names would be perfect.

Posts: 1

Participants: 1

Read full topic

Html with cloudscraper, 403 Client Error

$
0
0

@luizoti wrote:

Hi,

I'm trying to download subtitles from this page, using the Html plugin, but I get this error, does anyone have
any concerns about what can solve this?

RequestException: 403 Client Error: Forbidden for url: https://sub.erai-ddl.info/2019/Winter/Dororo/?dir=01

  leg:
    html: 'https://sub.erai-ddl.info/2019/Winter/Dororo/?dir=01'
    # verify_ssl_certificates: no
    headers:
      User-Agent: 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:67.0) Gecko/20100101 Firefox/67.0'    
    cfscraper: yes
    regexp:
      accept:
        - \.por\.ass
      rest: accept
    template:
      - REGEXP-ANIMES-EP
      - GERAL

Posts: 1

Participants: 1

Read full topic

New to Flexget. very simple config

$
0
0

@FireFlyFan wrote:

Im trying to get the daemon to donwload all torrents between 1 and 2.5GB every 10 mins to the specified folder, then have qbittorrent monitor the folder and start the torrent, it seems to work fine if i dont specify a min value, but as soon as i do i get "Plugin content_size has requested task to be ran again after execution has completed." and then it stays on "Rerunning the task in case better resolution can be achieved." without the scheduler running the task ever again. tried in debug mode and everything worked great except now qbittorrent wont automatically add the torrents that are downloaded, so i figured something is wrong with my code. would appreciate any help

tasks:
  CHX:
    rss: 'https://*****'
    content_size:
      max: 2500
      min: 1024
    accept_all: yes
    download: D:\flexgettorrents

schedules:
  # Run every task every 10 minutes
  - tasks: '*'
    interval:
      minutes: 10

Posts: 2

Participants: 2

Read full topic

Problems with move_completed_path and content_filename with new versions of flexget

$
0
0

@paul_poco wrote:

Problems with move_completed_path and content_filename with new versions of flexget.

Never had an issue before.

going try and roll back to before the "movedone became move_completed_path".

This is just frustrating. What do these constant changes actually do for functionality? Seems like nothing but break configs.

Posts: 2

Participants: 1

Read full topic

If plugin usage

$
0
0

@magnjo wrote:

Hello.

The if plugin has an example

imdb_lookup: yes
if:
  - "any(genre in ['horror', 'documentary'] for genre in imdb_genres)": reject

But when I try to run that I get this error:

Error occurred while evaluating statement `any(genre in ['horror', 'documentary'] for genre in imdb_genres)`. (expected token ',', got 'for')

Can anyone tell me how it should be done?

Posts: 2

Participants: 2

Read full topic

If a Torrent is a folder instead of just the video file, do not want the folder or the other non video files

$
0
0

@paul_poco wrote:

If a Torrent is a folder instead of just the video file, do not want the folder or the other non video files. I tried the main_file_only but I still get a folder from the torrent. And what can I do so that if it fails to Magnetize, it still renames the file and moves to correct folder.

Ok I finally figured it out:

content_filename: "{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }} - {{ series_id }}{% if tvdb_ep_name|default(False) %} - {{ tvdb_ep_name|replace('/', '_')|replace(':', ' -')|replace(',', '') }}{% endif %} - {{ quality }}"
container_directory: "{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }} - {{ series_id }}"
move_completed_path: "/Media/TV/{{ tvdb_series_name|default(series_name)|replace('/', '_')|replace(':', ' -')|replace(',', '') }}/{% if series_id_type == 'ep' %}Season {{ series_season }}/{% endif %}"

Posts: 2

Participants: 1

Read full topic

My config doesn't set the path for transmission

$
0
0

@mkaito wrote:

Hi!

I copied this from somewhere else, so I'm not really sure what does what. Transmission dumps all files into my home folder. How can I fix this?

templates:
  global:
    retry_failed:
      retry_time: 5 minutes
      retry_time_multiplier: 1
      max_retries: 12
    transmission:
      host: localhost
      port: 9091
    parsing:
      movie: guessit
      series: guessit


tasks:
  shana:
    rss: http://www.shanaproject.com/feeds/secure/user/12312312/123123123123/
    accept_all: yes
    all_series:
      quality: 1080p
      path: ~/media/anime/{{series_name}}/Season {{series_season}}
      from_group: horriblesubs
      tracking: backfill

Posts: 1

Participants: 1

Read full topic


Manipulate (regexp) & google news alert

$
0
0

@Leopold_Deux wrote:

Hi, I'm trying to use manipulate to extract the actual url from a google alerts url in an rss feed. Right now a url shows like this:

https://www.google.com/url?rct=j&sa=t&url=https://www.portada-online.com/2019/08/06/womens-soccer-keeps-getting-marketers-attention-marketing-soccer-marketing-news/&ct=ga&cd=CAIyGmZiZGYyZmRhNGExYjViMjc6Y29tOmVuOlVT&usg=AFQjCNG96Vp9TqDf9KFbY4jbLyx3i3XemA

whereas I just want the actual url without the google parts at the beginning & end of it:

https://www.portada-online.com/2019/08/06/womens-soccer-keeps-getting-marketers-attention-marketing-soccer-marketing-news/

i'm at a loss with regexp, but something like this i think:

(Indentations not preserved)

MY_FEED:
rss: https://www.google.com/alerts/feeds/blahblahblah
accept_all: yes
manipulate:
- url:
extract: ????????

anyone can help out with the regexp here?

edit: I see it might actually use the urlrewrite plugin but I can't figure it out. it lists google in the names of sites supported but I'm not sure if that pertains to my question exactly and i can't figure out how to write it correctly to not throw errors

Posts: 2

Participants: 1

Read full topic

Filesystem expected: list

$
0
0

@adamstributer wrote:

So it's been AGES since I last used flexget, and now that mylar has bit the dust for me I'm turning back to it to just grab comics and then sort them.

I already have a directory full of comics, and cobbled together the config file below from the samples in the plug-ins gallery as well as some that I found here in the discussions. The issue is that whenever I try to test the config I get:

CRITICAL manager [/tasks/comics/series/configure_series] Got{'from': {'filesystem': ['/mnt/data/Books/Comics/']}}, expected: list

config:

web_server:
  port: 6060
  web_ui: yes

templates:
  global:
    # Make sure all filenames are Linux-safe:
    pathscrub: linux
  comics:
    manipulate:
    - title:
        replace:
          regexp: '_' # change all underscores to spaces
          format: ' '
    - title:
        replace:
          regexp: ' issue(\d){1,3}' # reformat titles with 'issue' in the title to omit it
          format: ' \1'
    - title:
        replace:
          regexp: ' issue (\d){1,3}' # reformat titles with 'issue' in the title to omit it
          format: ' \1'

tasks:
  comics:
    rss:
      url: https://32pag.es/XXXX
      url: TORZNAB
    torrent_alive: yes
    series:
      configure_series:
        from:
          filesystem:
            - /mnt/data/Books/Comics/
    deluge:
      username: XXXX
      password: XXXX
      label: comics

  comics-sort-files:
    filesystem:
      path: /mnt/media/downloads/deluge/comics/ #source of files to move
      recursive: yes # dig into folders in this directy to search for titles if necessary
      regexp: '.*\.(cbz|cbr|cbt|cb7)$' # search only for comic filetypes
    accept_all: yes
    seen: local
    all_series:
      parse_only: yes
    template: comics
    manipulate:
    - filename:
        replace:
          regexp: '(?= \(\d).+?(?=.cb[zrt7])' # remove anything after the first space followed by a parenthese followed by a digit (e.g. the ' (2017)...' in the title 'Batman 003 (2017) (Digital).cbz'), leaving the file extension.
          format: ''
    - filename:
        replace:
          regexp: ' (\d\d).cb[zrt7]' # reformat a two-digit issue number followed by the extension into a 3 digit issue number
          format: ' 0\1'
    - filename:
        replace:
          regexp: ' (\d).cb[zrt7]' # reformat a one-digit issue number followed by the extension into a 3 digit issue number
          format: ' 00\1'
    - filename:
        replace:
          regexp: ' (\d) \(of (\d)\)' # reformat a one-digit issue number of a one-digit total issues (e.g 'issue 3 (of 5)') to three and two digits respectively
          format: ' 00\1 (of 0\2)'
    - filename:
        replace:
          regexp: ' (\d) \(of (\d\d)\)' # reformat a one-digit issue number of a two-digit total issues (e.g 'issue 3 (of 12)') to three and two digits respectively
          format: ' 00\1 (of 0\2)'
    - filename:
        replace:
          regexp: ' (\d\d) \(of (\d\d)\)' # reformat a two-digit issue number of a two-digit total issues (e.g 'issue 03 (of 06)') to three and two digits respectively
          format: ' 0\1 (of \2)'
    - filename:
        replace:
          regexp: 'annual (\d){1,4}' # reformat an annual title
          format: 'Special A\1'
    - filename:
        replace:
          regexp: 'special (\d){1,3}' # reformat an special title
          format: 'Special SP\1'
    - filename:
        replace:
          regexp: 'v(\d){1,4}' # reformat an volume label
          format: 'Vol \1'
    - filename:
        replace:
          regexp: 'vol(\d){1,4}' # reformat an volume label
          format: 'Vol \1'
    - filename:
        replace:
          regexp: 'Vol 0(\d\d)'  # reformat an volume label
          format: 'Vol \1'
    - filename:
        replace:
          regexp: 'Vol 0(\d)'  # reformat an volume label
          format: 'Vol \1'
    - title:
        from: filename  # make title match filename
    - title:
        replace:
          regexp: '.cb[rtz7]' # remove extension from title
          format: ''
    - series_name:
        from: title # make series_name match title
    - series_name:
        replace:
          regexp: ' \d\d\d.*' # remove issue number and everything after from series_name
          format: ''
    - series_name:
        replace:
          regexp: ' Rebirth' # remove Rebirth tag from series_name
          format: ''
    move:
      to: /mnt/data/Books/Comics/{{ series_name }}
      clean_source: 30

#  notify:
#      - pushover:
#        user_key:
#          - XXXX
#        api_key: XXXX

schedules:
  # Run every task every 15 minutes
  - tasks: '*'
    interval:
      minutes: 15

Posts: 1

Participants: 1

Read full topic

Question regarding configuration

$
0
0

@agnosticon wrote:

Hello Guys,

Below is my configuration:

templates:
  tv:
    trakt_lookup: yes
    transmission:
      host: localhost
      port: 12345
      username: **REDACTED**
      password: **REDACTED**
      path: /home/torrent/Downloads/TV-SHOWS
    regexp:
      reject:
        - mSD
        - AFG
    configure_series:
      from:
        trakt_list:
          username: **REDACTED**
          account: **REDACTED**
          list: Download
          type: shows
          strip_dates: yes
      settings:
        qualities:
          - 1080p webdl
        propers: no
        timeframe: 18 hours
        identified_by: ep
    discover:
      what:
        - next_series_episodes: yes
      from:
        - iptorrents:
            rss_key: **REDACTED**
            uid: **REDACTED**
            password: **REDACTED**
            category: [TV-Web-DL, TV-x264]
    notify:
      entries:
        title: "Downloading {{series_name}} {{series_id}} now"
        via:
          - pushbullet:
              api_key: **REDACTED**

  movie:
    trakt_lookup: yes
    imdb_lookup: yes
    regexp:
      reject:
        - extended
        - will1869
        - life-static
        - chaperone
        - head full of honey 2019
    transmission:
      host: localhost
      port: 12345
      username: torrent
      password: **REDACTED**
      path: /home/torrent/Downloads/MOVIES
    content_size:
      min: 1000
      max: 20000
    quality:
      - 1080p bluray
      - 1080p webdl+
      - 1080p webdl
    discover:
      what:
        - movie_list: Movies
      from:
        - iptorrents:
            rss_key: **REDACTED**
            uid: **REDACTED**
            password: **REDACTED**
            category: [48, 20, 100]
    list_match:
      from:
        - movie_list: Movies
    seen_movies: strict
    proper_movies: no
    notify:
      entries:
        title: "Downloading {{movie_name}} {{movie_year}} now"
        via:
          - pushbullet:
              api_key: **REDACTED**

tasks:
  ipt-tv:
    rss:
      url: https://www.iptorrents.com/torrents/rss?u=**REDACTED**;tp=**REDACTED**;22;5;99;download
      all_entries: no
    template: tv
    priority: 1


  hd-watchlist:
    imdb_watchlist:
      user_id: **REDACTED**
      list: ls090066867
    accept_all: yes
    list_add:
      - movie_list: Movies
    priority: 2
    imdb_lookup: yes

  ipt-movies:
    rss:
      url: https://www.iptorrents.com/torrents/rss?u=**REDACTED**;tp=**REDACTED**;48;20;100;download
      all_entries: no
    template: movie
    priority: 3

Question #1:

I want to add the quality plugin to the tv section just like movies because if I define "qualities" with multiple versions, it goes and downloads them all. How can it be achieved like download the best from the following defined qualities:

1080p hdtv
1080p webdl+
1080p webrip+

Question #2:

I'm totally new to flexget and built this configuration from multiple web sources, I would like to know how can I add a function for list cleanup in my configuration, any help would be appreciated.

Question #3

Do you guys have any suggestions to make this config more advance by adding some more plugins/features?

Would appreciate any sort of help and advice from you guys to enhance this configuration.

Thank you

Posts: 3

Participants: 1

Read full topic

[BUG] Telegram replacing "title" entry

$
0
0

@agnosticon wrote:

Hello,

I've enabled Telegram notifications but it ignores the title and instead sends the movie/series name as a notification:

notify:
  entries:
    title: "Downloading {{movie_name}} {{movie_year}}"
    via:
      - telegram:
          bot_token: 'REMOVED'
          parse_mode: markdown
          disable_previews: no
          recipients:
            - username: 'REMOVED'
          socks_proxy:
            url: socks5://REMOVED:228
            username: 'REMOVED'
            password: 'REMOVED'

Logs:

2019-08-14 09:23 INFO     download      ipt-movies      Downloading: Forrest Gump 1994 720p BRRip x264 x0r
2019-08-14 09:23 VERBOSE  details       ipt-movies      Summary - Accepted: 1 (Rejected: 102 Undecided: 17 Failed: 0)
2019-08-14 09:23 INFO     transmission  ipt-movies      "Forrest Gump 1994 720p BRRip x264 x0r" torrent added to transmission
2019-08-14 09:23 VERBOSE  notify        ipt-movies      Successfully sent a notification to `telegram`
2019-08-14 09:23 VERBOSE  list_match    ipt-movies      removing accepted entries from movie_list - Movies

Telegram Message:

How can this be fixed?

Regards,

Posts: 2

Participants: 1

Read full topic

Can't get renaming to work (mapping values are not allowed…)

$
0
0

@lvs wrote:

Hi everyone,

I'm setting up a very basic podcast config, but can't get file renaming to work.

I tried both

tasks:
  Sinica:
    rss: https://rss.art19.com/sinica
    accept_all: yes
    download: /path/to/Sinica
      filename: '{{rss_pubdate|formatdate('%Y-%m-%d')}} - {{title|pathscrub}}.mp3'`

and

tasks:
  Sinica:
    rss: https://rss.art19.com/sinica
    accept_all: yes
    download: /path/to/Sinica
      set:
        filename: '{{rss_pubdate|formatdate('%Y-%m-%d')}} - {{title|pathscrub}}.mp3'`

In both cases I get an error:

mapping values are not allowed here in "<unicode string>", line 6, column 15: filename: '{{rss_pubdate|formatdate('%Y- ... ^
or
mapping values are not allowed here in "<unicode string>", line 6, column 10: set: ^ respectively.

What am I doing wrong?

Thanks

Posts: 1

Participants: 1

Read full topic

Viewing all 716 articles
Browse latest View live