committed by
Craig Drummond
parent
55de8b7331
commit
4ce3bd72d2
@@ -32,6 +32,7 @@
|
||||
ARTIST_IMAGE_SUPPORT sections for removed code.
|
||||
26. When adding tracks via commandline, only play if queue is currently empty,
|
||||
otherwise just append new tracks.
|
||||
27. If hostname starts with a at (@) treat as local socket.
|
||||
|
||||
2.3.3
|
||||
-----
|
||||
|
||||
@@ -144,7 +144,7 @@ struct MPDConnectionDetails {
|
||||
MPDConnectionDetails(const MPDConnectionDetails &o) { *this=o; }
|
||||
QString getName() const;
|
||||
QString description() const;
|
||||
bool isLocal() const { return hostname.startsWith('/'); }
|
||||
bool isLocal() const { return hostname.startsWith('/') || hostname.startsWith('@'); }
|
||||
bool isEmpty() const { return hostname.isEmpty() || (!isLocal() && 0==port); }
|
||||
MPDConnectionDetails & operator=(const MPDConnectionDetails &o);
|
||||
bool operator==(const MPDConnectionDetails &o) const { return hostname==o.hostname && isLocal()==o.isLocal() && (isLocal() || port==o.port) && password==o.password; }
|
||||
|
||||
Reference in New Issue
Block a user