I built this so I could get as many of my 2500+ Spotify liked songs into Beat Saber. Now it's your turn!
Before running the script, you need to set up your Spotify API credentials. Follow these steps:
- Visit the Spotify Developer Dashboard to create an app.
- Open
config.ini
and replaceyour_client_id_here
,your_client_secret_here
, andyour_redirect_uri_here
with your Spotify application's credentials. - It is reccommended you set
your_redirect_uri_here
as "http://localhost:8888/callback" (in both config.ini and in the Spotify Developer Dashboard for your app.)
You may also need to install the following packages:
pip3 install spotipy
run script.py
first, wait for the .csv file to be generated (may take a while depending on the size of your library), and then run beatsaver.py
. This will leave you with a folder of custom songs that match the names of your liked songs, which you can then move into wherever your Beat Saber custom songs folder is.
There are just too many random songs out there mapped in Beat Saver with similar (or identical) names to popular songs. This means that a percentage of the downloaded songs will not be what you wanted. To delete songs quickly and easily while in-game, I suggest using the SongBrowser mod.
You may also run into API rate limitations if your library is exceptionally large.
Hope this helped!