Skip to content

Fixing decimal.TryParse issue #129

@amaillo-coop

Description

@amaillo-coop

GUI crash almost at finish download because Util.Tools.SecToStr() throw exception due to a Main.GetStatus() wrong decimal.TryParse() interpretation of a decimal number because my OS culture (es-ES) uses comma as decimal separator instead of a dot and yt-dlp std output is always showing decimal numbers with en-US number fomatting.

Fixing it's really simple, just force culture to "en-US" in every decimal.TryParse() on Main.GetStatus():
image

I can send you a PR with this fix, just text me.

Hope this could help.
Best regards!

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