-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[YouTube] Channel page - Shorts videos no longer display their duration #8034
Comments
This comment was marked as resolved.
This comment was marked as resolved.
The issue is indeed caused by shorts (and seems to be the "Channels not loaded" issues in What's new feed (so we should rename the message to "Channels with loading errors", because content can still be extracted)): the change is currently rolling out and replaces the duration of shorts by a There is now no way to get the duration except parsing the accessibility data (available inside video items (
So we need a regular expression or (several regular expressions) that matches the content before a space before itself the last occurence of |
I just tried refreshing now. I got 67 "Not loaded" channels. By refreshing repeatedly, I was able to bring that number down to 1. |
@TiA4f8R Correct me if I'm wrong, but I don't think there's any actual shorts that are >= 1 minute? So wouldn't just something like |
No, you are wrong, they can be equal to 1 minute, according to https://support.google.com/youtube/answer/10059070 and here how looks like the accessibility data in this case: Note that this data may be also used as a last ressort to get duration from other places (the same structure code is used in search results and playlists), so we should support extracting them, even if that's not really precise for longer videos: we are not able to know how many seconds there for 1 hour+ videos, and how many hours and seconds for 1 day+ videos. |
As a workaround 0 is returned as duration for such videos. See also TeamNewPipe/NewPipe#8034
As a workaround 0 is returned as duration for such videos. See also TeamNewPipe/NewPipe#8034
A fix/workaround will be available with TeamNewPipe/NewPipeExtractor#813: TeamNewPipe/NewPipeExtractor#813 (comment) |
As a workaround 0 is returned as duration for such videos. See also TeamNewPipe/NewPipe#8034
As a workaround 0 is returned as duration for such videos. See also TeamNewPipe/NewPipe#8034
This comment was marked as duplicate.
This comment was marked as duplicate.
Related: TeamNewPipe/NewPipe#8034 Authored-by: coletdjnz
Related (PR with solution in yt-dlp): yt-dlp/yt-dlp#3171 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Closing as #9182 is merged |
Checklist
Affected version
0.22.1
Steps to reproduce the bug
Open channel https://youtube.com/c/Ingress in NewPipe.
Expected behavior
Channel should open and show videos
Actual behavior
Channel opens and shows videos, but at the bottom of the screen I see message "Something went wrong".
Screenshots/Screen recordings
Logs
Exception
Exceptions (7)
Crash log 1
Crash log 2
Crash log 3
Crash log 4
Crash log 5
Crash log 6
Crash log 7
Affected Android/Custom ROM version
Android 12 /OneUI 4
Affected device model
Samsung Galaxy S20 FE
Additional information
No response
The text was updated successfully, but these errors were encountered: