Commit 4651330e authored by Camilo Higuita's avatar Camilo Higuita

fix db issue were db folder wasn't created and use linked taglib instead of search for local one

parent e1b6faa2
......@@ -124,12 +124,6 @@ HEADERS += \
#TAGLIB
linux:unix:!macx:!android {
message(Searching local TagLib lib)
LIBS += -ltag
} else:android {
message(Building TagLib for Android)
DEPENDPATH += 3rdparty/taglib
DEPENDPATH += 3rdparty/taglib/ape
......@@ -388,9 +382,6 @@ HEADERS += \
3rdparty/taglib/config.h \
3rdparty/taglib/taglib_config.h \
}
#INCLUDEPATH += /usr/include/python3.6m
#LIBS += -lpython3.6m
......
......@@ -30,6 +30,10 @@ CollectionDB::CollectionDB(QObject *parent) : QObject(parent)
if(!BAE::fileExists(BAE::CollectionDBPath + BAE::DBName))
{
QDir collectionDBPath_dir(BAE::CollectionDBPath);
if (!collectionDBPath_dir.exists())
collectionDBPath_dir.mkpath(".");
this->openDB(this->name);
qDebug()<<"Collection doesn't exists, trying to create it" << BAE::CollectionDBPath + BAE::DBName;
this->prepareCollectionDB();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment