Commit Graph

67 Commits

Author SHA1 Message Date
9ad5795475 Add hover effects for missing and shared tags 2019-12-17 22:31:27 -05:00
06e1e19f72 Add "db" key to config.json.sample 2019-12-17 22:30:43 -05:00
ee5dd22f5f Add escape button handler for form (reset) 2019-12-17 22:30:24 -05:00
1f9a0ea586 Add header link to site root 2019-12-17 13:55:31 -05:00
38f832e8d8 Add script to migrate from file to sqlite backend
This is the script I used to convert all existing media from the file
backend to the sqlite backend. I'm saving it for posterity.

It outputs shell commands to stdout, and SQL commands to stderr. These
can be piped to different files, examined, and run independently, e.g.

    $ ./file-to-sqlite.sh 1>files.sh 2>files.sql
    $ sh files.sh
    $ sqlite3 jukebox.sqlite3 files.sql
2019-12-17 13:50:11 -05:00
c0e2ab0129 Add more logging to sqlite backend 2019-12-17 13:39:18 -05:00
14d915fb7c Switch to less complicated track randomizer 2019-12-17 13:38:55 -05:00
087a06a20c Fix media player not running in media dir 2019-12-17 12:38:55 -05:00
88fc77f0a5 Add file upload support 2019-12-17 12:12:53 -05:00
4c79a7859a Add hightlight style for unused tags in editor 2019-12-17 10:41:24 -05:00
bc48e231ee Add "Library" page with tag/label editor 2019-12-17 10:22:58 -05:00
232929a47a Update FileTag for multi-field
We are separating an identifier (uuid) from the human-readable label.
2019-12-15 12:14:55 -05:00
e23f994894 Add dev files to gitignore
*.log matches the Vagrant log file
2019-12-15 11:52:02 -05:00
7e8f11a33c Change template engine from mustache to handlebars 2019-12-15 11:50:53 -05:00
5782510af1 Add sqlite3 library backend 2019-12-14 21:11:21 -05:00
9576373dbf Fix bug where nodemon would not kill child procs 2019-12-14 21:08:08 -05:00
a6a9050afc Fix Vagrant dev environment
Adding the `-L` flag to nodemon, else it doesn't see our changes.
2019-12-14 18:59:32 -05:00
058f57919a Add support for scripting directory 2019-12-14 16:20:21 -05:00
a4e4a119a2 Update README with more dev instructions 2019-12-14 14:51:06 -05:00
691dbe2852 Move nodemon back to a dev dependency 2019-12-14 14:47:49 -05:00
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