casey langen
77c79809c2
Update include path.
2023-02-05 14:05:56 -08:00
casey langen
0d4f3b0f27
Move version.h
into musikcore/sdk/
and use it for built-in plugins.
2023-02-05 13:55:05 -08:00
casey langen
74df004c9b
Fix daemon crash during shutdown.
2023-01-01 19:29:37 -08:00
casey langen
8d703e9737
Fix compile errors on Linux.
2022-12-04 11:32:02 -08:00
casey langen
3998b759f7
Use SIGUSR1 to rescan library in musikcubed
2022-08-20 00:06:43 -07:00
casey langen
b1d45deb01
Cleanup and fix shutdown logic.
2022-04-27 22:58:37 -07:00
casey langen
7fc5354f7b
undef EV_ERROR if it's already defined (may be on BSD/macOS systems)
2022-02-17 11:25:26 -08:00
casey langen
e3f870efc6
Fix normal darwin build
2022-02-08 18:57:30 -08:00
casey langen
dff533d1a7
Almost working... musikcube still resolves the wrong version of libssl
...
(but musikcubed is fine??)
2022-02-08 15:58:54 -08:00
casey langen
86b0200b27
More refactoring; moving away from "statically link" everything to
...
"bundle everything".
2022-02-08 13:12:53 -08:00
casey langen
6572465e1c
More rpath fixes -- this time for macOS.
2021-12-28 13:36:07 -08:00
casey langen
c10b957689
Update -rpath usage.
2021-12-27 18:55:37 -08:00
casey langen
d79dac8ac8
Don't fail if libev.a is missing, we'll fall back to the shared library.
2021-04-13 22:16:16 -07:00
casey langen
229b282aec
Check for libraries and fail fast if not found.
2021-04-10 22:33:33 -07:00
casey langen
f2071d31aa
Ensure debug
is properly initialized for all plugins.
2021-03-21 22:15:10 -07:00
casey langen
edce1d7c88
Warning and and precompiled headers fixes and cleanup ( #408 )
2021-01-25 19:03:57 -08:00
Casey Langen
9d695f8a9b
Also add the commit hash to the daemon version readout.
2020-10-31 22:27:43 -07:00
Casey Langen
8db2f977e3
Fix unix daemon compile
2020-10-13 23:36:59 -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
6fde5a7d0d
Fixed Linux compile
2020-10-10 01:56:07 -07:00
casey langen
139c669790
musikcubed/main.cpp fix for updated LibraryFactory API
2020-10-04 21:55:52 -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
Héctor Molinero Fernández
f11f162aad
Removed bash dependency from shell scripts
2019-01-21 21:54:46 +01:00
casey langen
f67f310cdc
Added --foreground
command to musikcubed
.
2019-01-20 11:47:14 -08:00
casey langen
1d9893ec4e
Unix compile fixes.
2019-01-04 17:08:34 -08:00
casey langen
39b068fc52
A couple more ffmpeg decoder bug fixes -- wma files seem to be decoding properly on macOS (and likely Linux) now.
2018-12-27 13:40:27 -08:00
casey langen
20d0f02d2d
Updated debug
module (pulled from upstream f8n
) and simplified ConsoleLayout
. Also fixed up some more instances where we were using raw int64_t
attrs instead of Color in cursespp.
2018-12-25 23:53:30 -08:00
casey langen
716a32802f
Ugh, sh -> bash for the time being.
2018-12-23 17:34:52 -08:00
casey langen
a43790a70f
Use sh
instead of bash
in wrapper scripts to maximize compatibility.
2018-12-23 17:26:20 -08:00
casey langen
b8da6430b5
Ensure shutdown happens promptly if the indexer is still running.
2018-08-07 12:16:01 -07:00
casey langen
01eae8299e
Updated musikcubed/main.cpp with the new version.h location.
2018-06-09 22:54:08 -07:00
casey langen
a4c0056a07
Initial version of a simple wrapper around the libcurl "simple"
...
interface to make it a bit nicer to use. Nothing too exotic.
2018-04-29 21:44:19 -07:00
casey langen
afb061aaf4
Ensure PlaybackService gets destroyed before the Library instance --
...
otherwise the play queue will not be serialized properly on exit.
2018-02-20 00:35:03 -08:00
casey langen
15c59437cd
Moved play context saving/restoration to core library, and run it
...
automatically in PlaybackService ctor/dtor. Also, updated
PlaybackService to allow for custom transports, but initialize itself
with a MasterTransport if one is not specified. This simplifies things
in the app-layer.
2018-02-19 12:08:19 -08:00
Casey Langen
bc565f31b3
Fixed the macOS packaging process.
2018-02-02 10:30:25 -08:00
casey langen
aaaea49025
Update CMakeLists.txt
2018-02-01 19:35:48 -08:00
casey langen
e44d24e8c8
Exit with failure if "--stop" fails. Also give the daemon a couple more seconds to clean up.
2018-02-01 19:13:21 -08:00
casey langen
27d4696971
Fix RPATH handling in CMakeLists.txt
2018-02-01 19:12:28 -08:00
casey langen
2655c8a265
Ensure arguments get forwarded from wrapper script to executable
2018-02-01 01:10:18 -08:00
Casey Langen
084f888d14
Added support for a basic set of command line options: --start, --stop,
...
--running, --version and --help.
2018-01-31 12:33:10 -08:00
casey langen
8d142fefcd
More musikcubed code cleanup -- verified working on FreeBSD now.
2018-01-30 23:29:54 +00:00
casey langen
35689bb143
Cleaned up exitIfRunning()
and simplified LOCKFILE
2018-01-31 06:24:50 +00:00
Casey Langen
b04aa4e529
Use libev to drive daemon event loop. This prevents the hacky periodic
...
wakeups to check the (now unnecessary) global quit flag.
2018-01-30 21:44:57 -08:00
Casey Langen
0fdb83d643
MaxKellermann@ correctly pointed out the SIGTERM signal handler was not safe, and
...
may result in deadlock. Updated code to avoid allocations and just set
the quit flag. Required minor surgery to IMessageQueue and impl to add
a timeout to WaitAndDispatch().
2018-01-30 09:21:04 -08:00
casey langen
402aab9d2c
Ensure musikcubed shuts down cleanly on SIGTERM.
2018-01-29 20:59:13 -08:00
Héctor Molinero Fernández
cf3cbfd7f6
Include fstream
2018-01-29 21:19:44 +01:00
casey langen
b8fe116836
Fixed daemon lock checking on BSD.
2018-01-28 16:52:24 +00:00
casey langen
c1574960db
- Check to see if musikcubed is already running before allowing the process to start.
...
- Fixed rpath linking in musikcubed CMakeLists.
- CMake "install" fixes to properly include shared library and daemon.
- Experimental changes to use a shared libmusikcore library, instead of
a static one.
2018-01-28 15:47:23 -08:00
casey langen
369f9054ba
Added musikcubed
daemon.
2018-01-27 23:25:26 -08:00