Skip to content

Issue with files that include spaces (fixed myself) #5

@elpocoburrito

Description

@elpocoburrito

Hi, thank you for this great project, it fits my needs greatly, i intend to fork it for myself.
I had an issue where files with spaces would not play. This is inacceptable in my case so i worked a bit and fixed it. I cannot make a pull request so i will post a screenshot of the changes i made.
Basically the file path needed to be quoted inside the cmdline variable and it was required to use shlex.split(cmdline) instead of string.split since string.split ignores quotes when splitting.
https://prnt.sc/pxnu9d

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions