Update all songs for the same directory+album when updating compilations
- Fixes a bug where the songs are stuck in various artists, because the album has child songs, it will be stuck with various artists as the parent node.
This commit is contained in:
@@ -109,7 +109,7 @@ class CollectionBackendInterface : public QObject {
|
||||
virtual SongList GetSongsByUrl(const QUrl &url) = 0;
|
||||
// Returns a section of a song with the given filename and beginning. If the section is not present in collection, returns invalid song.
|
||||
// Using default beginning value is suitable when searching for single-section songs.
|
||||
virtual Song GetSongByUrl(const QUrl &url, qint64 beginning = 0) = 0;
|
||||
virtual Song GetSongByUrl(const QUrl &url, const qint64 beginning = 0) = 0;
|
||||
|
||||
virtual void AddDirectory(const QString &path) = 0;
|
||||
virtual void RemoveDirectory(const Directory &dir) = 0;
|
||||
|
||||
Reference in New Issue
Block a user