401 Commits

Author SHA1 Message Date
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
fa694408c3 Fixed FfmpegDecoder read callback returning EOF incorrectly. 2020-10-22 18:15:13 -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
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
a844b31819 Fixed on-demand transcoding. 2020-10-21 10:54:35 -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
6f302cd374 Ensure the metadata proxy always references the local library. 2020-10-17 00:05:12 -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
3aff937387 Add the ability to adjust HttpDataStream caching and buffering
parameters via plugin config.
2020-10-14 23:54:28 -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
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
360d6a22e0 HttpDataStream/LruDiskCache fixes. 2020-10-12 00:51:06 -07:00
casey langen
8cdebc44f6 Fix LruDiskCache to actually prune entries. 2020-10-11 01:46:46 -07:00
casey langen
691dc7e8b1 Updated FfmpegDecoder::SetPosition() to be seemingly more reliable
across platforms.
2020-10-10 22:53:16 -07:00
casey langen
ccc4040213 Fixed a race condition in GaplessTransport where the recently created
player may get destroyed before the playback bootstrap finishes, leading
to a crash.

Also fixed a bug in LruDiskCache entry parsing that could result in
playback failing.
2020-10-10 22:05:30 -07:00
Casey Langen
e966b36b24 Fixed a couple long-dormant bugs in HttpDataStream 2020-10-10 21:02:56 -07:00
casey langen
0d11e3da12 Fixed filename extension bug in LruDiskCache 2020-10-10 19:15:22 -07:00
casey langen
56dccf0f5f More bug fixes around missing tracks and custom indexer data streams. 2020-10-10 18:52:39 -07:00
casey langen
9a0b828c51 Fix bugs playing tracks with custom indexer sources (mods, chiptunes) 2020-10-10 16:34:39 -07:00
casey langen
c2573fc945 Upgrade jsonpp 2020-10-08 19:02:49 -07:00
casey langen
1cf4b15273 Minor bug fix to TrackMetadataBatchQuery 2020-10-08 17:40:21 -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
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
50260ed53b Added placeholder WebSocketClient to core. 2020-10-05 23:09:42 -07:00
casey langen
b51dee258f Upgraded websocketpp and moved it and libmicrohttpd into the shared
3rdparty directory.
2020-10-05 21:28:46 -07:00
casey langen
06026500c4 Fixed a bug where interrupting indexer source plugins didn't work properly. 2020-07-26 16:31:42 -07:00
casey langen
2df97b1fff A couple small indexer tweaks and fixes. 2020-07-26 13:42:44 -07:00
casey langen
ae1b2ee233 Fixed libmicrohttpd version check. 2020-07-17 19:48:55 -07:00
Casey Langen
e8e9dbd308 More libmicrohttpd compability fixes. 2020-07-11 18:27:28 -07:00
casey langen
2f7f6dd39f Attempted fix for build failures against newer versions of
libmicrohttpd.
2020-07-11 18:12:41 -07:00
casey langen
86ef7e36b0 Revert "CMakeList config compatibilty shuffle."
This reverts commit 9daa84b0c986f8766555e466bc2f7e39bee2e6dc.
2020-07-11 15:46:26 -07:00
casey langen
9daa84b0c9 CMakeList config compatibilty shuffle. 2020-07-11 15:36:46 -07:00
Casey Langen
dbf90ddf45 Fixed libopenmptdecoder macOS compile when static libraries are enabled. 2020-07-11 13:54:15 -07:00
casey langen
28d62efdde Improved thread safety in the mpris plugin. 2020-07-03 22:44:38 -07:00
casey
c2ed479955 Revert mpris change that seems to be causing more harm than good. 2020-07-02 21:53:30 -07:00
casey langen
b39000927a Added missing header file. 2020-07-01 15:11:17 -07:00
casey langen
e2f189fba6 Removed more unnecessary boost cruft and fixed some more indexer issues. 2020-07-01 15:10:08 -07:00
casey langen
3c2a06c9d3 Relocate most bundled taglib grossness into the plugin's CMakeLists.txt 2020-06-30 22:47:48 -07:00
casey langen
91ea1e384c Changes to actually link against the included taglib on Linux if there's
already a system version installed.
2020-06-30 22:42:56 -07:00