kidnan1991 / 1911-player

Playing HTML5 audio on the Raspberry Pi since 1911.

Home Page:http://tnhh.net/v3/text/nginx-json-autoindex-raspberry-pi-streaming-music

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1911 Player

Introduction

1911 player -- playing HTML5 audio on the Raspberry Pi or any recent NGINx installation.

Borrowed some javascript code from the Go HTML5 Player and with some json magic. No special installation of any dynamic module is needed for this scheme to work.

INSTALL

Just install any Nginx version past 1.7.9. Then shove all your mp3 files into a directory, then configure nginx to list the directory structure as JSON.

location /my_mp3_stash/ {
	autoindex on;
	autoindex_format json;
}

Then clone the 1911 player somewhere accessible, change the path declaration on index.html, and you're good to go.

About

Playing HTML5 audio on the Raspberry Pi since 1911.

http://tnhh.net/v3/text/nginx-json-autoindex-raspberry-pi-streaming-music


Languages

Language:HTML 58.1%Language:JavaScript 29.0%Language:CSS 12.9%