• danekrae@lemmy.world
    link
    fedilink
    arrow-up
    28
    arrow-down
    1
    ·
    1 month ago

    It’s been years since I dabbled with programming, but how hard can it be for these music app developers to make a random list of your songs, and pop every played song from the list until it’s empty and then repeat.

    • Ephera@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      1 month ago

      Pretty sure that’s how most of them work…?

      It’s a single function call to randomize the order of a list in most randomization libraries. The hardest part would be to persist this randomized list across program restarts, and it’s not hard either.

      • atomicbocks@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 month ago

        Unfortunately, not Plex. Plex has the absolute worst fucking shuffle mechanism I have ever used in my entire fucking life. It will literally play things in the exact same order multiple times in a row like days later. And in the Plexamp app, it will literally not play past like the fourth track on any album.

      • lightnsfw@reddthat.com
        link
        fedilink
        arrow-up
        1
        ·
        1 month ago

        I don’t think any of the ones I used are truly random, or there’s something else going on. I often just randomize my whole music library and it’s always pretty samey. It’s often the same songs coming up even though I have 100s and I know for a fact there’s songs that have never come up.

        • Ephera@lemmy.ml
          link
          fedilink
          arrow-up
          1
          ·
          1 month ago

          Hmm, if the songs never show up, it might be worth checking, whether they can be played when you select them manually. I’ve had it before where the particular music player didn’t understand the file format or the metadata of a song, so it just silently skipped it.

          But yeah, otherwise that’s weird. Obviously, some of the more corporate music players will try to do weird stuff with how shuffle works, but there’s so many open-source music players out there, where I just don’t see why they’d bother to implement something else than randomized order…

          • lightnsfw@reddthat.com
            link
            fedilink
            arrow-up
            2
            ·
            1 month ago

            The songs do work. I recently switched to symfoniun. Haven’t had it long enough to test the randomness but I’m liking the other features so far.

    • jballs@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      This dude (famous for “do you guys not have phones?”) actually has a pretty good YouTube series on interesting ways to tackle programming challenges. He’s got one on randomness that I thought was pretty cool: https://youtu.be/2anY9ICA-Pg

  • AeronMelon@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    1 month ago

    Algorithm shuffle is garbage.

    2026, and I’m still using iTunes and actual music files loaded on my phone.

    It actually shuffles, plays everything in a playlist exactly once, reshuffles everything, and does it again.

  • Tikiporch@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    What is it with streaming playlist mixes that causes them to only play the last dozen or so songs, anyway? I add ONE instrumental song to my liked tracks and suddenly it’s all Polyphia and Nito.

    • PoopBuffet@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      1 month ago

      They prioritize songs in your cache. That way they reduce their infrastructure costs. On Spotify at least clearing your cache can force it to give you something different.

  • SippyCup@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    1 month ago

    I had just gotten Google music to reliably stop doing this when they shut the service down. I’ve been disappointed with every music service since. I don’t have the time to go download thousands of songs, as much as I’d like to. I’ve gotten really in to podcasts and audiobooks as a result

    • atomicbocks@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 month ago

      I’m still pissed at Google for buying and then killing rather than integrating Songza. The only thing we kinda got from that was the moods radio in Google music.

    • Deme@sopuli.xyz
      link
      fedilink
      arrow-up
      1
      ·
      1 month ago

      Most ripping software I’ve used allow to throw in a link to a playlist. I started off by ripping a playlist or two from spotify and then adding albums as I buy or otherwise aquire them. Getting started is a bit of work, but once you get over that, the rest is easy. I now have about 238 hours of music on my phone and my desktop after a year or so of doing this.

  • Heydo@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    I’ve heard Amazon music will only shuffle through blocks of 500 songs at a time. So for my 700 song playlist, if I start with the first song on the list and hit Random, it will only shuffle the first 500 songs. But if I choose a song above number 200, it will be able to shuffle through all 700 songs supposedly.

    I haven’t tried this out myself, but it would explain why I never hear the newest songs on my playlist when I shuffle.

  • ThunderLegend@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    I have this problem with tempus and navidrome. I don’t which one is the guilty one but my random and discovery playlists almost always play the same 500 songs of my 7k songs library.

  • itsgroundhogdayagain@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    1 month ago

    I assume it does this so you don’t skip songs and cause them to have to pay more royalties? The songs you never skip get more preference when “randomly” making the playlist.

  • x00z@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 month ago

    My car stereo has this problem. Its randomization always results in the same list. I have to trick it by doing something random myself first.