Skip to content

The HD detection needs to be more robust. #8

Description

@BlueNalgene

Is your feature request related to a problem? Please describe.
Some users may experience failure to write files due to improper mounting or drive permissions. Currently, the code detects a mounted drive with the correct path, and crashes with an error on failure. This is not enough if there is a directory pointing nowhere (in the case of improper drive unmounting and remounting) or if the drive has strange permissions.

Describe the solution you'd like
On startup, the code should write a temporary file to the FILEPATH (this line here) and attempt to read it. What's more, this check must determine if the file is being read from a location on the thumb drive or somewhere dynamicallly linked on the SD card. Writing video to the SD card == bad.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions