mirror of
https://github.com/imputnet/cobalt.git
synced 2026-05-22 14:24:23 -05:00
[GH-ISSUE #273] Can't download from Soundcloud if no opus audio is available #1566
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @resucutie on GitHub (Dec 13, 2023).
Original GitHub issue: https://github.com/imputnet/cobalt/issues/273
Cobalt only thinks a Soundcloud music is valid if it includes a dash in its URL. For example: Downloading the music Credits, which has the url
https://soundcloud.com/frums/credits, that does not include a dash, will not download. But downloading its extended version, which includes a dash in its URL (https://soundcloud.com/frums/credits-ex), will download@hllhnd commented on GitHub (Dec 21, 2023):
From my testing, it seems it has nothing to do with hyphens in the song name. I tried a different song without a hyphen from the same artist and it downloads fine.
Instead, it seems that Soundcloud is outright not providing an Opus transcoding for this specific song, which Cobalt does not account for.
It seems the obvious fix is using the mp3 encoding as a fallback, but I don't know if this would pose an issue. Would this fix cause any issues @wukko?
@wukko commented on GitHub (Dec 21, 2023):
this fix wouldn't cause any issues, i assumed soundcloud provides opus for all songs, but apparently not lol