MiczFlor / RPi-Jukebox-RFID

A Raspberry Pi jukebox, playing local music, podcasts, web radio and streams triggered by RFID cards, web app or home automation. All plug and play via USB. GPIO scripts available.
http://phoniebox.de
MIT License
1.37k stars 398 forks source link

🚀 Combined next track/fast forward function for RFID and GPIO-Buttons #1100

Open Huseriato opened 3 years ago

Huseriato commented 3 years ago

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.

s-martin commented 3 years ago

Sounds like a very nice improvement.

Franzformator commented 3 years ago

Hi! I have also a issue with big and non-divided files.

Another solution for me would be following:

What did you think about this solution?