Flexget Podcast renaming
Posted: May 4th, 2012, 7:00 pm
Hello!
I've got Flexget set up and working for TV series, but I would also like it to download a podcast I listen to.
The download part is ok, but I'm unable to get it to rename the files.
The feed is: http://podkast.nrk.no/program/radioresepsjonen.rss
The format I want is: Showname - YYYYMMDD.ext
I have set up a dedicated podcasts.yml that looks like this:
This gives me the error message:
I can't seem to find much info about how to do this, so I borrowed from here: http://thermsnotes.blogspot.com/2011/05 ... ation.html
Anyone that could help out? I'm lost
I've got Flexget set up and working for TV series, but I would also like it to download a podcast I listen to.
The download part is ok, but I'm unable to get it to rename the files.
The feed is: http://podkast.nrk.no/program/radioresepsjonen.rss
The format I want is: Showname - YYYYMMDD.ext
I have set up a dedicated podcasts.yml that looks like this:
Code: Select all
inputs:
- rss:
url: http://podkast.nrk.no/program/radioresepsjonen.rss
other_fields: [date]
ascii: yes
download: /media/HDD-02/HDD-02/Podcasts/NRK P3 Radioresepsjonen
accept_all: yes
set:
filename: >
Radioresepsjonen -
{{ date|parsedate|formatdate('%Y-%m-%d') }}
This gives me the error message:
Code: Select all
2012-05-04 19:26 ERROR set Podcasts Could not set filename for Radioresepsjonen 20120503: (UndefinedError) 'date' is undefined
I can't seem to find much info about how to do this, so I borrowed from here: http://thermsnotes.blogspot.com/2011/05 ... ation.html
Anyone that could help out? I'm lost