PerformanC / NodeLink

Performant LavaLink alternative written with Node.Js
BSD 2-Clause "Simplified" License
38 stars 23 forks source link

[BUG]: "username is not defined" error upon loading a track from soundcloud #35

Closed TehPigYT closed 5 months ago

TehPigYT commented 5 months ago

NodeLink version

5f130d4

Description

6|NL  | TypeError: Cannot read properties of undefined (reading 'username')
6|NL  |     at file:///root/root/NodeLink/src/sources/soundcloud.js:252:25
6|NL  |     at Array.forEach (<anonymous>)
6|NL  |     at Object.search (file:///root/root/NodeLink/src/sources/soundcloud.js:248:19)
6|NL  |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
6|NL  |     at async Server.requestHandler (file:///root/root/NodeLink/src/connection/handler.js:388:20)

Client

FastLink (63d36b2)

Steps to reproduce

Set soundcloud as default search source Use scsearch: to look for the track The error shows up in console and prevents the bot from playing any actual audio.

Example code

No response

Confirmations

Code of Conduct

ThePedroo commented 5 months ago

Fix landed on https://github.com/PerformanC/NodeLink/commit/abe1eac9dec1bfef46f59cc26c5e7aae9b63528d.