@Mikkel_Petersen wrote:
Hi there,
I am trying to figure out how I can tell Flexget to look at the torrents name, and identify whether it is 1080p or 2160p. So far I have it very simple like this:rtorrent: uri: scgi://localhost:5000 path: /home/zeroz/rtorrent/download/HDBits custom1: Remux
What I would like to have is the following:
rtorrent: uri: scgi://localhost:5000 path: /home/zeroz/rtorrent/download/[1080p-2160p]_HDBits custom1: [1080p-2160p]_Remux
So Flexget would identify the resolution of the torrent, and then put it in the appropriate path, and give it the appropriate label.
I looked at https://flexget.com/Jinja but I can't really figure out how to do this, and if it is even possible. Is logic required, and does Flexget even support that?
Posts: 1
Participants: 1