Commit graph

502 commits

Author SHA1 Message Date
Matthew Stratford
2c27899d94 Autopep run. 2021-04-08 21:15:15 +01:00
Matthew Stratford
fbf6052491 Ran black for formatting. 2021-04-08 20:53:51 +01:00
Matthew Stratford
b8ec125490
Merge pull request #3 from UniversityRadioYork/tests
Adds initial player tests and github actions tooling.
2021-04-08 20:47:00 +01:00
Matthew Stratford
b128d14545 Try unittest anyway if flake8 fails. 2021-04-08 20:41:21 +01:00
Matthew Stratford
fdeffff9fd Make fake8 error. 2021-04-08 20:37:41 +01:00
Matthew Stratford
8aba845a14 More test fixing. 2021-04-08 20:37:30 +01:00
Matthew Stratford
a772662e70 Make tests more reliable. 2021-04-08 20:28:35 +01:00
Matthew Stratford
461fc75f2c Add timeouts, name logs per python version. 2021-04-07 23:09:51 +01:00
Matthew Stratford
0f1aee809e Log more info about files existing. 2021-04-07 22:52:33 +01:00
Matthew Stratford
2ce75a4cd4 Include test resources in repo. 2021-04-07 22:32:56 +01:00
Matthew Stratford
61caaa662b Always archive test logs. 2021-04-07 22:25:39 +01:00
Matthew Stratford
d141bf954c Temporarily ignore the UI test. 2021-04-07 22:21:46 +01:00
Matthew Stratford
af368f0756 Fix logs archive. 2021-04-07 22:17:10 +01:00
Matthew Stratford
3733aa3801 Testing template, archive logs. 2021-04-07 22:15:24 +01:00
Matthew Stratford
d50999fa57 Try building with macOS, see if that has audio support. 2021-04-07 22:08:48 +01:00
Matthew Stratford
5113f3490e Try not installing desktop tools 2021-04-07 21:54:58 +01:00
Matthew Stratford
d895f57b9c Test python sounddevice. 2021-04-07 21:52:23 +01:00
Matthew Stratford
a94f3c457d Use pulse audio for dummy output. 2021-04-07 21:49:27 +01:00
Matthew Stratford
67f3e655be Check for modinfo soundcore. 2021-04-07 21:45:36 +01:00
Matthew Stratford
4f1a472fb2 Want linux-modules-extra 2021-04-07 21:36:57 +01:00
Matthew Stratford
462594a449 Update to find new extras package. 2021-04-07 21:32:50 +01:00
Matthew Stratford
00b2614e66 Try adding more alsa. 2021-04-07 21:28:02 +01:00
Matthew Stratford
6863356a22 try adding a dummy sound output. 2021-04-07 21:25:14 +01:00
Matthew Stratford
0422fae749 Fix file leak. 2021-04-07 21:22:11 +01:00
Matthew Stratford
659a2b1e46 Make a dummy config file. 2021-04-07 21:18:00 +01:00
Matthew Stratford
2297203896 Tidy up init for flake8. 2021-04-07 21:13:19 +01:00
Matthew Stratford
5d9e2364e4 Add python 3.9 2021-04-07 21:01:32 +01:00
Matthew Stratford
54c967ad22 Add play on load repeat test and fix timings. 2021-04-07 20:16:01 +01:00
Matthew Stratford
a8d82b7000 File exists/output name validation. 2021-04-07 20:14:39 +01:00
Matthew Stratford
77180fa38e Fix player automations without pygame events. 2021-04-07 20:14:12 +01:00
Matthew Stratford
84175794b8 Handle missing music temp folder. 2021-04-07 20:04:29 +01:00
Matthew Stratford
8876e865bc Fix serial init 2021-04-07 19:54:27 +01:00
Matthew Stratford
807f80106b Add repeat all test (currently failing) 2021-04-07 00:26:57 +01:00
Matthew Stratford
293b981d28 Add repeat one test (currently failing) 2021-04-07 00:16:53 +01:00
Matthew Stratford
b1e58ec559 Add play on load test (currently fails) 2021-04-07 00:09:23 +01:00
Matthew Stratford
800946a142 Stop planitem templates being mutable 2021-04-07 00:07:15 +01:00
Matthew Stratford
ccf397facc make sure weight and trackid are ints. 2021-04-06 22:39:33 +01:00
Matthew Stratford
02766583c0 Add test to check file playing. 2021-04-06 22:39:08 +01:00
Matthew Stratford
168d44c66c Add initial player tests. 2021-04-06 00:32:58 +01:00
Matthew Stratford
a2d6f115e0 Merge branch 'dev' into tests 2021-04-05 22:56:11 +01:00
Matthew Stratford
82a26bb5f8 Merge branch 'mstratford-webstudio' into dev 2021-04-05 22:50:35 +01:00
Matthew Stratford
c406d998f3 Add logrotate and create dir if missing. 2021-04-05 22:41:22 +01:00
Matthew Stratford
5d353f4134 Fix logging. 2021-04-05 22:15:26 +01:00
Matthew Stratford
433f1ef92c Finish controller to log correctly, make port configurable. 2021-04-05 22:13:53 +01:00
Matthew Stratford
fe80b803f8 Sort audio outputs 2021-04-04 23:14:30 +01:00
Matthew Stratford
ccb5886698 Lower CPU a bit with slower loops. 2021-04-04 23:14:08 +01:00
Matthew Stratford
03773c8dda Various reliabilty / debugging improvements 2021-04-04 22:34:46 +01:00
Matthew Stratford
c88e223d6f Add listing and loading of playlists. 2021-04-04 15:26:39 +01:00
Matthew Stratford
5c85466255 Setting output stays on config page & add favicon 2021-03-22 00:45:46 +00:00
Matthew Stratford
5233aacdf9 Add proper message source routing, fixes a lot of instabity of updating. 2021-03-22 00:33:14 +00:00