aboutsummaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorAnthony Wang2023-10-06 23:11:10 -0400
committerAnthony Wang2023-10-06 23:11:10 -0400
commit8f09a59363d14fafce147ec5b0a9a6f5740f6697 (patch)
tree73cc2f851a43028ee90a6e950b3f7fc53a36dc44 /requirements.txt
parent9cf9d91e8667010e360caf9b9a4c374fcd9904fd (diff)
Handle case where the sourceUrl is mp3 not wavHEADmaster
Some songs have a mp3 instead of wav for their sourceUrl, for instance https://monster-siren.hypergryph.com/api/song/125014 To handle this, we need to always call choice_format() in download_song() and use AudioSegment.from_mp3 instead of AudioSegment.from_wav when doing the file conversion if the downloaded file is a mp3.
Diffstat (limited to 'requirements.txt')
0 files changed, 0 insertions, 0 deletions