@bmilcs wrote:
How can I code this properly?
I want to rename any podcast with "Thursday" in the title to Date TMP.
I want to rename any podcast with "Monday" in the title to Date MMP.How do I successfully apply an if/then statement to execute this? I tried something like this, but of course it didn't work. I am not a programmer
Thanks!
web_server: bind: 0.0.0.0 port: 3539 web_ui: yes templates: podcast: accept_all: yes pathscrub: windows limit_new: 1 tasks: MMP: template: podcast rss: http://billburr.libsyn.com/rss/ download: /mnt/user/podcasts/Monday_Morning_Podcast/ if: - "'Monday' in {{ title }}" set: filename: "{{ rss_pubdate | formatdate('%Y-%m-%d') }} - MMP.mp3" - "'Thursday' in {{ title }}" set: filename: "{{ rss_pubdate | formatdate('%Y-%m-%d') }} - MMP.mp3"
Posts: 4
Participants: 2