-
Entries end up being accepted anyway and if I run flexget manually in verbose mode I'm also notified of titles being changed so I am sure the template is being used correctly:
Am I supposed to use the following when altering titles? manipulate:
- filename:
from: title |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
While trying to replicate the issue on a different system I found out manipulate:
- filename:
from: title isn't working either. I thought I could fix the problem with the above mentioned rule but the filenames keep the original title instead of the manipulated one. Here's a copy of the configs I'm using for testing: tasks:
anime:
transmission:
username: 'my-username'
password: 'my-pass'
path: /mnt/c/Users/User/Downloads
inputs:
- rss: https://nyaa.si/?page=rss&q=-batch&c=1_2&f=0&u=BraveSail
- rss: https://nyaa.si/?page=rss&q=bleach+-batch&c=1_2&f=0&u=BraveSail
series:
- 4-nin wa Sorezore Uso wo Tsuku
- Bleach Sennen Kessen-hen:
begin: 10
manipulate:
- title:
replace:
regexp: '^(\[NC-Raws\]) .*(?=[-]).+? \/ '
format: '\1 '
- title:
replace:
regexp: ':'
format: ''
- filename:
from: title And here's a copy of the terminal output actually changing the titles:
|
Beta Was this translation helpful? Give feedback.
-
The filename in the
|
Beta Was this translation helpful? Give feedback.
-
While following the jinja documentation I found a solution that renames the file in transmission as well: manipulate:
- title:
replace:
regexp: '^(\[NC-Raws\]) .*(?=[-]).+? \/ '
format: '\1 '
- title:
replace:
regexp: ':'
format: ''
set:
content_filename: "{{ series_parser['data'] }}" I found out about
and noticed the The formatted filename loses the normal hash id you usually see at the end of each file (ex: |
Beta Was this translation helpful? Give feedback.
-
Transmission plugin looks for the 'content_filename' field to do the
remaining
…On Sat, Dec 17, 2022, 17:19 steponmepls ***@***.***> wrote:
While following the jinja documentation
<https://documentation.bloomreach.com/engagement/docs/jinja-syntax#delimiters>
I found a solution that renames
<https://flexget.com/Plugins/transmission#ContentRenaming> the file in
transmission as well:
manipulate:
- title:
replace:
regexp: '^(\[NC-Raws\]) .*(?=[-]).+? \/ '
format: '\1 '
- title:
replace:
regexp: ':'
format: ''
set:
content_filename: "{{ series_parser['data'] }}"
I found out about series_parser > data while looking at the --dump entries
series_parser : <SeriesParseResult(data=[NC-Raws] 4-nin wa Sorezore Uso wo Tsuku - 10 (B-Global 1920x1080 HEVC AAC
MKV),name=4-nin wa Sorezore Uso wo Tsuku,id=10,season=0,season_pack=None,episode=10,quality=1080p
h265 aac,proper=0,special=False,status=OK)>
and noticed the data value is exactly the formatted title I need. For
some reason using a pattern like {{ filename }} didn't work so I had to
use series_parser values instead..
The formatted filename loses the normal hash id you usually see at the end
of each file (ex: [E086AC04]) but I personally can live without that
—
Reply to this email directly, view it on GitHub
<#3638 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABNV7L2S4TBROGPCJIYOBDWNY37XANCNFSM6AAAAAATCEEJ2Y>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
While following the jinja documentation I found a solution that renames the file in transmission as well:
I found out about
series_parser > data
while looking at the--dump
entries