- 11 Nov, 2021 4 commits
-
-
Max Kellermann authored
This reverts commit 552c30ea. It has caused various problems; for example, MPD wasn't able to write the pid_file (which was already mitigated by commit a4e42172). And apparently, the socket file created in the same directory by mpd.socket disappears when mpd.service (re)creates the directory. I could not reproduce this problem with 247.3, but maybe this is a bug in older systemd versions? Until we figure out why this happens, let's remove the RuntimeDirectory directive. A future MPD version may be launched as regular user, not as root, which will eliminate one major problem with RuntimeDirectory.
-
Max Kellermann authored
Closes https://github.com/MusicPlayerDaemon/MPD/issues/1328
-
Max Kellermann authored
-
Max Kellermann authored
-
- 10 Nov, 2021 1 commit
-
-
0xC0ncord authored
This fixes this build error observed with clang and -stdlib=libc++: ../mpd-0.23.3/src/output/plugins/PipeWireOutputPlugin.cxx:661:55: error: implicit instantiation of undefined template 'std::array<std::byte, 64>' std::array<std::byte, MAX_CHANNELS * MAX_INTERLEAVE> buffer; ^ /usr/include/c++/v1/__tuple:219:64: note: template is declared here template <class _Tp, size_t _Size> struct _LIBCPP_TEMPLATE_VIS array; ^
-
- 09 Nov, 2021 1 commit
-
-
Max Kellermann authored
For libavcodec 59 support. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1333
-
- 08 Nov, 2021 2 commits
-
-
Max Audron authored
Add an option to the UPnP database plugin to configure which interface is used by upnp to discover servers. upnp by default selects the first interface that is not loopback, which in some cases might not be the desired interface. For example if wanting to access a DLNA server over a VPN connection. The "interface" option can now be set to the name of the desired interface to achieve this. The default behaviour remains unchanged.
-
Max Audron authored
Adds the Interface Name as an argument to the *Init functions to make it possible to select which interface is used by upnp to detect servers. Currently "nullptr" is passed in to let the upnp library select an interface, as before.
-
- 05 Nov, 2021 6 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
Commit 552c30ea caused problems for those people who still had a "pid_file" setting (even though that is obsolete with systemd), because now /run/mpd is owned by root:root (our mpd.service has no User=mpd directive, so systemd starts MPD as root). To work around this problem, and to be able to keep RuntimeDirectory=mpd (which solved a problem of other MPD users), the best compromise seems to just ignore the "pid_file" setting when it is of no use.
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
This way, MPD can reliably detect whether it was started as systemd service, which is better than checking sd_booted(), which only checks whether systemd manages all services, but still MPD could be started manually.
-
- 04 Nov, 2021 8 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Shen-Ta Hsieh authored
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
-
Shen-Ta Hsieh authored
Signed-off-by: Shen-Ta Hsieh <ibmibmibm.tw@gmail.com>
-
- 03 Nov, 2021 1 commit
-
-
Max Kellermann authored
Fixes assertion failure when the EventLoop gets destructed before Run() was ever called. Fixes https://bugs.debian.org/998310
-
- 31 Oct, 2021 11 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
With the "wave" encoder, this has no effect, but it's more correct.
-
Max Kellermann authored
This uncomments the code which had been present already in the first Snapcast commit (copied from the "httpd" output plugin), but I commented it because I did not know whether I needed to send silence samples to all Snapcast clients. As a side effect, this fixes playback when no Snapcast client is connected; this was broken because Pause() always returned a positive value when there were no clients. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1310
-
Max Kellermann authored
Unlike GetFilenameSuffix(), uri_get_suffix() removes the query string first, which breaks file names with question marks in the name. Therefore, uri_get_suffix() shall only be applied to remote URIs. Closes https://github.com/MusicPlayerDaemon/MPD/issues/1316
-
- 28 Oct, 2021 1 commit
-
-
Max Kellermann authored
Regression by commit 2d8847f4
-
- 26 Oct, 2021 5 commits
-
-
Naglis Jonaitis authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-
Max Kellermann authored
-