Help Wizard

Step 1

NEXT STEP

FAQs

Please see below the most popular frequently asked questions.

Loading article...

Loading faqs...

VIEW ALL

Ongoing Issues

Please see below the current ongoing issues which are under investigation.

Loading issue...

Loading ongoing issues...

VIEW ALL

Shuffle all songs

Shuffle all songs

Plan

Premium

Country

Malaysia

Device

iPhone X

Operating System

iOS 12.3.1

 

My Question or Issue

How to play all of my downloaded songs? I used to shuffle all of my songs with the previous version. Now, with updated version I can’t shuffle all of them. Also, I don’t like the new updated version, the old one is better. 

Reply
21 Replies

This has nothing to do with what this thread is about.

Clearly Spotify programners can't build a simple shuffle function, so here's one for free. It's in python, so you'll need to translate the logic to whatever language your app is written in. If you have the capacity, of course. I can translate it to typescript if you want, but for that I'd have to learn it and that would take like a couple of hours so it would cost you.

 

import random 

def shuffle(song_ids: list):

  return random.shuffle(song_ids)

 

You're welcome. 

Suggested posts