- 21 May, 2023 1 commit
-
-
datasone authored
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`](https://github.com/MusicPlayerDaemon/MPD/blob/a57bcd02382947abbd961594cdf00302c0c7866a/src/db/plugins/simple/Directory.cxx#L237). But `in_playlist` is not stored and only updated in [`UpdateWalk::PurgeDanglingFromPlaylists`](https://github.com/MusicPlayerDaemon/MPD/blob/a57bcd02382947abbd961594cdf00302c0c7866a/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.
-
- 03 Dec, 2021 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 18 Feb, 2021 1 commit
-
-
Max Kellermann authored
Enables the "Format" row in "playlistinfo" responses. https://github.com/MusicPlayerDaemon/MPD/issues/1094
-
- 01 Jan, 2021 1 commit
-
-
Max Kellermann authored
-
- 30 May, 2020 1 commit
-
-
Rosen Penev authored
The ones in std have overloads for const char/char. Signed-off-by:
Rosen Penev <rosenp@gmail.com>
-
- 18 Jan, 2020 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 16 Dec, 2019 1 commit
-
-
Max Kellermann authored
-
- 07 Sep, 2019 1 commit
-
-
Max Kellermann authored
Will be used for Song objects representing tracks inside a CUE file.
-
- 05 Sep, 2019 1 commit
-
-
Max Kellermann authored
Eliminate unnecessary dynamic allocations.
-
- 04 Sep, 2019 2 commits
-
-
Max Kellermann authored
This attribute is not a URI; it is just the filename without its parent directory path. To avoid confusion, let's rename it to "filename", leaving the struct without a "uri" attribute.
-
Max Kellermann authored
-
- 03 Sep, 2019 1 commit
-
-
Max Kellermann authored
No longer allocate it as a "VarSize". This used to be a clever trick to save memory 10 years ago, but these days, keeping the code maintainable seems more important than saving a few kilobytes of memory.
-
- 17 Jun, 2019 1 commit
-
-
Max Kellermann authored
-
- 08 May, 2019 1 commit
-
-
Max Kellermann authored
-
- 19 Nov, 2018 1 commit
-
-
Max Kellermann authored
Since we switched from autotools to Meson in commit 94592c14, we don't need to include `config.h` early to properly enable large file support. Meson passes the required macros on the compiler command line instead of defining them in `config.h`. This means we can include `config.h` at any time, whenever we want to check its macros, and there are no ordering constraints.
-
- 31 Oct, 2018 1 commit
-
-
Max Kellermann authored
-
- 02 Aug, 2018 1 commit
-
-
Max Kellermann authored
-
- 06 Jul, 2018 1 commit
-
-
Max Kellermann authored
-
- 09 Feb, 2018 1 commit
-
-
Max Kellermann authored
For Android pre-5.0 compatibility (#213).
-
- 26 Nov, 2017 1 commit
-
-
Max Kellermann authored
-
- 18 Aug, 2017 1 commit
-
-
Max Kellermann authored
-
- 05 Jul, 2017 1 commit
-
-
Max Kellermann authored
-
- 08 Feb, 2017 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 03 Jan, 2017 1 commit
-
-
Max Kellermann authored
-
- 29 Oct, 2016 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2016 1 commit
-
-
Max Kellermann authored
-
- 01 Jan, 2015 1 commit
-
-
Max Kellermann authored
-
- 29 Aug, 2014 1 commit
-
-
Max Kellermann authored
-
- 28 Aug, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 07 Aug, 2014 2 commits
-
-
Max Kellermann authored
-
Max Kellermann authored
-
- 30 Jul, 2014 1 commit
-
-
Max Kellermann authored
-
- 26 Feb, 2014 1 commit
-
-
Max Kellermann authored
-
- 24 Jan, 2014 1 commit
-
-
Max Kellermann authored
-
- 19 Jan, 2014 1 commit
-
-
Max Kellermann authored
Reduces overhead because we need to manage only one memory allocation. According to valgrind/massif, we save 7%.
-
- 13 Jan, 2014 1 commit
-
-
Max Kellermann authored
-