Commit Graph

2645 Commits

Author SHA1 Message Date
casey langen
6fde5a7d0d Fixed Linux compile 2020-10-10 01:56:07 -07:00
casey langen
beef38501a Switch between library types without restarting the app via
MasterLibrary pimpl-style implementation.
2020-10-10 01:50:37 -07:00
casey langen
3ae8aed29a Added MasterLibrary in the same vein as MasterTransport to easily
support dynamically switching between underlying implementations.
2020-10-10 01:36:31 -07:00
casey langen
5f0bb39a49 Update console app's CMakeLists.txt 2020-10-09 23:29:58 -07:00
casey langen
173fef5e62 More annoying boilerplate for library selection. 2020-10-09 23:27:07 -07:00
casey langen
87acc20506 Started breaking settings layout apart and found we have nested layout focus issues. This should address that, but we'll see if any edge cases pop up during testing. 2020-10-09 22:48:11 -07:00
Casey Langen
baff147674 Fixed test code. 2020-10-09 17:11:18 -07:00
casey langen
1d69bb4455 Added the ability for TrackList to make batch queries asynchronously
with built-in debounce. Disabled by default for now because it flickers;
this will be useful in situations where there's high latency.
2020-10-09 17:05:59 -07:00
casey langen
710f237b04 Stop playback on library disconnect. 2020-10-09 14:05:39 -07:00
casey langen
6e55abb2d6 Save state between remote disconnect/reconnect. 2020-10-09 14:03:38 -07:00
casey langen
0bbc637f09 UI tweaks for remote library connection state. 2020-10-09 13:26:47 -07:00
casey langen
e7b1b24a36 Added missing query to CMakeLists.txt 2020-10-09 02:39:00 -07:00
casey langen
43c92d2c6f Fix clang compile 2020-10-09 02:35:45 -07:00
casey langen
befd243c6b Fleshed out some more LibraryNotConnectedLayout. 2020-10-08 23:34:40 -07:00
casey langen
189931fbcc Show LibraryNotConnectedLayout when disconnected from a remote
library, and automatically switch back to `LibraryLayout` when
reconnected.
2020-10-08 23:04:58 -07:00
casey langen
c7b466919f Added stubbed LibraryNotConnectedLayout 2020-10-08 23:03:44 -07:00
casey langen
2e6b588092 Don't raise a changed event unless something actually changed. 2020-10-08 23:03:05 -07:00
casey langen
02046d3a3c Added the concept of library connection state. For local libraries this
doesn't apply, but will be used by remote libraries to communicate to
the UI when they are available (or not).
2020-10-08 22:06:14 -07:00
casey langen
a4426e13f3 Added auto websocket reconnect. 2020-10-08 21:36:19 -07:00
casey langen
cc41b3a0cb Oops, checked in a line I shouldn't have. 2020-10-08 19:58:31 -07:00
casey langen
e0709afdb3 Fixed a memory leak in WebSocketClient 2020-10-08 19:52:20 -07:00
casey langen
c2573fc945 Upgrade jsonpp 2020-10-08 19:02:49 -07:00
casey langen
8c777f8780 Experimental changes to TrackList to support batching. 2020-10-08 17:42:37 -07:00
casey langen
1cf4b15273 Minor bug fix to TrackMetadataBatchQuery 2020-10-08 17:40:21 -07:00
casey langen
cdc55c940b Added TrackMetadataBatchQuery for optimizing remote library track list
rendering. Not used yet.
2020-10-08 00:17:52 -07:00
casey langen
ad3ee46a52 Ensure RemoteLibrary disconnects the underlying websocket when it's
closed.
2020-10-08 00:14:56 -07:00
Casey Langen
f936d21479 Disable websocketpp logging, it's corrupting the terminal. 2020-10-07 17:40:06 -07:00
Casey Langen
a057787c27 Fixed clang compile and warnings. 2020-10-07 17:32:38 -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
ed717d4f88 Let's actually use the supplied password. 2020-10-06 23:21:34 -07:00
casey langen
382cfb0711 Fixed a couple other missing MessageQueue broadcasts for serialized
queries. We should be good now.
2020-10-06 23:15:17 -07:00
casey langen
c88942569b Fix SavePlaylistQuery 2020-10-06 23:04:46 -07:00
casey langen
37d7acb147 Fixed some warnings and added missing externally facing connection logic
to WebSocketService.
2020-10-06 22:16:05 -07:00
casey langen
ecd68a6057 IQuery::Synchronous support in RemoteLibrary. 2020-10-06 21:43:45 -07:00
casey langen
72e8895aa9 Kind of sort of working now. Need to get synchronous queries working,
even though they are generally undesireable.
2020-10-06 21:29:08 -07:00
casey langen
3f0603656b Fixed Linux compile. 2020-10-06 19:54:18 -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
49b49ade51 The client seems to connect to the web socket server. 2020-10-06 02:28:55 -07:00
casey langen
3d170d4127 Removed some old testing code 2020-10-06 02:28:40 -07:00
casey langen
ab3b425281 Added some disabled code. 2020-10-06 01:22:08 -07:00
casey langen
50260ed53b Added placeholder WebSocketClient to core. 2020-10-05 23:09:42 -07:00
casey langen
45f4a96ea7 Fixed LastFm compiler warnings with some good old fashioned gross casts. 2020-10-05 23:00:25 -07:00
casey langen
4cfe49a061 Added ILibrary::IsConfigured() 2020-10-05 23:00:14 -07:00
casey langen
c15033c77d Fixed a bug in LocalMetadataProxy that was assuming the input Track
would always be the same reference as the resulting track in
TrackMetadataQuery.
2020-10-05 22:19:24 -07:00
casey langen
c63892bcdc Fixed a couple really old LibraryTrack bugs caused by code that was
never exercised.
2020-10-05 22:03:26 -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
61a0ee78de Fixed MetadataMapListFromJson 2020-10-05 21:11:02 -07:00
casey langen
0dfe2fc26e Intermediate commit; some bugs in serializing MetadataMap fixed, others
still exist.
2020-10-05 20:51:48 -07:00
casey langen
fc8279968e Finished initial round of query serialization. 2020-10-05 18:44:16 -07:00
casey langen
9af8844a29 Added GetPlaylistQuery serialization and fixed a bug in
CategoryTrackListQuery
2020-10-04 22:58:46 -07:00
casey langen
ed313ecce0 Fixed out of control memory / CPU usage caused by unnecessary track
parsing.
2020-10-04 22:42:29 -07:00
casey langen
139c669790 musikcubed/main.cpp fix for updated LibraryFactory API 2020-10-04 21:55:52 -07:00
casey langen
b8f7861917 More LibraryFactory bug fixes. This thing needs to be rethought. 2020-10-04 21:52:12 -07:00
casey langen
1deb6cf153 * Another minor LibraryFactory() refactor -- it's still gross, but not as bad now.
* Fixed RemoteLibrary to return a stubbed IIndexer to avoid null derefs
* Fixed a couple bugs in track serialization
2020-10-04 21:44:29 -07:00
casey langen
dd5cd54e33 Added CategoryTrackListQuery serialization 2020-10-04 15:10:58 -07:00
casey langen
e467e28513 Updated QueryRegistry with new queries. 2020-10-04 13:12:42 -07:00
casey langen
51e1025ecb Make SearchTrackListQuery serializable and add utility methods for de/serializing TrackList and std::set<> types. 2020-10-04 11:14:09 -07:00
casey langen
3257179db6 SetTrackRatingQuery is now serializable 2020-10-03 23:22:53 -07:00
casey langen
7f4d0ee78b AllCategoriesQuery is now serializable. 2020-10-03 23:06:14 -07:00
casey langen
6cbe4ca758 Fix TrackMetadataQuery. 2020-10-03 22:17:00 -07:00
casey langen
5a08277603 TrackMetadataQuery work in progress. 2020-10-03 22:06:10 -07:00
casey langen
acbe1f91ef Debounce category searches 2020-10-01 23:59:42 -07:00
casey langen
a491964779 Added serialization for CategoryListQuery 2020-10-01 23:53:12 -07:00
Casey Langen
6e8af510c1 Added (untested) serialization for AlbumListQuery 2020-10-01 22:35:28 -07:00
casey langen
34eb6ae805 Added missing files to core's CMakeLists.txt 2020-10-01 10:06:39 -07:00
casey langen
dfef6af835 Restructured query file locations and namespaces. 2020-09-30 23:21:16 -07:00
casey langen
4ee0b92323 Some initial plumbing to test query serialization/deserialization so we
can make requests over websockets.
2020-09-30 23:08:03 -07:00
casey langen
b181ed50f6 Let's always use TrackMetadataQuery to get track metadata from the
database.
2020-09-30 00:39:37 -07:00
casey langen
578e470fb3 TrackMetadataQuery does not need a direct reference to an ILibrary --
let's remove this because it's causing us to perform weird gymnastics.
2020-09-30 00:19:37 -07:00
casey langen
7aa7cf276d Additional prep work for supporting async Track queries in TrackListView 2020-09-30 00:13:27 -07:00
casey langen
d235b3b116 Update comments to reflect correct SDK version. 2020-09-29 01:14:32 -07:00
casey langen
7c5d2f5a2e Added missing ReplayGain.h file and fixed lyrics to use all
asynchronous queries.
2020-09-29 01:11:43 -07:00
casey langen
191d111aad Remove ReplayGainQuery, and include it as part of the track queries.
Also clean up some warnings.
2020-09-29 01:00:21 -07:00
casey langen
689b9b08b4 Converted BrowseOverlays synchronous queries to async. 2020-09-28 22:24:31 -07:00
casey langen
2c801a8039 Migrate synchronous queries to async in PlayQueueOverlays. 2020-09-28 22:19:34 -07:00
casey langen
fc9a87b8ce Fixed an old bug that could cause library query callbacks to run twice. 2020-09-28 00:49:18 -07:00
casey langen
88ad16ac69 Version update for next release. 2020-09-19 11:13:09 -07:00
trackiss
2a99c48a45
Create ja_JP.json 2020-09-18 16:01:52 +09:00
casey langen
4ff1a0a464 Revert "Merge upstream PDCurses"
This reverts commit 0ce8f1ee98.
2020-09-07 19:09:29 -07:00
casey langen
6fcd248728 Revert "Fix win32 startup crashes due to restructured PDCurses initialization"
This reverts commit 9fa3f521ac.
2020-09-07 19:09:23 -07:00
casey langen
9fa3f521ac Fix win32 startup crashes due to restructured PDCurses initialization
logic.
2020-08-31 22:33:28 -07:00
casey langen
0ce8f1ee98 Merge upstream PDCurses 2020-08-31 22:33:16 -07:00
casey langen
95b928665d Fixed issue where switching output device while paused would start
playback again.
2020-08-30 13:42:09 -07:00
casey langen
d56fc1158c Dead code removal. 2020-07-29 19:56:47 -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
4827a6b1a5 Updated versionCode for new build. 2020-07-11 20:13:32 -07:00
Casey Langen
fba8e9e7a5 Version bump. 2020-07-11 18:28:46 -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
d43a74f708 musikdroid version bump. 2020-07-11 17:39:48 -07:00
casey langen
86ef7e36b0 Revert "CMakeList config compatibilty shuffle."
This reverts commit 9daa84b0c9.
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
20436a3a74 Cruft removal. 2020-07-08 23:46:45 -07:00
casey langen
6d415ebdee Fixed bug where indexer could not be interrupted. 2020-07-08 23:44:46 -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
cedd4c424e Let's not spam the log, and also ensure we have a maximum of 1000
entries.
2020-07-01 20:14:56 -07:00
casey
0300eccbf1 Fix bug where some Indexer work may get thrown away. 2020-07-01 15:57:24 -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
3e633441e3 Um... oops. 2020-07-01 14:18:21 -07:00
casey langen
d4ce4e8eb5 Indexer logging, when enabled, will now be far more verbose. 2020-07-01 14:14:16 -07:00
casey langen
575072b7b7 Fixed IntOverlay. 2020-07-01 14:14:07 -07:00
casey langen
9433553db1 Make some of the Indexer's internals easily configurable. 2020-07-01 13:56:05 -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
97d5124932 Fixed Trim() 2020-06-26 15:24:34 -07:00
casey langen
18b91bbcf5 Minor fixes for invalid OpenMPT files. 2020-06-25 20:11:06 -07:00
casey langen
8d89fd4ac6 Upgrade PDCurses 2020-06-25 18:21:04 -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
08cc42a9d0 Whitespace cleanup. 2020-06-20 19:36:50 -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
19634e67ca Version bump to 0.93.0 for next release. 2020-06-19 02:47:55 +01:00
casey langen
48a15ed1f1 Fixed memory leak when interrupting fs::scanDirectory 2020-06-17 17:09:45 -07:00
casey langen
a5dcf74588 Fixed fs::scanDirectory to be more reliable on *nix platforms with more uncommon filessytems (e.g. NFS on FreeBSD) 2020-06-16 22:53:30 +00: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
e1c44404e4 Fixed *nix directory traversal bug. 2020-06-14 22:37:09 -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
casey langen
9a1619b575 Playback seems to be working. Largely untested, needs cleanup, and a
custom data stream to handle files with multiple sub-tracks.
2020-06-14 21:40:27 -07:00
casey langen
fab2384be8 Fixed externalId parsing bug. 2020-06-14 21:32:48 -07:00
casey langen
2a75d4fa6f Unix compile fixes. 2020-06-14 19:28:09 -07:00
casey langen
1172eba620 Initial support for indexing mod files. No playback yet. 2020-06-14 19:24:06 -07:00
casey langen
16e2d89184 Extract reusable functionality from the GME plugin to the core. 2020-06-14 19:23:29 -07:00
casey langen
300d2e6649 macOS static link scaffolding. One of these days we'll try to actually
implement the decoder itself...
2020-06-14 13:44:45 -07:00
casey langen
8d72a19955 Fixed *nix scaffolding so linking against the external library works
properly.
2020-06-14 13:39:39 -07:00
casey langen
192ce4a700 Additional scaffolding for Indexer integration. 2020-06-14 13:34:36 -07:00
casey langen
e1a2e3f415 Updated bin submodule. 2020-06-14 13:34:18 -07:00
casey langen
242be334ae The latest version of VS seems to have serious problem with custom x64
configurations with non-standard names. Yikes.
2020-06-14 12:57:50 -07:00
casey langen
2221a9d5c7 Removed cruft from ffmpegdecoder's VS project 2020-06-14 12:57:30 -07:00
casey langen
2f8c9538d9 Fixed libopenmptdecoder scaffolding and build on Windows. 2020-06-14 12:57:08 -07:00
casey langen
d5915cc50a Scaffolding compiles in *nix platforms. Next up: Windows 2020-06-14 11:55:47 -07:00
casey langen
e3da6e457a Added scaffolding for a libopenmpt decoder. 2020-06-14 11:50:37 -07:00
casey langen
bb8d874eb0 Upgrade to Android Studio 4.0 and related tooling. 2020-06-14 11:49:28 -07:00
casey langen
e660e0d8ec Improve buggy terminal emulator detection. 2020-06-07 11:54:06 -07:00
casey langen
6e1eddf656 Version bump for 0.92.1 release. 2020-05-25 19:38:53 -07:00
casey langen
dafcafa11d Fixed a bug where HTTP authentication was not functioning properly. 2020-05-25 19:38:53 -07:00
casey langen
cd0132dd0d musikdroid version bump. 2020-05-25 13:31:27 -07:00
casey langen
f796f6169f Updated musikcube-bin to include newer ExoPlayer flac decoder to fix
crash.
2020-05-25 00:08:47 -07:00
casey langen
3fa42daba6 Fixed a bug where musikdroid may corrupt downloads, and/or give them an
incorrect file extension.
2020-05-24 23:07:19 -07:00
casey langen
3d3878fc95 Version bump for impending release. 2020-05-24 15:32:59 -07:00
casey langen
6906826d52
Merge pull request #343 from adem4ik/master
Add localized comments to *.desktop files
2020-05-24 13:26:51 -07:00
casey langen
6972a1df47 Added the ability to disable window title updates. 2020-05-24 11:01:06 -07:00
casey langen
aefb02ba3c Fixed case sensitivty issue in FfmpegDecoderFactory::CanHandle(). 2020-05-24 10:42:28 -07:00
casey langen
9ff959536d Fix bugs around download tracks with titles that contain path
separators, or tracks without metadata.
2020-05-10 11:34:00 -07:00
adem
76a8f993b6 Add localized comments to *.desktop files 2020-05-01 00:20:46 +04:00
casey langen
0703bf4134
Merge pull request #336 from Siheyuan98/master
More Simplified Chinese Translation
2020-04-29 21:45:31 -07:00
casey langen
628dae8d7f Android dependency upgrades. 2020-04-29 10:04:12 -07:00
casey langen
8549e496c2 Also support PlayFromTop in TrackSearchLayout 2020-04-29 00:19:16 -07:00
casey langen
e4141fb220 Added three new hotkeys:
- Play the current library contents from the top: M-P
  - Jump to the next group in the current track list: ]
  - Jump to the previous group in the current track list: [
2020-04-28 23:56:46 -07:00
casey langen
6d04397dd7 More Android Studio upgrades. 2020-04-17 23:31:56 -07:00
UM-Li
69bee63cd8
Add files via upload 2020-04-13 17:24:50 -05:00
UM-Li
ac38534899
Add files via upload 2020-04-13 17:20:09 -05:00
adem
a033ae35a8 Optimize PNG files 2020-04-13 03:54:56 +04:00
casey langen
6074f78922
Merge pull request #333 from adem4ik/patch-1
Add localized comment to musikcube.desktop
2020-04-12 14:22:42 -07:00
casey langen
0c46146414
Merge pull request #330 from adem4ik/master
Update ru_RU.json
2020-04-12 14:22:22 -07:00
casey langen
eeb1587c78 Version bump for Win32 release. 2020-04-12 12:56:52 -07:00
casey langen
81d274343c Updated 3rdparty/bin submodule with working win32 release zlib. 2020-04-12 12:55:01 -07:00
Andrei Stepanov
ac3a338266
Add localized comment to musikcube.desktop 2020-04-12 23:39:30 +04:00
adem
8f69271b0c Update ru_RU.json 2020-04-12 15:48:00 +04:00
casey langen
15dd9c0216 Added missing roundIcon to AndroidManifest for adapative icon support. 2020-04-11 22:35:02 -07:00
casey langen
d9d1e02489 musikdroid version bump. 2020-04-11 19:22:41 -07:00
casey langen
f86ae63196 Removed the Spotlight feature; it doesn't add much and can be glitchy 2020-04-11 19:21:59 -07:00
casey langen
279825e51e Added Android icon. 2020-04-11 18:57:17 -07:00
casey langen
0461e59b3d Updated musikcube.desktop for the snap. 2020-04-11 13:46:36 -07:00
casey langen
ee4d29631b Keep losing the logo PSDs, let's just add them to the repo. 2020-04-11 12:58:02 -07:00
casey langen
16895eaa1d Fixed a couple weird bugs in ScrollAdapterBase that could cause redraw
issues when switching between non-empty and empty lists.
2020-04-11 00:45:37 -07:00
casey langen
528597bf5f Updated CHANGELOG and bumped version to 0.90.0. 2020-04-10 22:25:32 -07:00
casey langen
5f40690efb Less awkward fix for werase() issue in ScrollAdapterBase. 2020-04-10 21:49:57 -07:00
casey langen
23b274bce9 Merge branch 'master' into clangen/upstream-pdcurses 2020-04-10 21:47:19 -07:00
casey langen
c95cb68ae4 Fix invalid handle issue in AlsaOut 2020-04-09 16:54:03 -07:00
casey langen
adb3048a21 These wrappers are no longer required because we can use
`desktop-launch` to get all the correct environment variables set.
2020-04-09 16:36:58 -07:00
casey langen
baeec9b815 Added icon and desktop entry. 2020-04-09 15:33:10 -07:00
casey langen
0e6e96b58f Yikes, found a pretty nasty race condition in AlsaOut. This should
stabilize things.
2020-04-08 20:56:32 -07:00
casey langen
f58f5228a1 OK, I think I got to the bottom of the pulse issue. Yikes. 2020-04-07 20:35:25 -07:00
casey langen
816cafad5a Even more pulse debugging. 2020-04-07 19:42:27 -07:00
casey langen
743848e12c Revert "Revert "Revert "Added pulse environment variables to snap wrappers."""
This reverts commit 34020712c3.
2020-04-07 17:36:57 -07:00
casey langen
34020712c3 Revert "Revert "Added pulse environment variables to snap wrappers.""
This reverts commit 78054e77a0.
2020-04-07 16:50:18 -07:00
casey langen
10f3bc4397 Additional logging for PulseOut 2020-04-07 15:54:38 -07:00
casey langen
78054e77a0 Revert "Added pulse environment variables to snap wrappers."
This reverts commit 1c974ca141.
2020-04-07 12:12:05 -07:00
casey langen
1c974ca141 Added pulse environment variables to snap wrappers. 2020-04-07 10:05:46 -07:00
casey langen
688dafcdb4 Fixed .snap wrapper scripts... hopefully. 2020-04-07 09:22:09 -07:00
casey langen
821b4de874 Add a couple things required to support snap packges. 2020-04-06 23:35:58 -07:00
casey langen
98e8662c55 Whitespace fix. 2020-04-04 22:00:04 -07:00
casey langen
fe8d32f586 Fixed dbus plugin to report metadata (and also added album art). 2020-04-04 19:51:25 -07:00
casey langen
e1884321ff Fixed a super old null pointer dereference in TransportWindow. 2020-04-04 19:51:09 -07:00
casey langen
20ca61058c Added the ability to hot swap from a browse category selection. 2020-04-02 22:07:43 -07:00
casey langen
1621d355fa Fix bug where directory browsing would get reset when switching between
tabs.
2020-04-01 19:30:17 -07:00
casey langen
7ff32bea9d Merge upstream PDCurses 2020-04-01 10:27:40 -07:00
casey langen
edd0e2cb9b Merge branch 'master' into clangen/upstream-pdcurses 2020-04-01 09:42:39 -07:00
casey langen
38203f49a9 Fixed windows compile. 2020-03-31 18:27:15 -07:00
casey langen
43a8ca1d8d Add "directory" as a browse category type. 2020-03-31 17:49:11 -07:00
casey langen
6ff6bce076 Fixed directory browse context menu. 2020-03-30 23:18:39 -07:00
casey langen
4842f61241 Allow user to specify a lockfile override via MUSIKCUBE_LOCKFILE_OVERRIDE environment variable. Fixes #318. 2020-03-28 15:21:48 -07:00
casey langen
b82e4b4d65 Ensure outputFifo is correctly initialized to null. Fixes #328 2020-03-28 11:50:31 -07:00
casey langen
80759fea7d Merge branch 'master' of github.com:clangen/musikcube 2020-03-21 12:13:31 -07:00
casey langen
374bbd3452 Fix language check per #324 2020-03-20 18:09:49 -07:00
casey langen
d231e5a32e Fixed a couple issues found by running a smoke test with valgrind. 2020-03-18 22:25:52 -07:00
casey langen
9aee2b0765 Fixed key bindings for Windows Terminal. 2020-03-17 19:35:30 -07:00
casey langen
d3afd3591c
Merge pull request #322 from the-eater/fix/escape-percent
escape percent signs so wprintw won't replace them with random things
2020-03-17 18:49:49 -07:00
eater
27cb6cf45d
escape percent signs so wprintw won't replace them with random things 2020-03-17 14:31:44 +01:00
casey langen
dbf20187bf Merge branch 'master' into clangen/upstream-pdcurses 2020-03-13 18:26:24 -07:00
Torbjörn Lönnemark
53c5d84be0 Fix build on systems with split ncurses/tinfo
On systems where ncurses is built with --with-termlib, libtinfo is a
separate library.

Building musikcube on such a system would fail with:

  ld: CMakeFiles/musikcube.dir/cursespp/App.cpp.o: undefined reference to symbol 'keypad'
  ld: /lib64/libtinfow.so.6: error adding symbols: DSO missing from command line

Using pkgconfig to look up the required link libraries resolves the issue.
2020-03-10 20:16:52 +01:00
casey langen
7e1c6b9cd0 Merge branch 'master' into clangen/upstream-pdcurses 2020-03-08 15:37:54 -07:00
luca castagnini
9785badf09 restore accidentally removed Linux #ifdef case 2020-03-04 10:03:16 +01:00
luca castagnini
209545a360 remove a std::cout used for debug 2020-03-04 09:46:05 +01:00
luca castagnini
71827e4fb4 musikcube port for OpenBSD. Compiled with:
doas pkg_add cmake boost libogg libvorbis ffmpeg curl libmicrohttpd lame libev taglib
cmake .
make
doas make install
2020-03-04 09:21:25 +01:00
casey langen
6d61ff8333 Oops, repaired Window::Clear after recent ncurses 6.2 fixes. 2020-03-02 22:53:01 -08:00
casey langen
801a1405c6 Work around PDCurses/ncurses differences. 2020-03-01 20:15:19 -08:00
casey langen
296fea18f6 Work around PDCurses/ncurses differences. 2020-03-01 18:54:19 -08:00
casey langen
2a5d947998 Oops, fixed merge conflict typo. 2020-03-01 18:52:58 -08:00
casey langen
64ef948347 Merge branch 'master' into clangen/upstream-pdcurses 2020-03-01 18:51:58 -08:00
casey langen
9ed5dfd904 Work around weird bug in ncurses 6.2 2020-03-01 16:56:14 -08:00
casey langen
7a68bb1d44 Renames for clarity. 2020-03-01 12:47:45 -08:00
casey langen
035137d3b8 Fixed a couple other null pointer dereferences. 2020-03-01 12:45:49 -08:00
casey langen
10998add43 Fixed NULL dereference. 2020-03-01 00:16:29 -08:00
casey langen
f7039b9a25 Merge branch 'master' into clangen/upstream-pdcurses 2020-02-29 23:28:15 -08:00
casey langen
2e415a17b2 Tweaked HttpServer to allow for multiple simultaenous connections, and
be smart about waiting for existing blocking transcoders.
2020-02-29 17:15:16 -08:00
casey langen
7a398e75a7 Hopefully work around annoying prev() bug in ExoPlayer if track download
takes too long.
2020-02-29 12:09:09 -08:00
casey langen
e5f5fbee93 Upgraded to Android Studio 3.6. 2020-02-29 11:36:09 -08:00
casey langen
f23de4515a Merge branch 'master' into clangen/upstream-pdcurses 2020-02-27 23:00:21 -08:00
casey langen
eccc78defc Ensure we update the playback state if we seek while paused. 2020-02-27 22:59:44 -08:00
casey langen
cd4d31bfe1 Merged upstream PDCurses changes. 2020-02-18 22:56:09 -08:00
casey langen
f470091640 Merged upstream PDCurses changes. This seems to fix some wincon bugs
when running the app in a powershell instance.
2020-02-18 22:56:09 -08:00
casey langen
9cb6040491 Support true color mode in Terminal.app for known-good versions. 2020-02-18 22:55:44 -08:00
casey langen
0193fb303f Fixed IBufferProvider handling in the C SDK. 2020-02-16 23:11:44 -08:00
casey langen
b88909d148 Let's store all session settings in a separate file to make it easier to
backup app settings without context-specific information.
2020-02-15 23:42:27 -08:00
casey langen
b962af4954 PCH tweaks to hopefully improve build time. 2020-02-14 22:47:48 -08:00
casey langen
255383af10 Suppressed a couple implicit type conversion warnings and updated
solution to only build minimal set of projects for -Con variations.
2020-02-14 14:57:14 -08:00
casey langen
db315da44c Bumped submodule commit hash. 2020-02-14 10:52:13 -08:00
casey langen
b0f3ba5899 Upgraded ExoPlayer and to Firebase Crashlytics. 2020-02-13 22:22:44 -08:00
casey langen
d57937eb2d Let's not crash if no output drivers are present. 2020-02-13 19:35:15 -08:00
casey langen
04691132f3 Disable color theme selection on windows console builds -- not
supported.
2020-02-12 22:12:09 -08:00
casey langen
f2c1629507 Added some new DLL targets for musikcore and link against it with
core_c_demo
2020-02-10 22:32:05 -08:00
casey langen
7d01d587a3 Revert "Separate DLL targets for musikcore, and a couple build script tweaks."
This reverts commit 351253fa5c.
2020-02-10 19:53:51 -08:00
casey langen
351253fa5c Separate DLL targets for musikcore, and a couple build script tweaks. 2020-02-09 22:01:32 -08:00
casey langen
5d905e1a53 Version bump for next release. 2020-02-09 12:40:40 -08:00
casey langen
c5f227ab1a Don't install the global keyboard hook if we're running in pure console
mode.
2020-02-09 12:39:56 -08:00
casey langen
22c2e03a8f Experimental changes to support building as a standard Win32 console app
(instead of a Win32 app emulating console behavior).
2020-02-08 22:37:36 -08:00
casey langen
954357ab37 Programming is hard. 2020-02-02 17:07:33 -08:00
casey langen
ca92052ad1 Actually maybe for real fix indexer track count events? 2020-02-02 17:04:56 -08:00
casey langen
d5ad390a77 Corrected count consistency problem in Indexer 2020-02-02 16:19:12 -08:00
casey langen
a74eb597ad Added mcsdk_env_init and mcsdk_env_release 2020-02-02 16:10:26 -08:00
casey langen
34c7afcb6a Test for player mixpoints. 2020-02-02 14:17:33 -08:00
casey langen
4f536c3d6e Added the ability to run queries directly, without going through the
library.
2020-02-02 08:42:48 -08:00
casey langen
43c23c3f34 Added support for raw library queries using existing C++ constructs. 2020-02-01 21:20:13 -08:00
casey langen
d945268515 Indexer Finished() callback should be sending along the total number of
scanned tracks, not the last batch size.
2020-01-31 10:37:04 -08:00
casey langen
10c27d3141 Fixed indexer callbacks and added some test code to exercise the C
service layer.
2020-01-31 10:30:12 -08:00
casey langen
a38b797154 Added support for the indexer. 2020-01-30 23:11:34 -08:00
casey langen
de27613807 Minor tweaks. 2020-01-30 21:16:23 -08:00
casey langen
aacda51bc3 Added the ability to create new track lists, and fixed up some track list editor stuff. 2020-01-29 22:42:39 -08:00
casey langen
e75592dfd9 A couple minor bug fixes and also implemented sample code for streaming
encoders.
2020-01-29 20:17:23 -08:00
casey langen
68853eb5a8 Added C support for Stream and Player -- low-level playback is now
possible.
2020-01-29 19:18:15 -08:00
casey langen
f2a9fe6791 Cleaned up some extraneous comments. 2020-01-28 22:09:57 -08:00
casey langen
efe03ce785 Fixed an order-of-operation bug that could result in a bad race condition. 2020-01-28 21:53:33 -08:00
casey langen
3bdfa992c9 Small tweaks. 2020-01-28 21:45:42 -08:00
casey langen
84bea0fac3 core_c_demo is compiling on Windows now. 2020-01-28 21:37:39 -08:00
casey langen
817b35b3e4 Added C interface to Windows build. 2020-01-28 21:16:50 -08:00
casey langen
cfa968ff42 Moved musikcore_c.h and friends into core proper. 2020-01-28 21:14:01 -08:00
casey langen
aff52e88e8 Removed libev dependency in core_c 2020-01-28 21:09:38 -08:00
casey langen
66e849a0b5 Added decode/encode example and refactored main.c a bit. 2020-01-27 23:57:28 -08:00
casey langen
6ed5a2b170 Fixed a couple minor errors. 2020-01-27 23:42:50 -08:00
casey langen
33a1ee2848 Added safe release methods. 2020-01-27 10:00:34 -08:00
casey langen
6fd4e7d7c0 Added IEnvironment wrappers. Not tested yet. 2020-01-27 09:51:02 -08:00
casey langen
b8d0f5a726 Added mcsdk_handle_ok() and mcsdk_handle_cast() macros. 2020-01-27 09:26:33 -08:00
casey langen
787f72efaa Type safety. 2020-01-27 00:46:11 -08:00
casey langen
a872e87718 Added IBufferProvider, IDevice, IDeviceList, IOutput support. 2020-01-26 23:01:10 -08:00
casey langen
2814a4d9e3 Added support for IDebug 2020-01-26 22:32:07 -08:00
casey langen
d52e3e89db Fleshed out interface wrappers for a bunch more SDK interface types. 2020-01-26 22:27:16 -08:00
casey langen
96250a0526 Stubbed a bunch more types. Wrapper methods not implemented yet. 2020-01-26 22:00:09 -08:00
casey langen
87b1f55d7b More main.c test code. 2020-01-26 21:37:23 -08:00
casey langen
6f8dcdbfd5 Make sure we don't enqueue messages after shutting down the message
queue.
2020-01-26 21:35:40 -08:00
casey langen
c8e2d55631 Had a couple issues that were preventing a clean shutdown. Seems fine now? 2020-01-26 21:33:34 -08:00
casey langen
092147aad0 Added missing dependency... strange this worked on Linux. 2020-01-26 18:31:49 -08:00
casey langen
abb3208bea Missed playback service pointer assignment. 2020-01-26 18:10:11 -08:00
casey langen
3b7c263aea Metadata querying seems to work! 2020-01-26 16:11:25 -08:00
casey langen
dc340265e3 Seems to be compiling and linking properly, and we are able to get a
context up. It crashes or deadlocks on release. Nothing else tested, but
promising progress.
2020-01-26 15:54:52 -08:00
casey langen
149ee87dca Untested environment initialization. 2020-01-26 15:34:26 -08:00
casey langen
79d3244799 Added IPlaybackService wrapper. Still not far enough along to test
anything.
2020-01-26 14:13:58 -08:00
casey langen
adbff275bf Added interfaces wrappers for the few SDK types we've C'ified. Completed
untested. Need some more wrappers and interfaces before we can get up
and running with a sample app.
2020-01-26 13:35:13 -08:00
casey langen
169bb9a2a2 Typo fixes. 2020-01-26 12:43:05 -08:00
casey langen
ffc7128366 A couple minor syntax fixes. 2020-01-25 23:06:15 -08:00
casey langen
3a42a17abd A bunch more function definitions -- maybe enough to get IMetadataProxy operational? 2020-01-25 22:55:35 -08:00
casey langen
f8d332d42b Stubbed out some basic types. 2020-01-25 22:25:32 -08:00
casey langen
eaf958b8de Created some stubbed source units and ported SDK constants. 2020-01-25 22:02:43 -08:00
casey langen
874eec1086 SDK constants cleanup. 2020-01-25 21:45:07 -08:00
casey langen
d1b101e6dc Added Auddio API key setting to advanced settings panel. 2020-01-23 19:48:44 -08:00
casey langen
d9abc81145 Version bump for next release. 2020-01-12 13:23:29 -08:00
casey langen
dbf64775cc Fixed issue defining FFMPEG_ENABLED that resulted in some formats not being recognized on some platforms. 2020-01-12 13:22:56 -08:00
casey langen
f45d302c38 Version bump again. 2020-01-11 20:26:47 -08:00
casey langen
b1da99d23c Fix overlay Z-order issue. 2020-01-11 20:26:30 -08:00
casey langen
10835f5255 Minor rating column cleanups. 2020-01-11 18:28:52 -08:00
casey langen
a9423e5d42 Fixed MSVC compile. 2020-01-11 18:19:17 -08:00