Quantcast
Channel: help - Forum - FlexGet
Viewing all articles
Browse latest Browse all 837

Jinja2 template to remove author, quality and file format from {{Title}}

$
0
0

@hiru wrote:

I'm using Jinja2 to send notifications via telegram but I'm having troubles with the title editing.
The file name title is something like this: [Author] Name - EpisodeNumber [Quality].file_format
The name output when using {{Title}} is: Author Name - EpisodeNumber Quality.file_format

As you can see the {{Title}} tag removes the square brackets automatically but I want to remove what's inside the brackets too alongside the file format. What should I do? replace(pattern, replacement) seems a little bit painful since I have to use it for each task in my config file

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 837

Trending Articles