music player daemon (fork)
Go to file
datasone d4f3dd49b4 db/SimpleDatabasePlugin: store `in_playlist` value of songs into database
Fixes hide_playlist_targets not working after server restart

Currently, `hide_playlists_targets` works by skipping songs with
`in_playlist` value set to true in
[`Directory::Walk`](a57bcd0238/src/db/plugins/simple/Directory.cxx (L237)). But
`in_playlist` is not stored and only updated in
[`UpdateWalk::PurgeDanglingFromPlaylists`](a57bcd0238/src/db/update/Playlist.cxx (L139)),
which will only be executed while updating DB.

This causes the problem that playlist target songs are correctly
hidden after database update, but will remain visible after mpd server
restarted. This pr solves the problem by storing `in_playlist` value
of songs into the `SimpleDatabase` file.
2023-05-21 20:51:47 +02:00
.github .github/workflows/build.yml: build everything, not just unit tests (Linux) 2022-05-23 21:32:42 +02:00
android python/build/autotools.py: use toolchain.arflags 2023-05-21 20:42:04 +02:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc doc/index.rst: added man pages links to suppress warnings: document isn't included in any toctree 2022-11-08 14:32:40 +01:00
python/build python/build/libs.py: update OpenSSL to 3.1.0 2023-05-21 20:50:03 +02:00
src db/SimpleDatabasePlugin: store `in_playlist` value of songs into database 2023-05-21 20:51:47 +02:00
subprojects subprojects/sqlite3.wrap: update to 3.41.0-1 2023-05-21 20:50:03 +02:00
systemd check systemd unit dir from systemd.pc in meson 2023-05-21 20:51:33 +02:00
test test/meson.build: reduce test_translate_song. dependencies 2022-11-12 12:17:35 +01:00
win32 python/build/autotools.py: use toolchain.arflags 2023-05-21 20:42:04 +02: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 check systemd unit dir from systemd.pc in meson 2023-05-21 20:51:33 +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.13 2023-05-21 20:29:23 +02: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.