In random playback, always keep certain songs "stuck together."

Feature description:

By setting the adhesion relationship between songs, whenever a random list is generated and a song with an adhesion relationship is added, the corresponding songs will be added before and after it according to the adhesion relationship.

Problem solved:

This feature sounds quite odd. But if you are a game player who enjoys listening to game soundtracks, you might have the same thought:
“I really like to play my playlists randomly, but after listening to the music of the phase 1 of a boss battle, I wish the next song would definitely be its phase 2 music!”

Brought benefits:

To make songs that are naturally suited to be listened to consecutively more coherent.

Other application solutions:

 
There probably isn’t another music player with a similar feature; it was a sudden thought that occurred to me before going to sleep.
 

Additional description and context:

 
I named it “Glue,” which comes from the frequent jokes among Yu-Gi-Oh fans that the protagonist drawing many cards that work well together in the first turn of the anime is like using glue to stick the cards together, preventing them from being shuffled. My requirement perfectly corresponds to this situation, hoping that when generating a random queue, some songs will stick together and not be shuffled.

Of course, this feature may greatly increase the probability of the adhesion songs appearing, so it should reduce the appearance probability of this group of adhesion songs later.
Or by first generating the list, then adjusting the order of the adhesion songs that appear and sticking them together, and then adding other parts of the adhesion songs that do not exist in the list. But this may lead to the number of songs added after the adhesion exceeding the number filled in by the user, especially in the extreme case where all the songs in the list have their own adhesion relationships, and it is even more impossible to reduce the number by randomly deleting isolated songs.

So the implementation method may still be open to discussion, and I hope friends who are interested can provide ideas together, and I will also come to brainstorm from time to time when I am free.
 

Screenshots / Mockup:

    

1 Like