amgill3
Posts: 8
Joined: Thu Mar 17, 2016 7:17 pm

Web Frontend for Audio Playback

Tue Aug 30, 2016 2:36 pm

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.

dddomodossola
Posts: 42
Joined: Thu Jan 22, 2015 8:56 am

Re: Web Frontend for Audio Playback

Tue Aug 30, 2016 3:23 pm

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.

amgill3
Posts: 8
Joined: Thu Mar 17, 2016 7:17 pm

Re: Web Frontend for Audio Playback

Tue Aug 30, 2016 6:00 pm

I was going to be using the WebIOPi framework with a HTML/Javascript web page.

dddomodossola
Posts: 42
Joined: Thu Jan 22, 2015 8:56 am

Re: Web Frontend for Audio Playback

Wed Aug 31, 2016 7:49 am

This might help you https://github.com/dddomodossola/remi. Look at the examples, it should be really simple to implement your application.

Return to “Python”