music player daemon (fork)
Go to file
Arsen Arsenović 35dbc1a90c mixer,output: prevent setting volume before outputs are really enabled
Previous versions of MPD would call SetVolume on enabled outputs before
they are ready, causing all of MPD to crash. Checking the really_enabled
flag prevents this, though it also prevents setting volume before the
player starts.

Before (with the PipeWire output):
  [i] ~$ mpc clear
  volume: 81%   repeat: off   random: off   single: off   consume: off
  [i] ~$ systemctl --user restart mpd.service
  [i] ~$ mpc volume 100
  MPD error: Connection closed by the server
  [i] ~ 1 $

After:
  [i] ~$ # mpd is freshly started w/o anything in the queue
  [i] ~$ mpc
  volume:100%   repeat: off   random: off   single: off   consume: off
  [i] ~$ mpc volume 80
  MPD error: problems setting volume
  [i] ~ 1 $ mpc
  volume:100%   repeat: off   random: off   single: off   consume: off
  [i] ~$
2022-04-26 17:45:29 +02:00
.github .github/workflows/build.yml: rebuild branch v0.23.x 2021-12-03 23:00:42 +01:00
android increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
python/build python/build/libs.py: update Boost to 1.78.0 2022-03-14 14:52:24 +01:00
src mixer,output: prevent setting volume before outputs are really enabled 2022-04-26 17:45:29 +02:00
subprojects Revert "python/build/libs.py: remove flac, switch to Meson wrap" 2021-10-07 13:28:17 +02:00
systemd Revert "systemd: add "RuntimeDirectory" directive" 2021-11-11 10:16:13 +01:00
test test/DumpOgg: new debug program 2022-03-16 16:51:44 +01:00
win32 python/build/libs.py: update libopenmpt configure flags 2021-11-04 15:23:24 +08:00
.clang-format Add .clang-format 2020-05-27 18:58:55 +08:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.travis.yml meson.build: libfmt integration 2021-05-25 15:48:49 +02:00
AUTHORS copyright year 2021 2021-01-01 19:54:28 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
NEWS outputs/pipewire: fix ParamChanged incorrectly setting volume 2022-04-26 17:44:19 +02:00
README.md doc, README.md: update IRC server name/URL 2021-06-23 15:48:42 +02:00
meson.build increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
meson_options.txt Merge branch 'v0.22.x' 2021-08-05 15:17:07 +02:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

README.md

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.