Ensure local playback enbled for user mpd

Issue #1293
This commit is contained in:
Craig Drummond
2018-05-28 22:11:02 +01:00
committed by Craig Drummond
parent 03011d6f11
commit a2350ec740
4 changed files with 22 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ HttpServer::HttpServer()
bool HttpServer::isAlive() const
{
// started on demand, but only start if allowed
return Settings::self()->connectionDetails().allowLocalStreaming;
return MPDConnection::self()->getDetails().allowLocalStreaming;
}
bool HttpServer::start()