birdligh / 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 since 1911.

Borrowed some javascript code from the Go HTML5 Player but with less pain in the butt so it works with the Pi without bogging it down.

INSTALL

Compile nginx with JSON directory listing here.

https://github.com/htruong/nginx-autoindex

Then do ./configure; make; make install

It doesn't generate deb packages correctly yet, so someone help me changing the rules or whatever files needed please?

Then install it on your Pi. Setup whatever way you want. Then create a music directory, let's call it /f/ where you put all your files in. Then do something like this:

location  /f/  {
	autoindex  on;
}

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