Skip to content

[Bellazon] How to pass order data (num) of media files in posts to child extractor? #8415

@taskhawk

Description

@taskhawk

I'm trying to preserve the order of media files in posts using the {num} key in the filename, but it seems that data isn't made available in children extractors. Example config:

    "bellazon": {
      "filename": "{post[id]}-{num:>02}-{id}.{extension}",
      "parent-directory": true,
      "parent-metadata": "bellazon"
    },
    "bellazon>imagetwist": {
      "filename": "{bellazon[post][id]}-{bellazon[num]:>02}-{filename}.{extension}"
    }

Example post:
https://www.bellazon.com/main/topic/56-candids/page/542/#comment-4637444

Filenames just end up with *-00-*.

Also, missing images from ImageTwist generate this weird output:

[download][error] '/imgs/lines-menu.sv:' URLs are not supported/enabled
[download][error] Failed to download /imgs/lines-menu.svg

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions