Commit Graph

47 Commits

Author SHA1 Message Date
a704d451d4 Remove stylus
Not sure I ever used this.
2019-12-14 14:45:55 -05:00
154adef5ba Update npm dependencies 2019-12-14 14:45:52 -05:00
684eb1448b Update project for new NFC-EXPLORE build 2018-12-08 05:16:02 +00:00
0ae8ec4612 Add package.lock 2018-12-08 05:15:49 +00:00
734bd6cdad Allow tag-reader-dummy from non-localhost 2018-06-02 15:03:44 +00:00
adc365b4f8 File backend: search subdirectories 2017-04-11 19:12:53 -04:00
320c4f7aa5 Allow song randomization when tags are duplicated 2017-04-11 18:58:43 -04:00
cc9d85324b Move media player path into config 2017-04-10 23:08:59 -04:00
6ad68b777d Remove Makefile
We don't really need this. Closes #2
2017-04-10 22:25:22 -04:00
9787deb38e Disable trailing execution of throttled commands
We don't want to run the function at the end of the throttling period.
This causes the track to start, then re-start after the timeout ends.
2017-04-09 22:50:06 -04:00
9fb3b6bc1c Add checks for RFID error codes 2017-04-09 22:45:21 -04:00
beacdf98e7 Add in missing return statements
Fixes several bugs relating to dupe callbacks on the same tag
2017-04-09 22:40:23 -04:00
abe3c9f8aa attempt client reconnection of closed websockets 2017-04-09 22:08:34 -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
1ad4be4bff Use correct logger inside child emitters 2017-04-09 15:24:03 -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
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