From 1d9893ec4e503e1ad39538d4f792ee20cae675fd Mon Sep 17 00:00:00 2001 From: casey langen Date: Fri, 4 Jan 2019 17:08:34 -0800 Subject: [PATCH] Unix compile fixes. --- src/musikcubed/main.cpp | 3 +-- src/plugins/gmedecoder/GmeIndexerSource.cpp | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/musikcubed/main.cpp b/src/musikcubed/main.cpp index f167dd269..ea5c8e618 100644 --- a/src/musikcubed/main.cpp +++ b/src/musikcubed/main.cpp @@ -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)) { diff --git a/src/plugins/gmedecoder/GmeIndexerSource.cpp b/src/plugins/gmedecoder/GmeIndexerSource.cpp index c6371bb9f..b84e9bbf3 100644 --- a/src/plugins/gmedecoder/GmeIndexerSource.cpp +++ b/src/plugins/gmedecoder/GmeIndexerSource.cpp @@ -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); } } }