db/simple: add option to hide CUE target songs

This reduces duplicates in the music database by hiding the original
song file when it is referenced by a CUE sheet.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1275
This commit is contained in:
Max Kellermann
2021-10-14 13:03:54 +02:00
parent f7622ca332
commit 37bd6de658
9 changed files with 47 additions and 12 deletions

View File

@@ -44,6 +44,8 @@ class SimpleDatabase : public Database {
bool compress;
#endif
bool hide_playlist_targets;
/**
* The path where cache files for Mount() are located.
*/