diff options
author | Anthony Wang | 2023-10-06 23:11:10 -0400 |
---|---|---|
committer | Anthony Wang | 2023-10-06 23:11:10 -0400 |
commit | 8f09a59363d14fafce147ec5b0a9a6f5740f6697 (patch) | |
tree | 73cc2f851a43028ee90a6e950b3f7fc53a36dc44 /user_agent.txt | |
parent | 9cf9d91e8667010e360caf9b9a4c374fcd9904fd (diff) |
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 'user_agent.txt')
0 files changed, 0 insertions, 0 deletions