https://github.com/bschwind/pi-music
A web-based music player for the Raspberry Pi
https://github.com/bschwind/pi-music
Last synced: 2 months ago
JSON representation
A web-based music player for the Raspberry Pi
- Host: GitHub
- URL: https://github.com/bschwind/pi-music
- Owner: bschwind
- Created: 2014-09-14T18:02:25.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-22T04:28:38.000Z (over 11 years ago)
- Last Synced: 2025-03-20T17:51:46.678Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 164 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
pi-music
========
Dependencies
-------------------
- NodeJS
- alsa-utils
- lame
- libasound2-dev
- sqlite3
Test Installation
---------------------
$ speaker-test -c 2
$ play test.wav
Configure sound output
-------------------------------
$ amixer cset numid=3
(where n is 0=auto, 1=headphones, 2=hdmi)
Build
------
$ npm install
- If "npm install" has trouble on sqlite3 (the pi might run out of memory), try the following:
$ npm install sqlite3 --build-from-source
If that still doesn't work, try creating a swap file for extra memory and then running again: https://wiki.archlinux.org/index.php/swap#Swap_file_creation
Run
---
$ node app.js