Commit Graph

2934 Commits

Author SHA1 Message Date
casey langen
a010a7b709 Fixed a couple compiler warnings. 2020-10-21 17:38:09 -07:00
casey langen
62cd360c3d Had read/connection timeout defaults swapped. 2020-10-21 17:15:17 -07:00
casey langen
2b4a8ab5ea HttpDataStream tweaks with customizable timeouts and automatic retries.
Also fixes a bug where failed requests would still report a successful
open, leading to weird buffering behavior in the UI.
2020-10-21 17:08:27 -07:00
casey langen
dceb6085ff Removed unnecessary locking in MasterLibrary that could cause a
deadlock.
2020-10-21 16:14:00 -07:00
casey langen
13d8b3b6c4 CategoryListView widgets can now requery themselves automatically using
visibility events, instead of relying on their parent. This fixes bugs
related to "JumpTo".
2020-10-21 11:36:21 -07:00
casey langen
14c73d9dee Even more betterer visibility handling in Window.cpp. 2020-10-21 11:35:34 -07:00
casey langen
a844b31819 Fixed on-demand transcoding. 2020-10-21 10:54:35 -07:00
casey langen
24e4680bde Minor bugfix for remote library configuration. 2020-10-21 00:40:21 -07:00
casey langen
ffc583da37 Wired up transcoder settings. 2020-10-21 00:33:21 -07:00
casey langen
1a94e1be80 Finished tls warning overlay functionality. 2020-10-20 23:11:58 -07:00
casey langen
4aa19c4f04 Only call up to base class if we don't process the message. 2020-10-20 22:49:48 -07:00
casey langen
3d58d6ade4 Minor code formatting cleanups. 2020-10-20 22:45:14 -07:00
casey langen
2424d2e534 Seems we no longer need to explicitly set an icon -- and with hi-dpi
displays it's doing more harm than good, causing the icon to render
blurry.
2020-10-20 22:44:22 -07:00
casey langen
7d1193b4d7 Fixed long standing issues with OnVisibilityChanged and
OnChildVisibilityChanged. Unfortunately the problem and solution were
discovered in the middle of some feature work, so a couple other tweaks
are bundled into this commit.
2020-10-20 22:30:56 -07:00
casey langen
22a37f66de Let's try to upgrade PDCurses again. Had some problems last go around
with weird behavior, but maybe it's better now.
2020-10-19 22:13:03 -07:00
casey langen
1b57214ab5 Fix ReplayGain on the client-side when using a RemoteLibrary. 2020-10-18 22:11:31 -07:00
casey langen
865880bf47 Fixed MessageQueue broadcast dispatching 2020-10-18 16:06:30 -07:00
casey langen
f2724261f1 fwrite() more aggressively in HttpDataStream so data is available
immediately to readers.
2020-10-18 14:50:03 -07:00
casey langen
6d460fe27a Fix LRU disk cache on Windows. Not sure how this was ever working on
Unix, so we need to check it again.
2020-10-18 13:40:23 -07:00
casey langen
b32d87de92 Upgrade to use 4 processes by default when building the rpi archive. 2020-10-18 06:24:29 +01:00
casey langen
be49a66717 Fixed timeout parameter passed through closure in WebSocketClient 2020-10-17 22:21:52 -07:00
casey langen
5c28cca2d8 Added missing ping implementation in WebSocketClient to ensure the
server (or any SSL terminating endpoints) don't aggressively hang up the
connection.
2020-10-17 22:05:12 -07:00
casey langen
ab48a55adf Added libssl1.1 as a runtime dependency for deb archives. 2020-10-17 20:34:21 -07:00
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