sedmelluq / lavaplayer

Audio player library for Discord
Apache License 2.0
967 stars 247 forks source link

YoutubeSearchProvider excludes Livestreams from search results #107

Open MCOfficer opened 6 years ago

MCOfficer commented 6 years ago

No Matter what i try, i don't seem to be able to get any livestreams from youtube search results. for some queries i only get a single search result, even though it should be 16 (afaik). that makes me think that YoutubeSearchProvider actively removes livestreams.

If that is correct, is there any specific reason? And if Nik is correct and it was because originally the SourceManager didn't Support livestreams, could this be changed now that it does support them?

edit: turns out that this is indeed the case, the search provider doesn't like tracks with the length null. it's a simple fix, however it might not be ideal for "normal" music bots to return 24/7 livestreams as search results. perhaps making it optional would help.

pabru commented 6 years ago

The last time I checked, NewPipe doesn't support livestreams yet.

MCOfficer commented 6 years ago

@pabru uh, what?

auisdhf878tyc807asdhfiunkm commented 3 years ago

The last time I checked, NewPipe doesn't support livestreams yet.

I'm very late, so I don't know what was true then, but right now, if you try to play the link of the live stream, it works just fine. So right now it seems like they are not including live streams in search results for no reason