Open Lucki opened 2 months ago
Likely due to: https://github.com/distubejs/ytdl-core/issues/92
Might not be that.
At queue.ts#L197 if a song has a verified video, but that video is not returned in the search results, streamData
will start with undefined ([undefined, ...]
), which is then passed to resolveSourceUrlForTheFirstStream
and causes a TypeError: Cannot read property 'stream' of undefined
at queue.ts#L257.
Can also check that when disabling stream verification, this doesn't happen.
That's a great observation. Unfortunately Youtube returns different search results for different people. If there's already a verified stream, it should use it without even searching for it. The search can happen later, so that the list of alternative streams can be populated.
Fill in the form to describe your problem I have a problem with: "The Death & Resurrection Show" by "Killing Joke" https://open.spotify.com/track/2JUo8iX8FC05xd9GEpw9BI It happens when: I try to play it/Adding the song to a queue My OS is: Linux/Flatpak I'm using Nuclear version: 0.6.38
Additional context config.json
When adding to the queue, the entry stays red and rotates forever, reporting an error has occurred when searchin…