8ede18f300
Remove debug line
2017-04-09 14:10:08 -04:00
7c50a17671
Fix bad handling of child proc stderr
2017-04-09 14:08:22 -04:00
1f533d25fb
Use winston for logging
2017-04-09 13:55:11 -04:00
b0f0694832
Create modules for MediaPlayer and TagReader
2017-04-09 12:30:20 -04:00
12529aeae8
Fix: send messages to mp3 player
...
Also reworking the structure of the child processes: they are now
subclasses of EventEmitter, wrapping some process-specific
functionality. The next logical step here would be be distinct modules
for the MP3Player and TagReader children.
2017-04-09 11:52:37 -04:00
8f72c4ecf9
Let templates handle their own dependencies
2017-04-09 11:51:17 -04:00
4b984491c3
Move mustache templates into a module
2017-04-09 10:46:59 -04:00
3d76205c80
Move child process handling into its own module
2017-04-09 09:41:17 -04:00
9caabf3be0
Add nodemon.json config file
2017-04-09 09:41:08 -04:00
65b3ea7a36
Replace pug templating with mustache
...
Resolves #1
2017-04-08 23:53:36 -04:00
d87b6a2313
Add MIT License
2017-04-08 13:49:15 -04:00
6d7b67f655
Add README.md
2017-04-08 13:11:02 -04:00
41a25e2afc
Move stop and pause ids into config
2017-04-08 12:46:31 -04:00
4a224de673
Move tag-reader into bin and remove extension
2017-04-08 12:39:46 -04:00
c01f5d144b
Rename dummy executables
2017-04-08 12:39:39 -04:00
b0c253799b
Add systemd init file with hardcoded path
2017-04-08 12:25:23 -04:00
d604db0d0c
Add Vagrantfile
2017-04-08 12:12:02 -04:00
8aee12fee3
move some settings into a config file
2017-04-08 12:12:02 -04:00
1636bffd71
Ensure we only process 1 line at a time
...
Also debounce unknown cards, rather than processing them as fast as
possible.
2017-04-08 02:02:07 +00:00
ab89453d76
Update logging to be more consistent
2017-04-08 02:01:50 +00:00
22bab34774
Add improved child process handlers
2017-04-08 02:01:12 +00:00
e5c4923609
tag-reader: update to pi-rc522 2.1
...
This version of pi-rc522 gives us a wait_for_tag() method,
greatly reducing CPU usage.
2017-04-08 01:55:34 +00:00
39fd4018f6
Add more make commands
2017-04-08 01:54:49 +00:00
9041587fe1
add media directory
2017-03-26 01:51:32 +00:00
e25670d426
websocket-powered tag history in browser
...
also upgrade from jade 1.11 to pug 2 (project changed names due to
copyright issues)
2017-03-26 01:45:57 +00:00
0988d59529
Remove sudo from mpg321 call
...
We'll just run the parent process as root.
2016-12-22 16:20:01 +00:00
1f27a94c35
Add Makefile
2016-11-20 01:21:40 +00:00
0ff369c53d
Replace python player with node.js player
2016-11-20 01:13:19 +00:00
82d3506ff7
Initial version of Python player
2016-11-13 22:46:16 +00:00