Commit Graph

2934 Commits

Author SHA1 Message Date
casey langen
bd7c60fd57 Separated Color::Banner and Color::Header into their own theme colors,
then updated the theme files and defaults.
2020-10-31 13:23:58 -07:00
casey langen
84b2b8738a Restructure RemoteLibrary and LocalLibrary queries that use
kWaitIndefinite to avoid deadlock.
2020-10-31 11:48:25 -07:00
casey langen
583acbc866 Removed nonsensical NotApplicable state from
ILibrary::ConnectionState.
2020-10-31 00:29:36 -07:00
casey langen
a498ef93ad Added configurable track query timeout for use by PlaybackService. 2020-10-30 22:35:28 -07:00
casey langen
a12134c610 Let's turn on AsyncTrackListQueries by default now that the
functionality has stabilized.
2020-10-30 21:26:42 -07:00
casey langen
783fb467ff Explicitly enable multi-processor compile. 2020-10-30 19:58:28 -07:00
casey langen
6af0d01b6e Fail fast when querying tracks if we know we're not connected in
PlaybackService.
2020-10-30 19:57:56 -07:00
casey langen
b938c534ac Added Fedora 33 support to CI. 2020-10-30 17:22:10 -07:00
casey langen
a06d6f28d1 Added track fetching timeouts to PlaybackService. This should skirt a
couple edge cases and possibly allow us to not immediately stop playback
when reconnecting.
2020-10-30 17:21:28 -07:00
casey langen
5e23a21aa6 Modernize override syntax. 2020-10-30 16:47:34 -07:00
casey langen
c536a4bc9d Forgot to push this fix in last night -- fixes query timeout issues due
to potential int overflow with kWaitIndefinite.
2020-10-28 11:39:35 -07:00
Casey Langen
aba46739b6 I guess it's not safe to use 64-bit integers when dealing with
std::chrono and milliseconds?
2020-10-27 23:54:56 -07:00
casey langen
d68a98c7a6 Tuning the cache window timeout param across platforms. 150 seems reasonable in Windows and WSL. Will try macOS next. 2020-10-27 22:03:19 -07:00
casey langen
1258c2803e Added missing wait_for logic in RemoteLibrary 2020-10-27 22:01:23 -07:00
casey langen
7da49b1981 Removed file that was unintentionally added. 2020-10-27 21:43:41 -07:00
casey langen
93acbbb7a5 Was referencing a stack allocated variable from a lambda that was called
from a different stack. Ugh.
2020-10-27 21:42:42 -07:00
casey langen
8ccb1b8fd4 Add a const for the TrackList CacheWindow query timeout. 2020-10-27 21:25:14 -07:00
Casey Langen
10072762e1 Small RemoteLibrary async query race condition fix, and tweaked a couple
other minor things to improve TrackListView redraws.
2020-10-27 18:27:08 -07:00
casey langen
38c5e5c9fd Minor refactor to query enqueue interface with the added ability to
specify explicit timeouts.
2020-10-27 16:57:34 -07:00
casey langen
5f8c0f4e49 Made it a bit easier to tweak skeleton rows. 2020-10-26 22:29:20 -07:00
casey langen
f78dbcfe9f Improved async TrackList track states in TrackListView 2020-10-26 20:20:24 -07:00
casey langen
3ec8609b90 Added back some PDCurses changes that'll make it easier to upgrade to
newer versions in the future, if/when it stablizes.
2020-10-24 22:36:44 -07:00
casey langen
04ea865d3a CHANGELOG update for 0.94.0 work thus far. 2020-10-24 22:26:07 -07:00
casey langen
f9f0cb16f8 Added missing libssl runtime dependency, and then sort both dev and runtime deps alphabetically. 2020-10-24 21:08:38 -07:00
casey langen
b821f6a293 Fixes a bug where if a nested child was focused, then the container lost
focus, then the user tabbed back to the nested layout it would not focus
the first/last subview correctly.
2020-10-24 17:20:29 -07:00
casey langen
b7ba7eb6bc More focus related fixes. 2020-10-24 16:49:20 -07:00
casey langen
11a3ac9c8e Pipe WebSocket message send errors back to the caller instead of
throwing an exception to kill the app.
2020-10-24 14:22:15 -07:00
casey langen
5332bb3526 Also check for _DEBUG 2020-10-24 14:05:46 -07:00
Casey Langen
2989870580 ASSERT_MAIN_THREAD() cleanups. 2020-10-24 13:14:42 -07:00
casey langen
47739cb322 Filled in Win32 assert stubs. 2020-10-24 12:58:02 -07:00
Casey Langen
46e3d5846a I think we have an edge case somewhere that we are updating the UI from
a non-UI thread. Added some asserts in debug mode to help track this
down. TODO: fill in Win32 stubs.
2020-10-24 12:39:42 -07:00
Casey Langen
c92744d102 Let's use std::atomic<> instead of volatile. 2020-10-24 12:15:53 -07:00
Casey Langen
fbf8844c91 Tweaked retry count logic to be weighted based on failure type; if the
server is overloaded let's allow for more retries with longer tries
between attempts.
2020-10-24 12:14:00 -07:00
Casey Langen
a302837f1a Backed out a previous attempt to fix multiple streams trying to cache
the same file simultaenously. This was later fixed in a more robust way
in LruCache using Player instanceIds, but the code removed in this
commit was left around to rot and cause issues.
2020-10-24 12:07:48 -07:00
Casey Langen
a50c2467dc GmeDecoder variable renames for clarity 2020-10-23 23:54:40 -07:00
casey langen
794aa9a56c Revert "Let's try to upgrade PDCurses again. Had some problems last go around"
This reverts commit 22a37f66de.
2020-10-23 22:03:48 -07:00
casey langen
f6c96b5860 Display server information in the remote management screen. 2020-10-23 12:16:39 -07:00
casey langen
ec17f3a2a5 Upgraded to Android 4.1 tooling, and upgraded third-party libraries for
musikdroid.
2020-10-23 11:36:51 -07:00
casey langen
001afe6e9a Don't crash on malformed input when configuring a remote library. 2020-10-23 11:01:54 -07:00
casey langen
c6f7faa3cb Minor bug fixes in HttpDataStream's LruCache and added the ability to
specify the maximum number of simultaneous transcoders in the server.
2020-10-22 22:39:46 -07:00
Casey Langen
66e06e1fc8 Ensure we prime the RemoteLibrarySettingsLayout during construction. 2020-10-22 18:22:48 -07:00
Casey Langen
556b09daa3 break out of decoder resolution 2020-10-22 18:15:39 -07:00
Casey Langen
fa694408c3 Fixed FfmpegDecoder read callback returning EOF incorrectly. 2020-10-22 18:15:13 -07:00
casey langen
e44c6be68d Ubuntu Groovy support 2020-10-22 17:15:38 -07:00
casey langen
60a206a2d6 Ensure remote library settings are always saved. 2020-10-22 17:03:47 -07:00
Casey Langen
ed4869298c Compiler compatibility fixes. 2020-10-22 00:28:33 -07:00
casey langen
ed4f2440a6 Use an atomic variable for tracking instanceIds in HttpDataStream 2020-10-22 00:06:42 -07:00
casey langen
b563d512d1 Variable naming updates for clarity 2020-10-22 00:01:58 -07:00
casey langen
08a547253f More HttpStream bugfixes around simultaenous Players with the same
endpoint.
2020-10-21 23:58:38 -07:00
casey langen
70579d097f Fixed bugs around trying to cache the same file multiple times
simultaneously. Also fixed a bug where the remote track "uri" type was
incorrect when the transcoder is enabled.
2020-10-21 23:01:29 -07:00