Skip to content
This repository has been archived by the owner on Oct 28, 2022. It is now read-only.

Commit

Permalink
πŸš‘ Fix Soundcloud
Browse files Browse the repository at this point in the history
  • Loading branch information
kaaax0815 committed May 27, 2021
1 parent 6af2910 commit 3ea8fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/playing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export default {
if (song.url.includes('soundcloud.com')) {
try {
stream = await scdl.downloadFormat(song.url, scdl.FORMATS.OPUS);
streamType = 'opus';
streamType = 'ogg/opus';
} catch (error) {
stream = await scdl.downloadFormat(song.url, scdl.FORMATS.MP3);
streamType = 'unknown';
Expand Down

0 comments on commit 3ea8fd2

Please sign in to comment.