Fetch metadata and allow editing for stream songs
This commit is contained in:
committed by
Jonas Kvinge
parent
ea629aedd1
commit
a71e5b170b
@@ -474,8 +474,10 @@ bool Playlist::setData(const QModelIndex &idx, const QVariant &value, const int
|
||||
QObject::disconnect(*connection);
|
||||
}, Qt::QueuedConnection);
|
||||
}
|
||||
else if (song.is_radio()) {
|
||||
else if (song.is_stream()) {
|
||||
item->SetOriginalMetadata(song);
|
||||
Q_EMIT dataChanged(index(row, 0), index(row, ColumnCount - 1));
|
||||
Q_EMIT EditingFinished(id_, idx);
|
||||
ScheduleSave();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user