WaaromZoMoeilijk / rpi-audio

0 stars 0 forks source link

Automated External Storage #6

Closed WaaromZoMoeilijk closed 2 years ago

WaaromZoMoeilijk commented 3 years ago

Augment the storage subsystem to determine all connected USB sticks, and then once those sticks or mount points are tallied, tee any recordings to all of them. Be reluctant to format the stick, but if it's inserted and has no partition table, or appears to be empty (like, factory formatted), then consider this as a sign that the stick is unused as of yet and then format it accordingly (perhaps xfs). If there's an error with the stick, you can include the single beep for warning and then skip that USB stick (logging the error)

WaaromZoMoeilijk commented 3 years ago

Storage no problem.

Pipe, will require some investigation since the combined encoding/compressing/encrypting of the stream is rather new to me. Lets have this a first assignment to figure out, after the base image is up.

WaaromZoMoeilijk commented 2 years ago

USB-*.sh scripts provide this functionality and calls audio.sh when a new usb is inserted.