mirror of
https://github.com/clangen/musikcube.git
synced 2024-10-02 04:52:32 +00:00
Unix compile fixes.
This commit is contained in:
parent
8a705883b3
commit
1d9893ec4e
@ -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)) {
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user