RPi-Jukebox-RFID
RPi-Jukebox-RFID copied to clipboard
🚀 Combined next track/fast forward function for RFID and GPIO-Buttons
Feature Description
What functionality would you like to see in your phoniebox?
I've some radio plays ("Hörspiele") where the whole radio play is in one track and ~45 minutes long and some radio plays divided into multiple tracks (~40 pieces). It would be really cool to have a function call for RFID and/or GPIO which can run a fast forward, if there is just one song/track in a folder and run a next track, if there are multiple tracks in one folder. Same for fast backward and previous track.
How do you envision the feature to work from a users perspective?
So my kids have just a button to go back a little bit, play/pause and move forward a little bit. I'm using a rotary control for the volume. My current version has 5 buttons, which is a little bit confusing. Sometimes the next/prev track buttons work and sometimes the fast backward/forward buttons work.
Starting point
There should be information about the current track count (OLED Display and webinterface knew about the track count). It would be cool to have two new functions in ~/RPi-Jukebox-RFID/components/gpio_control/function_calls.py
for this. So the default behaviour might be untouched.
Sounds like a very nice improvement.
Hi! I have also a issue with big and non-divided files.
Another solution for me would be following:
- A function to mark folders with the WebUI as "SinglePlay" or "MultipleTracks"
- If "SinglePlay" Forward and Backward are only working in "Seek" Mode. This has the benefit that you could not accidently restart the track
- In "MultipleTrack" everything is working normal (Forward and Backward and maybe Seek-Mode at long press).
What did you think about this solution?