Skip to content

Proper syntax for applying slice to parent passed to child filename formatting in config #5579

Closed Answered by mikf
reasonabledoubt asked this question in Q&A
Discussion options

You must be logged in to vote

{_reddit[title[:180]]} should be {_reddit[title][:180]}


You might want to use parent>child as category, since that makes things a bit simpler:

        "reddit>redgifs":
        {
            "directory": []
            "filename": "{_reddit[id]}_{_reddit[title][:180]}{num:?-//>02}.{extension}"
        }

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@reasonabledoubt
Comment options

Answer selected by reasonabledoubt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants