Commit Graph

2798 Commits

Author SHA1 Message Date
casey langen
f620d51590 Show retrying text when attempting to reconnect to remote library. 2020-10-10 14:32:53 -07:00
casey langen
f92714f8cd Settings bug fixes. 2020-10-10 14:00:57 -07:00
casey langen
48c04fa7d1 Remote library loading and saving correctly from settings. Phew. 2020-10-10 13:29:10 -07:00
Casey Langen
d8a31e9f6d Most remaining busy work to save/load remote library settings. 2020-10-10 13:08:56 -07:00
Casey Langen
6cb63c1a6f Fixed RemoteLibrary to load server settings from preferences and updated
RemoteLibrarySettingsLayout. Next up: read/write values from settings.
2020-10-10 12:43:00 -07:00
Casey Langen
cf522a5bb9 RemoteLibrarySettingsLayout has been blocked out, but is not functional. 2020-10-10 12:24:30 -07:00
Casey Langen
20f2b08a67 Bootstrapped RemoteLibrarySettingsLayout and dynamically switching
between it and LocalLibrarySettingsLayout based on selected library.
2020-10-10 11:08:21 -07:00
Casey Langen
13a21c005e Fixed strings 2020-10-10 03:16:00 -07:00
casey langen
2b75dd6c9d Removed some weird old, undocumented focus logic in OverlayBase that
seems to be causing issues after correcting nested focus issues.
2020-10-10 02:03:22 -07:00
casey langen
6fde5a7d0d Fixed Linux compile 2020-10-10 01:56:07 -07:00
casey langen
beef38501a Switch between library types without restarting the app via
MasterLibrary pimpl-style implementation.
2020-10-10 01:50:37 -07:00
casey langen
3ae8aed29a Added MasterLibrary in the same vein as MasterTransport to easily
support dynamically switching between underlying implementations.
2020-10-10 01:36:31 -07:00
casey langen
5f0bb39a49 Update console app's CMakeLists.txt 2020-10-09 23:29:58 -07:00
casey langen
173fef5e62 More annoying boilerplate for library selection. 2020-10-09 23:27:07 -07:00
casey langen
87acc20506 Started breaking settings layout apart and found we have nested layout focus issues. This should address that, but we'll see if any edge cases pop up during testing. 2020-10-09 22:48:11 -07:00
Casey Langen
baff147674 Fixed test code. 2020-10-09 17:11:18 -07:00
casey langen
1d69bb4455 Added the ability for TrackList to make batch queries asynchronously
with built-in debounce. Disabled by default for now because it flickers;
this will be useful in situations where there's high latency.
2020-10-09 17:05:59 -07:00
casey langen
710f237b04 Stop playback on library disconnect. 2020-10-09 14:05:39 -07:00
casey langen
6e55abb2d6 Save state between remote disconnect/reconnect. 2020-10-09 14:03:38 -07:00
casey langen
0bbc637f09 UI tweaks for remote library connection state. 2020-10-09 13:26:47 -07:00
casey langen
e7b1b24a36 Added missing query to CMakeLists.txt 2020-10-09 02:39:00 -07:00
casey langen
43c92d2c6f Fix clang compile 2020-10-09 02:35:45 -07:00
casey langen
befd243c6b Fleshed out some more LibraryNotConnectedLayout. 2020-10-08 23:34:40 -07:00
casey langen
189931fbcc Show LibraryNotConnectedLayout when disconnected from a remote
library, and automatically switch back to `LibraryLayout` when
reconnected.
2020-10-08 23:04:58 -07:00
casey langen
c7b466919f Added stubbed LibraryNotConnectedLayout 2020-10-08 23:03:44 -07:00
casey langen
2e6b588092 Don't raise a changed event unless something actually changed. 2020-10-08 23:03:05 -07:00
casey langen
02046d3a3c Added the concept of library connection state. For local libraries this
doesn't apply, but will be used by remote libraries to communicate to
the UI when they are available (or not).
2020-10-08 22:06:14 -07:00
casey langen
a4426e13f3 Added auto websocket reconnect. 2020-10-08 21:36:19 -07:00
casey langen
cc41b3a0cb Oops, checked in a line I shouldn't have. 2020-10-08 19:58:31 -07:00
casey langen
e0709afdb3 Fixed a memory leak in WebSocketClient 2020-10-08 19:52:20 -07:00
casey langen
c2573fc945 Upgrade jsonpp 2020-10-08 19:02:49 -07:00
casey langen
8c777f8780 Experimental changes to TrackList to support batching. 2020-10-08 17:42:37 -07:00
casey langen
1cf4b15273 Minor bug fix to TrackMetadataBatchQuery 2020-10-08 17:40:21 -07:00
casey langen
cdc55c940b Added TrackMetadataBatchQuery for optimizing remote library track list
rendering. Not used yet.
2020-10-08 00:17:52 -07:00
casey langen
ad3ee46a52 Ensure RemoteLibrary disconnects the underlying websocket when it's
closed.
2020-10-08 00:14:56 -07:00
Casey Langen
f936d21479 Disable websocketpp logging, it's corrupting the terminal. 2020-10-07 17:40:06 -07:00
Casey Langen
a057787c27 Fixed clang compile and warnings. 2020-10-07 17:32:38 -07:00
casey langen
935162e8b9 Implemented remote audio playback and fixed a handful of bugs along the
way. Not near production quality yet, but it *does* work.
2020-10-07 16:37:15 -07:00
casey langen
ed717d4f88 Let's actually use the supplied password. 2020-10-06 23:21:34 -07:00
casey langen
382cfb0711 Fixed a couple other missing MessageQueue broadcasts for serialized
queries. We should be good now.
2020-10-06 23:15:17 -07:00
casey langen
c88942569b Fix SavePlaylistQuery 2020-10-06 23:04:46 -07:00
casey langen
37d7acb147 Fixed some warnings and added missing externally facing connection logic
to WebSocketService.
2020-10-06 22:16:05 -07:00
casey langen
ecd68a6057 IQuery::Synchronous support in RemoteLibrary. 2020-10-06 21:43:45 -07:00
casey langen
72e8895aa9 Kind of sort of working now. Need to get synchronous queries working,
even though they are generally undesireable.
2020-10-06 21:29:08 -07:00
casey langen
3f0603656b Fixed Linux compile. 2020-10-06 19:54:18 -07:00
casey langen
b3c887f7ce Fleshed out some of WebSocketClient and now have queries (de)serializing
through IMetadataProxy via WebSocketServer
2020-10-06 19:12:47 -07:00
casey langen
49b49ade51 The client seems to connect to the web socket server. 2020-10-06 02:28:55 -07:00
casey langen
3d170d4127 Removed some old testing code 2020-10-06 02:28:40 -07:00
casey langen
ab3b425281 Added some disabled code. 2020-10-06 01:22:08 -07:00
casey langen
50260ed53b Added placeholder WebSocketClient to core. 2020-10-05 23:09:42 -07:00