Page 1 of 1

Web Frontend for Audio Playback

Posted: Tue Aug 30, 2016 2:36 pm
by amgill3
I currently have a python script that plays back audio from a list generated by a glob by iterating through upon each button press. What I want to do is create a web frontend that displays a list of the files located in /path. And be able to select a particular file, and press play. Creating a web page to operate the play button is simple, but how would I go about compiling a list of files in /path and displaying them on the web server and then be able to select a file and know which file is selected when the pay button is pressed.

Re: Web Frontend for Audio Playback

Posted: Tue Aug 30, 2016 3:23 pm
by dddomodossola
Hello,
the reply depends on the webframework you will use to do this. If you says that there is no problem for the play button, than you already have an idea on which one you will use. Give us more info please.

Re: Web Frontend for Audio Playback

Posted: Tue Aug 30, 2016 6:00 pm
by amgill3
I was going to be using the WebIOPi framework with a HTML/Javascript web page.

Re: Web Frontend for Audio Playback

Posted: Wed Aug 31, 2016 7:49 am
by dddomodossola
This might help you https://github.com/dddomodossola/remi. Look at the examples, it should be really simple to implement your application.