diff options
author | Arno <arno@disconnect.de> | 2017-02-25 06:46:51 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-02-25 06:46:51 +0100 |
commit | 25bcad4c8496431f1a5556803eaccea9dddc31e1 (patch) | |
tree | 62b220ecf3b7773f171fc78279f8e53e0ab40cf4 /indexerwidget.h | |
parent | 0e883223783a0e3ee5bc83f4ffeb4acc0beed1aa (diff) | |
download | BeetPlayer-25bcad4c8496431f1a5556803eaccea9dddc31e1.tar.gz BeetPlayer-25bcad4c8496431f1a5556803eaccea9dddc31e1.tar.bz2 BeetPlayer-25bcad4c8496431f1a5556803eaccea9dddc31e1.zip |
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.
Diffstat (limited to 'indexerwidget.h')
-rw-r--r-- | indexerwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
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; |