Open BennyDaBee opened 1 year ago
This issue actually isn't related to DMP itself, but rather to its dependency ytsr. YTSR randomly throws "TypeError: filterWrapper is not iterable" which DMP simply interprets as NoSongFound (even though that isn't the case). Related issue: https://github.com/TimeForANinja/node-ytsr/issues/180 There's an open pull request regarding the issue on their repo.
Once it's published, you may want to override the ytsr version in your package.json temporarily (or not), until DMP owners bump the ytsr version. If you don't want to wait, you can look into patching ytsr with patch-package temporarily (which is what I've done).
Hey, bump today.
@SushiBtw The fix isn't merged into ytsr yet, so bumping won't be of use at the moment.
I still have this issue of having to run the "!play" command around 50 times for the bot to find the requested song, is there any fix for this yet?
@EclipseGame18 You can do a work around for now, by editing the package.json file, and for ytdl-core, make it look like the following.
"ytdl-core": "npm:@distube/ytdl-core@^4.11.16",
Bug Description Music Player will take multiple attempts with links/queries to resolve a youtube video.
Reproduction Steps Steps to reproduce the behavior:
Expected Result It to resolve the correct video the first time
Attachments
Versioning:
Additional Comments Add any other context about the problem here.