Skip to content

Remove repeating scene headers when new page #7

@Britman72

Description

@Britman72

Great script, however there seems to be a flaw when a scene continues onto the next page. The converter creates a new scene header which, for those of us using this script to do scene parsing, means a duplicate scene.

Example: This scene below only occurs once in the script's PDF but creates two scenes since the contents of the scene in the PDF continued onto the next page.

       },
        {
            "scene_info": {
                "region": "EXT.",
                "location": "DIRT ROAD",
                "time": [
                    "LATER"
                ]
            },
            "scene": [
                {
                    "type": "ACTION",
                    "content": [
                        {
                            "text": "A few vehicles line the road as the remaining volunteers pack up and head home for the day."
                        }
                    ]
                }
            ]
        }
    ]
},
{
    "content": [
        {
            "scene_info": {
                "region": "EXT.",
                "location": "DIRT ROAD",
                "time": [
                    "LATER"
                ]
            },
            "scene": [
                {
                    "type": "ACTION",
                    "content": [

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions