Removed useless comments

This commit is contained in:
emeric
2026-02-19 19:05:37 +01:00
parent 7739c8f627
commit 48e20fc77b
2 changed files with 0 additions and 2 deletions
@@ -77,7 +77,6 @@ namespace lms::jukebox
_outputContext = audio::createAudioOutputContext(_ioContext, "LMS-Jukebox", _backend); _outputContext = audio::createAudioOutputContext(_ioContext, "LMS-Jukebox", _backend);
_state = ServiceState::Initializing; _state = ServiceState::Initializing;
// TODO create a context and an output stream only if a song is actually played
_outputContext->asyncWaitReady([this] { onContextReady(); }); _outputContext->asyncWaitReady([this] { onContextReady(); });
} }
catch (const audio::Exception& e) catch (const audio::Exception& e)
-1
View File
@@ -440,7 +440,6 @@ namespace lms
break; break;
} }
// TODO audio init here
image::init(argv[0]); image::init(argv[0]);
core::Service<artwork::IArtworkService> artworkService{ artwork::createArtworkService(*database, server.appRoot() + "/images/unknown-cover.svg", server.appRoot() + "/images/unknown-artist.svg") }; core::Service<artwork::IArtworkService> artworkService{ artwork::createArtworkService(*database, server.appRoot() + "/images/unknown-cover.svg", server.appRoot() + "/images/unknown-artist.svg") };
core::Service<recommendation::IRecommendationService> recommendationService{ recommendation::createRecommendationService(*database) }; core::Service<recommendation::IRecommendationService> recommendationService{ recommendation::createRecommendationService(*database) };