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

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 articles
Browse latest Browse all 716

Trending Articles