👽 clseibold

I have updated the code for AuraGem Public Radio so that there's less repeats for most genres (some genres like World have less songs atm, so they will have repeats more often).

The radio keeps track of which songs have already played up to the max number of songs for that genre. Then, when it reaches max, it will pop from the front of a queue about 1/4th of the songs on the list. Poping off a quarter of the queue allows the next songs to be re-randomized from those songs. This system also makes sure that when the max is reached, the next songs are always the songs that were played the longest time ago (because that's how queues work).

gemini://auragem.letz.dev/music/public_radio

8 months ago

Links

gemini://auragem.letz.dev/music/public_radio

Actions

👋 Join Station