internet/soma.fm: use high quality AAC stream

Prefer the high quality 130 kbit/s AAC stream over the 'fast' 128 kbit/s
mp3 stream.
This commit is contained in:
Benjamin Valentin 2021-01-01 17:59:44 +01:00 committed by John Maguire
parent 409c6b89d1
commit 3efa68f07d
1 changed files with 2 additions and 2 deletions

View File

@ -171,8 +171,8 @@ void SomaFMServiceBase::ReadChannel(QXmlStreamReader& reader, StreamList* ret) {
stream.title_ = reader.readElementText();
} else if (reader.name() == "dj") {
stream.dj_ = reader.readElementText();
} else if (reader.name() == "fastpls" &&
reader.attributes().value("format") == "mp3") {
} else if (reader.name() == "highestpls" &&
reader.attributes().value("format") == "aac") {
QUrl url(reader.readElementText());
url.setScheme(url_handler_->scheme());