Commit Graph

29 Commits

Author SHA1 Message Date
hensm
e33531d1ba Improve app message types 2021-04-25 04:26:53 +01:00
hensm
99a40d8302 Fix mdns/castv2 uncaught errors 2021-04-25 04:26:53 +01:00
hensm
d48efe4840 Remove leading slash from message names 2021-04-25 04:26:53 +01:00
hensm
d806bfcf0c Reformat extension message definitions 2021-04-25 04:26:53 +01:00
hensm
a65250e415 Fix serviceDown event name type 2020-09-02 19:26:58 +01:00
hensm
efd3bf820e Get local address for media server from bridge 2020-08-23 15:27:46 +01:00
Matt Hensman
a6ab018171 App refactor (#140)
* Add additional types
* Split components from single index module into smaller modules
* Misc smaller changes
2020-08-21 13:19:01 +01:00
hensm
55e03826e6 Fix sendMessage string handling (fixes #138) 2020-08-19 10:52:11 +01:00
hensm
8cf3abd0fb Fix Linux mdns issue 2020-07-02 05:01:54 +01:00
hensm
484b0327f4 Switch to mdns package 2020-05-06 00:40:30 +01:00
hensm
2eeaff4c15 Add typed messaging 2020-02-18 07:37:20 +00:00
hensm
bbfc380f4a Fix CORS header on local subtitles 2020-01-19 22:08:14 +00:00
hensm
ffb84efb47 Add local .srt subtitle support 2020-01-19 17:32:09 +00:00
hensm
9295d8ee83 Add stop action to receiver selectors 2020-01-16 00:47:38 +00:00
hensm
a23ae9efa8 Show app name in receiver selector if known based on app ID 2020-01-13 23:12:09 +00:00
hensm
d4dfdea050 TSLint compliance 2019-09-25 19:32:18 +01:00
hensm
3ca5e0888d Convert native receiver app to build with xcode 2019-09-12 12:08:34 +01:00
hensm
2050854ca7 Fix switch fallthrough causing bridge erroneous initialization 2019-09-10 21:08:14 +01:00
hensm
c1f34ffeda Add additional error/lifetime handling to bridge 2019-09-03 16:22:46 +01:00
hensm
14d3b2c833 Fix unused parameters 2019-08-16 21:12:44 +01:00
hensm
e2eca07876 Fix unused locals and better receiver selector available media checking 2019-08-16 13:07:18 +01:00
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