nuclear icon indicating copy to clipboard operation
nuclear copied to clipboard

"The Death & Resurrection Show" by "Killing Joke": an error has occurred when searchin…

Open Lucki opened this issue 1 year ago • 1 comments

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…

Lucki avatar Aug 21 '24 23:08 Lucki

Likely due to: https://github.com/distubejs/ytdl-core/issues/92

nukeop avatar Aug 21 '24 23:08 nukeop

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.

GearKite avatar Oct 18 '24 09:10 GearKite

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.

nukeop avatar Oct 18 '24 09:10 nukeop

Fixed in the newest version.

nukeop avatar Jan 26 '25 20:01 nukeop

Confirmed with 0.6.42

Lucki avatar Jan 26 '25 20:01 Lucki