NotTobi / soundcloud-dl

Extension for downloading SoundCloud tracks
https://addons.mozilla.org/firefox/addon/soundcloud-dl
MIT License
94 stars 7 forks source link

Corrupts wav #38

Open xeruf opened 2 years ago

xeruf commented 2 years ago

https://soundcloud.com/leagueoflegends/caitlyn-the-sheriff-of-piltover-1 The official download is fine, but through the extension I get an unplayabe wav:

[00007f0dc4c0c110] wav demux error: cannot find 'fmt ' chunk
[00007f0dc4c0c110] wav demux error: An error occurred during wav demuxing
[wav @ 0x7f0dc4c25000] no 'fmt ' or 'XMA2' tag found
[00007f0dc4c0c110] avformat demux error: Could not open /home/janek/data/4-incubator/downloads/soundcloud/League of Legends - Caitlyn, the Sheriff of Piltover.wav: Unknown error 1094995529
TagLib: RIFF::File::read() -- Chunk '' has invalid ID
TagLib: RIFF::WAV::Properties::read() - 'fmt ' chunk not found or too short.
QObject::~QObject: Timers cannot be stopped from another thread
NotTobi commented 2 years ago

I use a 3rd party library for tagging wav files, so this is likely an issue on their end: https://github.com/NotTobi/soundcloud-dl/blob/master/src/tagWriters/wavTagWriter.ts

I'm sorry, but I do not have time to properly address this at the moment.