-
Notifications
You must be signed in to change notification settings - Fork 395
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Push button to start playing a playlist/stream sample code #340
Comments
That could be hacked in. For one specific playlist. You would need to execute a bash script which imcludes the folder name. See top of this script for examples: |
Hallo Micz, i´m not good in coding, so i don`t know exactly which solution you prefer but i would try a workaround:
I try it out when i bulid my next Box. Maybe someone think about my solution and give me a feedback. |
Ok. It works. A my idea ist quiet simple and has the advantage that i can easily change the assignment to the button. Here the again which i add to gpio-buttons.py: `def def_raab(): raab = Button(17,pull_up=True) raab.when_pressed = def_raab |
Perfect - great someone did it. And a good solution for non-coders like me. |
Hi @Bartman83 |
Thank you so much!
Den fredag, november 23, 2018, 12:38 fm, skrev Micz Flor <notifications@github.com>:
Hi @Bartman83
thanks for the code example. This is roughly what I had in mind with no time to write it :) If you could add this to the wiki, I would be very happy. Otherwise, I'll try to add it some time soon.
All the best, micz
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi @Bartman83 |
Lol. Everytime I post an issue, my problem seems to magically get resolved. I rebooted it a couple times and it works now. 🤷🏽♂️ |
Hi, is it possible to have a few dedicated push buttons for the most used playlists/streams on top of having the RFID card functionallity?
I only find instructions for GPIO buttons for play/stop, skip song, volume etc but nothing for playback of playlist/web radio stream.
The text was updated successfully, but these errors were encountered: