fxstein / fxstein/GoProX

Enhancement: Rename SD card volume label to HERO11-8909 format

Open
#63 0 comments 0 reactions 1 assignee Claimed by @fxstein View on GitHub
enhancement
Dominant language
Shell
Stars
27
Forks
4
PR merge metrics
No merged PRs in 30d

Description

## Summary

Add functionality to rename the SD card volume label of a particular camera to the following format: HERO11-8909, where the short version of the model is followed by a dash and the last 4 digits of its serial number.

## Requirements
- Detect the camera model and serial number from the SD card or connected camera.
- Generate the new volume label in the format: - (e.g., HERO11-8909).
- Rename the SD card volume label accordingly (using the appropriate system command, e.g., diskutil on macOS).
- Ensure the process is robust and handles errors (e.g., missing serial, unsupported model).
- Add documentation and usage instructions.

## Motivation
This will standardize SD card naming for easier identification and management, especially in multi-camera workflows.

## Acceptance Criteria
- The SD card volume label is renamed to the correct format for supported cameras.
- Errors are handled gracefully and reported to the user.
- Documentation is updated.

---
Assign to: @fxstein

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.