From 25bcad4c8496431f1a5556803eaccea9dddc31e1 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 25 Feb 2017 06:46:51 +0100 Subject: Fix Indexer Well, as it turns out, an artist is not married to an album, but to a song, and so is the genre. Adjust the database layout, indexer and view accordingly. --- indexerwidget.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'indexerwidget.h') diff --git a/indexerwidget.h b/indexerwidget.h index aa3c1d3..64e1343 100644 --- a/indexerwidget.h +++ b/indexerwidget.h @@ -54,8 +54,8 @@ class BeetReader : public QThread { void clearAll(); int doArtist(QString name); int doGenre(QString name); - int doAlbum(QString name, int genre, int artist, int year, QString fullPath); - void doSong(QString title, int pos, int album, QString fullpath); + int doAlbum(QString name, int year); + void doSong(QString title, int pos, int album, int genre, int artist, QString fullpath); QMutex mCancelMx; bool mCanceled; QSqlDatabase mDb; -- cgit v1.2.3-70-g09d2