• Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Remove duplicate SomaFM entries

    Scheduled Pinned Locked Moved Feature Suggestions
    2 Posts 1 Posters 524 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arno
      last edited by

      We don't need an mp3 and aac option listed for every station, just pick the most FOSS one and let it be

      A 1 Reply Last reply
      Reply Quote 0
      • A
        arno @arno
        last edited by arno

        @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

        1 Reply Last reply
        Reply Quote 0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        Powered by NodeBB | Contributors