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

Indentation issue?

$
0
0

@Chris_Libby wrote:

I'm having issues with my config, but I'm not sure if they are indentation related or syntax. Any help is appreciated!

tasks:
  download-rss:
    rss: 'http://showrss.info/user/XXX.rss?magnets=true&namespaces=true&name=clean&quality=sd&re=no'
    all_series: yes
    transmission:
      host: 192.168.10.13
      port: 9091
  sort-files:
    disable:
      - retry_failed
      - seen
      - seen_info_hash    
    filesystem:
      path: /mnt/torrents/downloads
      regexp: '.*\.(avi|mkv|mp4|mpg|mov|m4v|wmv)$'
      recursive: yes
    thetvdb_lookup: yes
    accept_all: yes
#    seen: local
#    all_series:
      # Don't actually filter
#      parse_only: yes
    series:
        - American Horror Story:
            set:
              tvdb_id: 250487
        - Bates Motel:
            set:
              tvdb_id: 262414
        - Dark Matter:
            set:
              tvdb_id: 292174
        - Doctor Who (2005):
            set:
              tvdb_id: 78804
        - Family Guy:
            set:
              tvdb_id: 75978
        - How to Get Away with Murder:
            set:
              tvdb_id: 281620
        - 'Law & Order: Special Victims Unit':
            set:
              tvdb_id: 75692
        - Mr. Robot:
            set:
              tvdb_id: 289590
        - Shameless (US):
            set:
              tvdb_id: 161511
        - The Expanse:
            set:
              tvdb_id: 280619
        - The Walking Dead:
            set:
              tvdb_id: 153021
        - True Detective:
            set:
              tvdb_id: 270633
        settings:
          parse_only: yes
    move:
      # this is where the series will be put
      to: '/mnt/media/tv/{{ tvdb_series_name }}/'
      # save the file as 'Series Name - SxxEyy - Episode Name.ext'
      filename: '{{ tvdb_series_name }} - {{ series_id }} - {{ tvdb_ep_name }}{{ location | pathext }}'

Here are the errors:

2016-03-19 06:31 WARNING  manager                       Your locale declares ascii as the filesystem encoding. Any plugins reading filenames from disk will not work properly for filenames containing non-ascii characters. Make sure your locale env variables are set up correctly for the environment which is launching FlexGet.
There is a FlexGet process already running for this config, sending execution there.
2016-03-19 06:31 VERBOSE  check                         Checking config file `/root/.flexget/config.yml`
2016-03-19 06:31 WARNING  check                         Config line 40 is indented too much
2016-03-19 06:31 WARNING  check                         Config line 40 containing list element is indented incorrectly
2016-03-19 06:31 VERBOSE  check                         Pre-checked 83 configuration lines
2016-03-19 06:31 CRITICAL check                         Config file is invalid YAML:
while parsing a block collection
  in "/root/.flexget/config.yml", line 40, column 9
expected <block end>, but found '?'
  in "/root/.flexget/config.yml", line 76, column 9

Posts: 9

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 716

Trending Articles