v0.8.8: Fix stems extraction — upload MP3 file instead of audio_url

The MusicGPT Extraction API's audio_url field only accepts YouTube URLs,
not direct MP3 links. Sending our /api/audio-source/ endpoint URL resulted
in 'Error fetching audio length from YouTube' because MusicGPT tried to
parse it as a YouTube video.

Switch to the audio_file upload option: open the local MP3 and upload it
directly as multipart/form-data to the Extraction API.

Bumped timeout from 30s to 60s for file upload.
This commit is contained in:
Troll (Hermes Agent) 2026-08-12 03:37:43 +00:00
parent 8df735d88c
commit 9575464be2
4 changed files with 15 additions and 10 deletions

View file

@ -1 +1 @@
0.8.7
0.8.8