Malith-Rukshan / Suno-API

SunoAI Unofficial Python API Library and REST API for Suno.ai — Create Music with Generative AI ! ✨
https://pypi.org/project/SunoAI
MIT License
60 stars 18 forks source link

I want to rename the files to use the song title rather than ID #4

Closed mylegitches closed 4 months ago

mylegitches commented 4 months ago

In the console I can see the song IDs, but I am not advanced enough to go through your library to figure out how to 'grab' them.

Basically, I am downloading the files into a directory, but they not really discernable via the song ID. I want to rename them using the sing title once the download completes. I can do this if I have the song ID so i can find that filename and rename it later.

Malith-Rukshan commented 4 months ago

Hello @mylegitches,

I've updated the Suno-API with commit c789c3359d..... The download() function now saves songs with both the song name and ID. This should help you identify and manage the files more easily.

Check out the latest commit and let me know if you have any questions!