Remove duplicate SomaFM entries
-
We don't need an mp3 and aac option listed for every station, just pick the most FOSS one and let it be
-
@arno I fixed this by changing the area around line 113 in somafmservice.cpp
... RadioChannel channel; QString quality = obj_playlist["quality"].toString(); QString format = obj_playlist["format"].toString(); if ((quality != "highest") || (format != "aac")) continue; channel.source = source_; channel.name = name; ...
And then refreshing the channel list in Strawberry
I also removed the lines
if (obj_playlist.contains("format")) { channel.name.append(" " + obj_playlist["format"].toString().toUpper()); }
Unfortunately the github version doesn't respect the "use system icons" rule so now I'm recompiling from the Debian source version
I posted a patch file here
https://github.com/orgs/strawberrymusicplayer/discussions/1419#discussioncomment-9065392