When checking for Cantata streams - also check CDDA. Needed for HTTP server, so that it know which Cantata files to serve.
This commit is contained in:
@@ -779,7 +779,9 @@ void MPDConnection::playListChanges()
|
||||
s.id=idp.id;
|
||||
// s.pos=idp.pos;
|
||||
songs.append(s);
|
||||
if (s.isStream()) {
|
||||
if (s.isCdda()) {
|
||||
newCantataStreams.append(s);
|
||||
} else if (s.isStream()) {
|
||||
if (s.isCantataStream()) {
|
||||
newCantataStreams.append(s);
|
||||
} else {
|
||||
@@ -833,7 +835,9 @@ void MPDConnection::playListInfo()
|
||||
QList<Song> cStreams;
|
||||
foreach (const Song &s, songs) {
|
||||
playQueueIds.append(s.id);
|
||||
if (s.isStream()) {
|
||||
if (s.isCdda()) {
|
||||
cStreams.append(s);
|
||||
} else if (s.isStream()) {
|
||||
if (s.isCantataStream()) {
|
||||
cStreams.append(s);
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user