Control music playlist from website with Raspberry Pi push buttons -


i'm programming website can choose mp3's play playlist. webiste must accessed raspberry pi. raspberry has 3 buttons(next, previous, pause). can control playlist buttons? when press next, next song on website start.

thanks!

you make file containing variable. every few seconds website loads file via java script , checks value. when press key on rpi, change value, website read (and reset it) , change song. generate file via php, can run on server , on command line.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -