Ensure local playback enbled for user mpd

Issue #1293
This commit is contained in:
Craig Drummond
2018-05-28 22:11:02 +01:00
parent 0d32865080
commit 1e13266613
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()