Commit Graph

2911 Commits

Author SHA1 Message Date
casey langen
6ccefb0ca3 Fixed unix compile 2020-10-17 19:53:26 -07:00
casey langen
a5c871c89f Integrated the new SSL prefs. Seems to work. 2020-10-17 18:57:06 -07:00
casey langen
205f1697cd Added TLS settings to layout and strings. They are saved/loaded, but not
actually used yet.
2020-10-17 18:46:30 -07:00
casey langen
1352a84752 Fix OpenSSL on x64 2020-10-17 18:27:35 -07:00
casey langen
ed0da3155d It's not possible to easily switch between the TLS and non-TLS
websocketpp clients because they don't share a common base type. Added
RawWebSocketClient to wrap this annoying difference.
2020-10-17 18:15:11 -07:00
casey langen
45ac21508b Upgraded openssl headers. 2020-10-17 18:14:46 -07:00
casey langen
cd5dcdcb74 Reconfigured VS projects to include openssl to support wss and https
client connections.
2020-10-17 15:42:12 -07:00
Casey Langen
187d8fbf17 IDataStream needs a virtual destructor. 2020-10-17 13:44:48 -07:00
Casey Langen
919a843e37 Let's immediately invalidate/fail all queries that happen while we're
offline to avoid callers with `ILibrary::QuerySynchronous` from blocking
unnecessarily.
2020-10-17 13:30:13 -07:00
Casey Langen
9b95723b17 Fix stopping CrossfadeTransport while buffering. 2020-10-17 13:16:19 -07:00
Casey Langen
5367cb2bf0 Fixed GaplessTransport to send missing events while stopping playback
while buffering.
2020-10-17 12:44:42 -07:00
Casey Langen
3e22c82a53 Fixed an issue with message queue target registration in libraries. 2020-10-17 12:21:34 -07:00
casey langen
6f302cd374 Ensure the metadata proxy always references the local library. 2020-10-17 00:05:12 -07:00
casey langen
8200e7003e
Merge pull request #373 from clangen/clangen/all-async-queries-plus-remote-library-poc
Terminal client support for remote libraries
2020-10-16 23:29:52 -07:00
casey langen
b6240d8ab5 Removed unnecessary comment. 2020-10-16 22:11:59 -07:00
Casey Langen
f7eb2e8b27 Fixed bug where local library syncing banner may not get removed
automatically after switching from a remote library.
2020-10-16 18:06:44 -07:00
casey langen
a5d3335d05 Fixed bug where seeking forward in a (cached) HttpDataStream response
didn't work properly. This same bug may also cause weird behaviors
during playback if the engine probes beyond the end of the file, then
attempts to rewind the read head to recover
2020-10-16 13:49:09 -07:00
Casey Langen
7fd31d5611 SettingsLayout adjustments to ensure everything fits on an 80x24 terminal. 2020-10-16 12:07:00 -07:00
Casey Langen
2cd419ea84 Fixed a couple old, previously masked bugs related to static resource
destruction.
2020-10-16 12:01:27 -07:00
casey langen
56fabbc9ea Configurable ping/pong timeout for RemoteLibrary's WebSocketClient 2020-10-15 22:59:28 -07:00
casey langen
874078b9a2 Added correct implementation of RemoteLibrary::IsConfigured() 2020-10-15 20:48:52 -07:00
Casey Langen
a4683e08f5 Fixed another potential MessageQueue issue. This should be the last one. 2020-10-15 20:00:30 -07:00
casey langen
d628fabf71 Removed remnants of client IPV6 config. 2020-10-15 19:02:21 -07:00
casey langen
6448c9ac44 Minor string updates 2020-10-15 16:51:06 -07:00
casey langen
bef6d95744 More explicit book keeping around message targets, and also ensure
TrackList doesn't auto-destruct in the middle of a query. This should
address the remaining shutdown and library switch issues.
2020-10-15 16:20:11 -07:00
casey langen
8ea659114f Explicitly clean up the websocketpp client before the io_service or we
have a race condition that may cause a crash during shutdown.
2020-10-15 16:19:28 -07:00
casey langen
cb5b2006f5 More minor tweaks 2020-10-15 02:30:42 -07:00
casey langen
1b0eb27fc9 Settings layout fixes 2020-10-15 02:24:42 -07:00
casey langen
3aff937387 Add the ability to adjust HttpDataStream caching and buffering
parameters via plugin config.
2020-10-14 23:54:28 -07:00
casey langen
fbe1eef87f Fail websocket connection on server version mismatch. In the future
we'll need to make this smarter via semver or something.
2020-10-14 21:28:21 -07:00
casey langen
463e82c8a3 Added the ability to enable/disable async track queries in TrackListView 2020-10-14 19:29:34 -07:00
Casey Langen
8db2f977e3 Fix unix daemon compile 2020-10-13 23:36:59 -07:00
casey langen
af35c1bfd1 * Move version.h back to musikcore and bump the SDK and API versions.
* Include `app_version` in server handshake
2020-10-13 22:49:32 -07:00
casey langen
cd15bbd941 More comprehensive bug fixes for buffering transport state. Not sure if
we're out of the woods yet...
2020-10-13 22:20:09 -07:00
casey langen
74fc533016 Minor bug fixes to buffering status readout in TransportWindow 2020-10-13 21:58:34 -07:00
casey langen
c644862959 Propagate buffering status from Player -> Transport -> PlaybackService
-> UI and render it in TransportWindow.
2020-10-13 21:37:51 -07:00
casey langen
b21b21dab6 Copyright date updates. 2020-10-12 21:21:58 -07:00
casey langen
1a571a56e2 Migrate to VS2019. 2020-10-12 20:47:09 -07:00
casey langen
cac4821544 Windows is compiling again. 2020-10-12 19:34:56 -07:00
Casey Langen
f0206c05e8 Move "core" directory to "musikcore". Windows build probably needs some
tweaks.
2020-10-12 19:23:17 -07:00
casey langen
3d0b2de319 Fix re-focus behavior to ensure SOMETHING always gets focused when
switching screens.
2020-10-12 10:56:03 -07:00
Casey Langen
bba8c7091a Removed unnecessary includes. 2020-10-12 01:00:00 -07:00
casey langen
360d6a22e0 HttpDataStream/LruDiskCache fixes. 2020-10-12 00:51:06 -07:00
casey langen
1b8cd6bb7f Stumbled upon a super old bug -- if the command bar is focused and then
you click to focus a widget, the command bar stays in a psuedo-focused
state where it still accepts inputs but draws as unfocused. This change
should fix this, but I have concerns about what types of weird edge
cases this may present.
2020-10-11 22:26:58 -07:00
Casey Langen
66ee389ee6 At some point we'll get this banner color bug fixed. Yikes. 2020-10-11 12:27:16 -07:00
Casey Langen
f6ce730a4f Tighten up RemoteLibrarySettingsLayout 2020-10-11 12:26:14 -07:00
Casey Langen
cbbb6072a8 Small string update. 2020-10-11 12:26:14 -07:00
casey langen
0f7a89dc74 Fixed banner style and themes. 2020-10-11 12:24:23 -07:00
casey langen
3ac4c5627d less flashy top banner 2020-10-11 03:06:41 -07:00
Casey Langen
a9627e2e9b layout fixes 2020-10-11 02:46:26 -07:00