Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
One Button music player
#1
Hi guys!

I'm way in over my head with a litte project for work. We want a big red button that we can press when something good happens and one perticular song plays. To do this, I've decided to use a Raspberry Pi and a separate speaker(and of course a big red shiny button).

The coding, however, was harder than I thought since I haven't touched the stuff for a few years. I found this model: https://clemens.name/the-one-button-audiobook-player/ which is basically exactly what I need.

However, I want the button to only start the song, play for 30 seconds, rewind then pause. Any more functionality and it loses its puprpose. And I can't really get it to work.

Extremely grateful for all the aid I can get from the experts here!
Reply
#2
to start with, show your code.
Reply
#3
(Aug-10-2018, 01:46 PM)Larz60+ Wrote: to start with, show your code.

There's a GitHub-link in the link I posted, but here it is: https://github.com/exitnode/theonebuttonaudiobookplayer
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pygame mixer and tkinter music player Kumarkv 1 2,773 May-14-2020, 06:08 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020