Commit graph

245 commits

Author SHA1 Message Date
a2b2a5ebc5
Tick on ALRM signal received 2016-09-13 00:23:49 +02:00
cf58424524
Read DB changes from disk
Without this commit, only events managed through WebUI are correctly modified,
making the tick-based approach only partially useful
2016-09-13 00:23:49 +02:00
7f4fd09a78
clearer messages between Monitor and Controller
"add" was very generi, and is easy to get confused with other part of the code;
uris_enqueue is clearer, more unique, therefore more "greppable"
2016-09-13 00:23:49 +02:00
9b9e0b72a4
rewrite event system to be tick-based
FIX #16
2016-09-13 00:23:39 +02:00
6a1f69109d
audiogenerators documentation 2016-09-11 11:16:13 +02:00
a79266187e
FIX edit event ui 2016-09-11 11:15:37 +02:00
aa799c15ef
workaround setuptools "flask not found" bug 2016-09-11 11:15:29 +02:00
676224dbeb
frequency form is aware of human intervals
refs #20
2016-09-09 12:39:47 +02:00
6977608c7e
make human time intervals available in timegens
Note that the WebUI is still not aware of this functionality
refs #20
2016-09-09 12:39:47 +02:00
2895b2fe41
ignore eggs 2016-09-09 12:39:09 +02:00
60528981c3
FIX player/controller description 2016-09-09 12:39:09 +02:00
50578aa846
requirements.txt updated 2016-09-09 12:36:35 +02:00
dfa910a642
log level controlled by DEBUG 2016-09-09 12:36:30 +02:00
284a3fa029
UI: clarify DB list
grouping of time/audio into an "event" improved
2016-09-09 11:01:47 +02:00
9ae3185ade
UI: redirect to edit_event after adding time 2016-09-09 10:53:26 +02:00
f990040383
fix readme syntax 2016-09-08 20:54:42 +02:00
24ad892222
FIX signal handling
Controller receive them (and ignores them)
2016-09-08 20:50:51 +02:00
2bbbf534eb
controller and player are distinct objects
FIX #18
2016-09-08 20:50:45 +02:00
7cc772163f
[PY3]: state python3-only compatibility in setuptools 2016-08-29 20:32:03 +02:00
101d5e04c6
[PY3] change imports so they are py3-compatible 2016-08-29 20:32:03 +02:00
b25dd923ad
some more doc to understand the code 2016-08-29 19:49:40 +02:00
3edd08e8b3 make exceptions while enqueuing not blocking 2016-08-29 18:37:57 +02:00
ff48437a15 Unicode used in other audiogens 2016-08-29 17:52:19 +02:00
0b02c5d05b mpd library used with unicode 2016-08-29 17:46:16 +02:00
bb48f47a51
sphinx-apidoc works from any directory 2016-08-24 11:43:15 +02:00
7769136f3d
Don't fail build if some apidoc does 2016-08-24 11:31:58 +02:00
838e7c9c86
Make build_sphinx work on missing apidoc
of course in that case there will be no API doc
2016-08-24 11:22:12 +02:00
2bde308720
add "metadata" to song while adding them
This gives more useful logs (songs now have an "origin"), and paves way to #7
2016-08-23 18:23:49 +02:00
e64880b445
UI for upcoming events /view/status/running
fix #15
2016-08-23 17:57:03 +02:00
59741db5eb
larigira has its own reserved TMPDIR 2016-08-23 17:16:19 +02:00
4b34670557
script audiogen respects TMPDIR 2016-08-23 17:16:19 +02:00
162dac71b0
More info about audiogens on /api/debug/running 2016-08-23 17:16:18 +02:00
BoySka
06e6402163 Merge pull request #14 from leophys/13-fix-enqueue-problem
fix for issue 13
2016-07-20 12:38:43 +02:00
blallo
49b079d0e7 fix for issue 13 2016-07-20 12:34:57 +02:00
a1f0eabc50
More validation for script names 2016-07-20 11:15:12 +02:00
d132a41051
Validation errors displayed in form itself 2016-07-20 11:15:12 +02:00
e98737e549
FIX crash on file:// if MPD_HOST is not a socket
mpd allows inserting file:/// only through a unix-domain socket, not
through TCP. This was causing the player to crash when such a thing was
happening. This will now not crash, only log the error
2016-07-20 11:07:00 +02:00
0ca94d7d85 audiogen complains better 2016-07-19 17:12:36 +02:00
366c723266 dbmanage outputs JSON, too 2016-07-19 17:01:30 +02:00
9b35dd5fdc show event in JSON when editing 2016-07-19 16:58:10 +02:00
354842841c FIX apidoc generation 2016-07-19 16:52:49 +02:00
3e0ea06172 document audiogen script interface 2016-07-19 16:12:25 +02:00
a829838bd2 some more debug info about running audiogens 2016-07-19 15:37:06 +02:00
135740b437 celery is not used anymore 2016-07-19 15:19:03 +02:00
93833cb29e greenlets are now debugged as a tree (well, mostly) 2016-07-18 16:24:52 +02:00
3229330cfc Improve doc and debug about greenlets hell 2016-07-18 15:54:22 +02:00
bae09d70f7 logging on validation errors 2016-07-18 14:38:19 +02:00
facde97f80 WebUI supports frequency timegen 2016-07-18 14:38:03 +02:00
57b7586c0a
New audiogen: script
closes #9
2016-07-18 12:27:21 +02:00
52cf40b780
Retry on MPD ConnectionError 2016-07-18 12:15:28 +02:00