-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[bug] Video API returns empty formats
/adaptiveFormats
for livestreams
#3057
Comments
formats
and adaptiveFormats
for /api/v1/videos/:id
for livestreams/api/v1/videos/:id
- Return formats
and adaptiveFormats
for livestreams
That's not supposed to happen xD |
/api/v1/videos/:id
- Return formats
and adaptiveFormats
for livestreamsformats
/adaptiveFormats
for livestreams
formats
/adaptiveFormats
for livestreamsformats
/adaptiveFormats
for livestreams
Invidious use HLS and not dash for livestreams, so you have to use the hlsUrl. |
Haha, found the culprit: |
@litetex I've made a quick fix, available on our test instance: https://test.invidious.io/api/v1/videos/oXQoDlOpr_M I've also added a few other things, like audio properties (as @TiA4f8R asked on Matrix), color infos and support for MP4 Timed Text tracks ( |
@SamantazFox Thank you for the quick fix. However I found a few other problems on the test instance:
I guess I should create new issues for these problems or? |
Nice! I'll do a PR then :)
No views is because we don't parse the As for the date, we don't handle that either... :facepalms:
As for that part, it's weird. I don't have any issues requesting that from the API. Maybe there was an issue on Youtube's side? The error you got points to both Edit: Ah, I have a video that have the same issue.
Yep, please open a new one for the livestream start time/view count. Seem like nobody reported that before. |
Is your enhancement request related to a problem? Please describe.
I'm currently implementing Invidious support into NewPipe (TeamNewPipe/NewPipe#8220) and noticed that no livestreams are playable because
formats
andadaptiveFormats
return no stream.Describe the solution you'd like
Extract and return the streams inside
formats
andadaptiveFormats
.Describe alternatives you've considered
Currently you have to play livestreams using the NewPipe-native YT extraction.
Additional context
N/A
The text was updated successfully, but these errors were encountered: