Unix compile fixes.

This commit is contained in:
casey langen 2019-01-04 17:08:34 -08:00
parent 8a705883b3
commit 1d9893ec4e
2 changed files with 3 additions and 4 deletions

View File

@ -238,7 +238,6 @@ int main(int argc, char** argv) {
srand((unsigned int) time(0));
debug::Start();
plugin::InitDebug();
EvMessageQueue messageQueue;
auto library = LibraryFactory::Default();
@ -247,7 +246,7 @@ int main(int argc, char** argv) {
{
PlaybackService playback(messageQueue, library);
plugin::InitPlayback(&messageQueue, &playback, library);
plugin::Init(&messageQueue, &playback, library);
auto prefs = Preferences::ForComponent(prefs::components::Settings);
if (prefs->GetBool(prefs::keys::SyncOnStartup, true)) {

View File

@ -233,13 +233,13 @@ void GmeIndexerSource::ScanDirectory(
if (name == "." || name == "..") {
continue;
}
scanDirectory(path + "/" + name, source, indexer);
this->ScanDirectory(path + "/" + name, source, indexer);
}
else {
std::string fn = entry->d_name;
if (canHandle(fn)) {
std::string fullFn = path + "/" + fn;
updateMetadata(fullFn, source, indexer);
this->UpdateMetadata(fullFn, source, indexer);
}
}
}