feat: initial database creation, loading

fixes for cartographer and automatically add track to album when adding to artist
This commit is contained in:
Joshua Strobl 2024-10-05 00:03:50 +03:00
parent 72bbcaba9e
commit 62c99ee67c
18 changed files with 515 additions and 108 deletions

View file

@ -3,7 +3,7 @@
#include <string>
#include "cartographer.hpp"
#include "config/library.hpp"
#include "config/config.hpp"
#include "structs.hpp"
class FileIndexer {
@ -18,8 +18,9 @@ class FileIndexer {
void index();
protected:
void indexDirectory(QString path, int depth);
QList<KotoArtist*> i_artists;
QList<KotoTrack*> i_tracks;
QString i_root;
};
void indexAllLibraries();