441 Commits

Author SHA1 Message Date
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
casey langen
c1ea922e03 Try to work around a strange MPRIS-related assertion observed on Raspbian. 2020-06-29 00:55:43 +01:00
casey langen
1fe0c38b84 Upgrade to a newer build of taglib. 2020-06-27 13:24:41 -07:00
casey langen
18b91bbcf5 Minor fixes for invalid OpenMPT files. 2020-06-25 20:11:06 -07:00
casey langen
4bde6a33ea Fixed OpenMtpDecoder::Exhausted() and cleaned up a couple compile
warnings.
2020-06-25 14:58:06 -07:00
casey langen
e698f57f67 isspace() seems to cause problems on Windows in debug mode with
corrupted unicode characters; we don't need anything fancy, let's just
do this ourselves.
2020-06-19 15:40:59 -07:00
casey langen
d315651939 Let the user customize default album and artist names for mod/tracker
files
2020-06-15 19:45:02 -07:00
casey langen
1e8f14430e Fixed directory browsing with respect to custom indexer source plugins. 2020-06-15 10:48:37 -07:00
casey langen
5ab0883735 Fixed a bug in filename propagation -- ensure we don't include an
extraneous slash.
2020-06-14 22:16:33 -07:00
casey langen
fde389a34a Added a custom IDataStream for libopenmpt to support subtracks. 2020-06-14 22:00:55 -07:00
casey langen
bf99ec1016 Minor cleanup. 2020-06-14 21:42:52 -07:00