Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove repeating scene headers when new page #7

Open
Britman72 opened this issue Dec 14, 2023 · 0 comments
Open

Remove repeating scene headers when new page #7

Britman72 opened this issue Dec 14, 2023 · 0 comments

Comments

@Britman72
Copy link

Britman72 commented Dec 14, 2023

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": [
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant