Skip to content
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

Fix/live stream duration #653

Closed
wants to merge 2 commits into from
Closed

Fix/live stream duration #653

wants to merge 2 commits into from

Conversation

TobiGr
Copy link
Contributor

@TobiGr TobiGr commented Jun 13, 2021

  • I carefully read the contribution guidelines and agree to them.
  • I have tested the API against NewPipe.
  • I agree to create a pull request for NewPipe as soon as possible to make it compatible with the changed API.

Follow up of #651

Fixed recognizing all streams as live streams
Also recognize streams with "NOW PLAYING" thumbnail overlay as live streams

Thanks to @litetex for noticing the regression introduced in #651.

@TobiGr TobiGr added bug Issue is related to a bug youtube service, https://www.youtube.com/ labels Jun 13, 2021
@TobiGr
Copy link
Contributor Author

TobiGr commented Jun 13, 2021

don't merge. and don't test

@opusforlife2
Copy link
Collaborator

So... mark it as a draft, then?

@TobiGr TobiGr marked this pull request as draft June 14, 2021 07:58
@TobiGr
Copy link
Contributor Author

TobiGr commented Jun 14, 2021

I found out that the "now playing" overlay is not only present on live streams, but all streams. The overlay is shown when there is a play queue in YouTube and the stream is playing. Unfortunately, we cannot tell whether a stream is live stream or not when the "LIVE" badge is missing. That is the case when the stream is a never ending stream like a TV channel or news program and already running for a specific time (> 24 hours).

@Stypox
Copy link
Member

Stypox commented Jun 17, 2021

Oh, ok. Let's revert #651 then?

@TobiGr TobiGr closed this Jun 23, 2021
@TobiGr TobiGr deleted the fix/live-stream-duration branch June 23, 2021 10:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue is related to a bug youtube service, https://www.youtube.com/
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants