If connected to MPD via a UNIX-domain socket, then send non-MPD files as file:/// URLs to MPD - i.e. dont use internal HTTP server. To foce usage of HTTP server - set alwaysUseHttp to true in Cantata's config file.
BUG: 373
This commit is contained in:
committed by
craig.p.drummond
parent
3a07ab4e6d
commit
2273b27f15
@@ -79,6 +79,7 @@ HttpServer::HttpServer()
|
||||
, socket(0)
|
||||
, closeTimer(0)
|
||||
{
|
||||
force=Settings::self()->alwaysUseHttp();
|
||||
connect(MPDConnection::self(), SIGNAL(socketAddress(QString)), this, SLOT(mpdAddress(QString)));
|
||||
connect(MPDConnection::self(), SIGNAL(cantataStreams(QList<Song>,bool)), this, SLOT(cantataStreams(QList<Song>,bool)));
|
||||
connect(MPDConnection::self(), SIGNAL(cantataStreams(QStringList)), this, SLOT(cantataStreams(QStringList)));
|
||||
|
||||
Reference in New Issue
Block a user