Closed KasperBosteels closed 2 years ago
this issue can be solved by going into the module and change some code in the index.js. the code i used:
let resource = await createAudioResource(ytdl(data.queue[0].url, { filter: 'audioonly',highWaterMark:1<<25,quality:'highestaudio'}), {
inputType: StreamType.Arbitrary,
inlineVolume: true,
});
i added the highwatermark and the quality option.
volume issue: you can set the volume to a more bearable average when dividing it by 100 in the module (also index.js) at line 322
fetchedData.resource.volume.setVolume(volume/100)
this issue can be solved by going into the module and change some code in the index.js. the code i used:
let resource = await createAudioResource(ytdl(data.queue[0].url, { filter: 'audioonly',highWaterMark:1<<25,quality:'highestaudio'}), { inputType: StreamType.Arbitrary, inlineVolume: true, });
i added the highwatermark and the quality option.
volume issue: you can set the volume to a more bearable average when dividing it by 100 in the module (also index.js) at line 322
fetchedData.resource.volume.setVolume(volume/100)
I added this in but still having the issue with it randomly aborting music
hmm maybe try lowering some of the setting a bit more if you read the ytdl-core documentation you can find some other setting to put there, hopefully that works for you
audio player aborts at random times, during songs oh and any volume above 1 sounds distorted and is way too loud. error message: