Commit Graph

58 Commits

Author SHA1 Message Date
hensm
1c67354e1d TSLint compliance 2019-08-16 11:20:29 +01:00
hensm
0ca39af1d6 Handle missing volume in status messages 2019-08-16 03:20:00 +01:00
hensm
a122047676 Fix CPU usage issue with 0-interval timer (fixes #73) 2019-08-11 14:04:14 +01:00
hensm
cec5db503f Misc formatting/import changes 2019-08-05 18:04:40 +01:00
hensm
9e196465e5 Allow mediaCast sender to run in background context 2019-07-27 07:57:49 +01:00
Matt Hensman
ba8c28bf39 Restructure background script (#70)
Splits some background script functionality into separate modules:
 - Receiver selector handling is moved to ./SelectorManager.
 - Status bridge handling is moved to ./StatusManager.
 - Menu creation and updates are handled in ./createMenus.
 - Shim creation is handled in ./createShim.

TypedEventTarget allows EventTarget-derived classes to export typed events.

Options type definition is moved to ./lib/options, module assumes more responsibility for update handling and provides a "changed" event.

Private cast._requestSession method allows bypassing receiver selector.
2019-07-26 00:09:51 +01:00
hensm
9c381c763a Enable ts strict mode for app 2019-05-24 17:02:59 +01:00
Matt Hensman
474dbad1aa Add snap support (#60)
* Initial app daemon implementation

* Pass script path to child bridge processes

* Change WebSocket server port

* Fix error sending message whilst WebSocket connection is closing

* Initial ext daemon connection implementation
2019-05-15 11:30:30 +01:00