@bfqrst wrote:
Hey guys,
I'm a bit lost trying to conditionally set a move-to location. I outlined below what I was aiming for in semi pseudo FlexGet syntax...
move: filename: '{{ filename }}' if: - filename matches tvshow-regex ((.*)(\s-\sS\d\dE\d\d\s-\s)(.*)(\.mkv|\.avi|\.mp4)): set: to: /tmp/shows - filename matches movies-regex((.*)(\s\([12][09]\d\d\))(\.mkv|\.avi\.mp4)): set: to: /tmp/flicks
Thanks in advance.
Cheers
Posts: 2
Participants: 2