headless audioplayer - USB-Drive

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
pete.manzel
Posts: 1
Joined: Fri Sep 17, 2021 12:14 pm

headless audioplayer - USB-Drive

Post by pete.manzel »

Hello,

i would like to build a audioplayer that plays files from a USB-Stick.

The files are going to be triggered by buttons connected to the GPIO Pins.
The skript is going to be written in python.

The files are going to have always the same names, like: 1.wav, 2.wav, 3.wav
I would like to play the files directly from any USB-Stick connected.

There is going to be connected only one USB-Stick at the time but not always the same USB-Stick.
How can i make USB-Sticks be mounted automatically and have always the same drivename?
Is fstab the way to go?

Thanks for any help?
Post Reply