Commit Graph

3429 Commits

Author SHA1 Message Date
casey langen
d1d9db1e53 Update version hash. 2021-12-28 13:48:07 -08:00
casey langen
6c1ae05b57 Updated musikdroid versionCode 2021-12-28 13:47:44 -08:00
casey langen
6572465e1c More rpath fixes -- this time for macOS. 2021-12-28 13:36:07 -08:00
casey langen
18960811cc Version bump. 2021-12-28 00:46:40 -08:00
casey langen
4bb9bbad3c Fix race condition by adding required locking in WasapiOut to avoid rare
crash.
2021-12-27 22:41:57 -08:00
casey langen
6bae859ac2 Fix BRANCH in run-circle-ci script 2021-12-27 20:25:34 -08:00
casey langen
03c55e94e6 Update musikdroid version. 2021-12-27 19:17:01 -08:00
casey langen
540e1498c3 Version bump. 2021-12-27 18:56:04 -08:00
casey langen
c10b957689 Update -rpath usage. 2021-12-27 18:55:37 -08:00
casey langen
eb742d252c CHANGELOG update. 2021-12-27 15:11:05 -08:00
casey langen
d3204e4072 Bump commit hash for release. 2021-12-27 15:10:36 -08:00
casey langen
d278728e01 Refactored and added logging to SystemService to improve notification synchronization issues -- looks like we should debounce all updates to both the notification and the MediaSession or the internals can get confused. 2021-12-27 13:21:17 -08:00
casey langen
4a3c54bf13 Update Android Studio and dependencies. 2021-12-27 13:20:56 -08:00
casey langen
ec6a52ff9e
Merge pull request #479 from ravensiris/master
Add missing header.
2021-12-22 10:24:37 -08:00
Maksymilian Jodłowski
f013f1065d
Add missing header.
Fixes #476
2021-12-22 08:45:46 +01:00
casey langen
52ac2c1fc7
Merge pull request #475 from gschauer/master
Fix Ubuntu Impish dependencies and add Debian Bullseye build
2021-12-18 21:09:37 -08:00
casey langen
be1d51c5f7 Fixed notification tray icon for windows builds. 2021-12-18 21:08:00 -08:00
gschauer
229cba65bb Add CircleCI build for Debian Bullseye 2021-12-08 14:43:49 +00:00
gschauer
566f248aee Fix dependencies for Ubuntu Impish 2021-12-07 22:47:28 +00:00
casey langen
0e71527cbc Fix mint build in circle ci script. 2021-11-18 13:16:01 -08:00
Sergei Trofimovich
1240720e27 always use "%s"-style format for printf()-style functions
`ncuses-6.3` added printf-style function attributes and now makes
it easier to catch cases when user input is used in palce of format
string when built with CFLAGS=-Werror=format-security:

    musikcube/cursespp/cursespp/curses_config.h:54:36:
     error: format not a string literal and no format arguments [-Werror=format-security]
       54 |     if (window && format) { wprintw(window, format, ##__VA_ARGS__); }
          |                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    musikcube/src/musikcube/app/window/TransportWindow.cpp:640:5: note: in expansion of macro 'checked_wprintw'
      640 |     checked_wprintw(c, shuffleLabel.c_str(

Let's wrap all the missing places with "%s" format.
2021-11-17 09:09:37 +00:00
casey langen
7b2b24a471 CHANGELOG update. 2021-11-14 15:45:19 -08:00
Robert Günzler
4f5e233126
Fix data directory when using XDG (#470)
Since 7fbed05135
musikcube detects `$XDG_CONFIG_HOME` with `GetHomeDirectory`.
There is an intermediate call to `getDataDirectoryRoot` though which
appends `/.config`, stemming from when `GetHomeDirectory` would actually
return `$HOME`. This leads to the situation where on most systems where
config home is already under `$HOME/.config/` musikcube will create
`$HOME/.config/.config/musikcube` for itself.

We fix this by removing the `getDataDirectoryRoot` shim entirely.

Signed-off-by: Robert Günzler <r@gnzler.io>
2021-11-14 15:43:51 -08:00
casey langen
fe2e4747da Update build scripts for newer distro releases. 2021-11-14 13:41:24 -08:00
Robert Günzler
5bdf0113d7
cmake: fix build against ncurses with separate libtinfo
Tested this on openbsd as well:
https://github.com/robertgzr/musikcube/tree/bsd
https://builds.sr.ht/~robertgzr/job/623049

Signed-off-by: Robert Günzler <r@gnzler.io>
2021-11-08 02:32:53 +01:00
Robert Günzler
c40b8d6a30
cmake: allow disabling server plugin
Removes hard dependency on libmicrohttp and dynamically excludes the
musikcubed target as well

Signed-off-by: Robert Günzler <r@gnzler.io>
2021-11-08 02:32:53 +01:00
Robert Günzler
aa12ef18bb
cmake: support sd-bus fallback implementations
* elogind: https://github.com/elogind/elogind
* basu: https://github.com/emersion/basu

Relates https://github.com/clangen/musikcube/issues/365
Fixes https://github.com/clangen/musikcube/issues/456

Signed-off-by: Robert Günzler <r@gnzler.io>
2021-11-08 02:32:51 +01:00
Robert Günzler
e2574cc1f4
cmake: allow disabling pulse and alsa on linux
Since https://github.com/clangen/musikcube/pull/421 I can use pipewire
directly, which itself interfaces with ALSA and replaces pulseaudio.
Allow dropping both at build time, previously they were hard-selected
when on Linux.

Signed-off-by: Robert Günzler <r@gnzler.io>
2021-11-07 16:11:02 +01:00
casey langen
51275f35ba Looks like some versions of pw_stream_flush() crash if the stream was
never connected. If we can't connect, let's destroy the stream
immediately to avoid this from happening later when the plugin cleans
up.
2021-10-17 14:39:25 -07:00
casey langen
eacb0ea034 Added Android 12 and Android Studio Arctic Fox support. 2021-09-26 23:07:38 -07:00
casey langen
a0162d1fc3 Allow for user to configure NullOut's default sample rate. 2021-09-20 12:25:03 -07:00
casey langen
0497260ddb Fix use after free bug in FfmpegDecoder. 2021-09-20 08:18:25 -07:00
casey langen
042c857895 Fix sample back pressure leading to increased memory usage over time in
FfmpegDecoder.
2021-09-20 08:05:16 -07:00
casey langen
2692882150 CHANGELOG update 2021-09-19 22:04:53 -07:00
casey langen
d99e65d91f Read the default sample rate from the selected output and relay it to
the appropriate decoder.
2021-09-19 21:53:02 -07:00
casey langen
06bdf32959 * Updated WasapiOut to provide the preferred sample rate for the
selected device
* Updated FfmpegDecoder to accept the preferred sample rate from the
  output, and use it when resampling if it is non-negative. Otherwise,
  use the sample rate defined by the file.

Note: this is not wired up in the main app yet.
2021-09-19 21:50:54 -07:00
casey langen
f2e8fd45f8 Update IOutput and IDecoder interfaces to allow for querying and setting default/preferred output sample rates. Nothing is wired up yet. 2021-09-19 21:00:59 -07:00
casey langen
440a34b549 CHANGELOG and version bump. 2021-09-05 14:55:37 -07:00
casey langen
f91bee6a1c Fix parsing album art from FLAC files. 2021-09-05 14:49:55 -07:00
Orestes
6e9dcc5246
Spanish translation (#459) 2021-08-28 19:04:33 -07:00
PythonTryHard
f8bc7aa4c0
Fix album duration calculation off-by-one (#453) 2021-08-28 19:04:08 -07:00
casey langen
825adfcf2f Fix view re-creation due to visibility change. 2021-07-18 13:59:29 -07:00
casey langen
53b072f8f6 Redraw UI on visibility change. Shouldn't be necessary; need to look
into the root cause.
2021-07-18 13:18:32 -07:00
casey langen
11f81c59e5 Fix bug where user may not be able to navigate to lyrics layout. 2021-07-18 13:10:06 -07:00
casey langen
8627875691 Update scrobble logic. 2021-07-17 15:41:56 -07:00
casey langen
2af4a125fb Fix unit conversion. 2021-07-17 15:39:41 -07:00
casey langen
3cd6bc165f Update scrobble logic to post after 25% of the track has played, not 10 seconds. 2021-07-17 12:02:31 -07:00
casey langen
c86230d3aa Fix rare PipeWire bug that may cause volume to not get set properly after restarting the app. 2021-07-15 22:50:34 -07:00
casey langen
dfecbe96e5 Syntax fix for OpenBSD CMake support. 2021-07-15 22:16:30 -07:00
casey langen
b87c8d1152 OpenBSD build fixes. 2021-07-15 20:45:43 -07:00