Androz2091 / Androz2091/discord-player

A tracks stream isnt fetched from the metadata extractor first, and it expects a URL even tho it shoudn't be necessary

オープン
#1,993 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
638
フォーク
197
平均マージ
2分
マージ済み PR(30日)
1

説明

**Describe the bug**
The check for which extractor can stream doesn't prioritize the extractor used for metadata querying. It also uses the tracks URL, which might not exist for certain extractor types.

**To Reproduce**
Steps to reproduce the behavior:
Have multiple extractors, easier when one works purely with protocol

**Expected behavior**
Start first with the extractor that got the metadata, then fallback to other, and also not try to validate with query url as certain extractors don't use it.
https://github.com/Androz2091/discord-player/blob/df5744d40a3591a551a97dcf740759e841f98caa/packages/discord-player/src/queue/GuildQueuePlayerNode.ts#L985-L1003

**Screenshots**

![Image](https://github.com/user-attachments/assets/36c62e56-ef8f-49a7-9280-21ff5b55b172)

**Please complete the following information:**
- Node Version: 22.11.0
- Discord Player Version: 7.0.0+
- Discord.js Version: 14.19.3

**Additional context**

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。