If you've ever wanted a more permanent solution to shuffling, then check out this quick video!
------------------------------------------------------------------------------------------------------------------------------------------------------
Method A (Shown in the video):
Python Project: [ Ссылка ]
!!!!! PLEASE NOTE: They have changed the UI for repl. Now in order to edit what links are in the file, you will need to "fork" the repl. Click the button in the top right. It will prompt you to make an account, signing in with Google is the quickest way to get past this screen. After this you will be able to edit everything in the project and even change the code if you understand Python.
If this doesn't work please see the other ways to do this below:
------------------------------------------------------------------------------------------------------------------------------------------------------
Method B - Same code as video, HOWEVER you need to find your own place to run it (no repl)
Code (must have python 3+ either on website or installed on device):
import random # we need this for the shuffle
lines = open('spotify.txt').readlines() # tells python what we mean by lines (open the file spotify.txt)
random.shuffle(lines) # shuffles spotify.txt
open('spotify.txt', 'w').writelines(lines) # opens spotify.txt in write mode and writes to lines (spotify.txt)
print("Complete")
------------------------------------------------------------------------------------------
Method C - New method since many people are having issues with Repl. (Easiest and probably should've been used to begin with tbh)
1.) Copy songs as shown in the video
2.) Paste them into this website: [ Ссылка ]
3.) Copy the shuffled songs
4.) Paste them back into Spotify as shown in the video.
------------------------------------------------------------------------------------------
Just for the record, I know that there is already a shuffle button built into Spotify!
I needed a way to shuffle it for myself. So after I figured it out, I thought that I may as well put the solution online.
Thanks for watching and let me know if you have a problem!
![](https://i.ytimg.com/vi/gvTRdfMCag0/maxresdefault.jpg)