CollectionBackend/CollectionWatcher: add HasSongsWithMissingLoudnessCharacteristics logic
Exactly identical to the "missing fingerprint" logic, just for the two new fields being added.
This commit is contained in:
committed by
Jonas Kvinge
parent
0ea81b13b9
commit
f905676b1c
@@ -102,6 +102,7 @@ class CollectionWatcher : public QObject {
|
||||
|
||||
SongList FindSongsInSubdirectory(const QString &path);
|
||||
bool HasSongsWithMissingFingerprint(const QString &path);
|
||||
bool HasSongsWithMissingLoudnessCharacteristics(const QString &path);
|
||||
bool HasSeenSubdir(const QString &path);
|
||||
void SetKnownSubdirs(const CollectionSubdirectoryList &subdirs);
|
||||
CollectionSubdirectoryList GetImmediateSubdirs(const QString &path);
|
||||
@@ -156,6 +157,9 @@ class CollectionWatcher : public QObject {
|
||||
QMultiMap<QString, Song> cached_songs_missing_fingerprint_;
|
||||
bool cached_songs_missing_fingerprint_dirty_;
|
||||
|
||||
QMultiMap<QString, Song> cached_songs_missing_loudness_characteristics_;
|
||||
bool cached_songs_missing_loudness_characteristics_dirty_;
|
||||
|
||||
CollectionSubdirectoryList known_subdirs_;
|
||||
bool known_subdirs_dirty_;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user