Commit Graph

23 Commits

Author SHA1 Message Date
154adef5ba Update npm dependencies 2019-12-14 14:45:52 -05:00
9fb3b6bc1c Add checks for RFID error codes 2017-04-09 22:45:21 -04:00
7e519c4736 Create web UI for sending tags
Sure, why the hell not.
2017-04-09 22:08:34 -04:00
43ad5281e3 Create PlayLog, move tag identification into MediaLibrary 2017-04-09 22:08:34 -04:00
78f2802dea Use Media Library for finding mp3s
Closes #4
2017-04-09 22:08:24 -04:00
2ec67288e4 Filter out @F messages from mpg321 2017-04-09 15:08:32 -04:00
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
65b3ea7a36 Replace pug templating with mustache
Resolves #1
2017-04-08 23:53:36 -04:00
41a25e2afc Move stop and pause ids into config 2017-04-08 12:46:31 -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
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
0ff369c53d Replace python player with node.js player 2016-11-20 01:13:19 +00:00