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

[Bug]: Can't play video #318

Closed
5 tasks done
John4650-hub opened this issue Mar 30, 2024 · 3 comments
Closed
5 tasks done

[Bug]: Can't play video #318

John4650-hub opened this issue Mar 30, 2024 · 3 comments
Labels
B: API issue bug Something isn't working

Comments

@John4650-hub
Copy link

Guidelines

  • I have encountered this bug in the latest release of FreeTube.
  • I have searched the issue tracker for open and closed issues that are similar to the bug report I want to file, without success.
  • I have searched the documentation for information that matches the description of the bug I want to file, without success.
  • This issue contains only one bug.

Describe the bug

At first the videos where playing normally but today the program has failed to play any video because of some API error.
I am running freetube as a flask application
This is what i got after trying the latest nightly build artifact for PWA

The video returned by YouTube isn't the requested one. (Android client)"
errorBacktrace: "The video returned by YouTube isn't the requested one. (Android client) (VideoNotAvailableException)↵ from src/invidious/videos/parser.cr:157:9 in 'try_fetch_streaming_data'↵ from src/invidious/videos/parser.cr:111:5 in 'extract_video_info:video_id'↵ from src/invidious/videos.cr:391:3 in 'fetch_video'↵ from src/invidious/videos.cr:379:13 in 'get_video'↵ from src/invidious/videos.cr:361:1 in 'get_video:region'↵ from src/invidious/routes/api/v1/videos.cr:12:15 in 'videos'↵ from src/invidious/routing.cr:229:5 in '->'↵ from lib/kemal/src/kemal/route.cr:12:26 in '->'↵ from src/invidious/helpers/handlers.cr:30:5 in 'process_request'↵ from lib/kemal/src/kemal/route_handler.cr:17:7 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from lib/kemal/src/kemal/websocket_handler.cr:13:14 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from lib/kemal/src/kemal/filter_handler.cr:21:7 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/invidious/helpers/handlers.cr:157:5 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/invidious/helpers/handlers.cr:94:12 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/invidious/helpers/handlers.cr:146:5 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/invidious/helpers/handlers.cr:70:5 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/ext/kemal_static_file_handler.cr:162:16 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from lib/kemal/src/kemal/exception_handler.cr:8:7 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from src/invidious/helpers/logger.cr:17:35 in 'call'↵ from /usr/share/crystal/src/http/server/handler.cr:30:7 in 'call_next'↵ from lib/kemal/src/kemal/init_handler.cr:12:7 in 'call'↵ from /usr/share/crystal/src/http/server/request_processor.cr:51:11 in 'process'↵ from /usr/share/crystal/src/http/server.cr:521:5 in 'handle_client'↵ from /usr/share/crystal/src/http/server.cr:451:5 in '->'↵ from /usr/share/crystal/src/fiber.cr:146:11 in 'run'↵ from /usr/share/crystal/src/fiber.cr:98:34 in '->'↵ from ???↵"
[

This is what i see in the browser
Screenshot_20240330-182102

Expected Behavior

Video should have played as it used to

Issue Labels

API issue

FreeTube Version

v0.19.2-nightly-435 Beta

Operating System Version

Mozilla/5.0 (Linux; Android 6.0.1; SAMSUNG SM-G532F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36

Installation Method

PWA (Progressive Web App)

Primary API used

Local API

Last Known Working FreeTube Version (If Any)

No response

Additional Information

No response

Nightly Build

@John4650-hub John4650-hub added the bug Something isn't working label Mar 30, 2024
@MarmadileManteater
Copy link
Owner

This is known issue with invidious. AFAIK, there is a new integrity check for the android endpoints (which iv relies on for streams).

iv-org/invidious#4498

There is nothing that can be done about it in freetube. The local api is not effected because it uses the web endpoints.

@MarmadileManteater MarmadileManteater closed this as not planned Won't fix, can't repro, duplicate, stale Mar 30, 2024
@karmarcharger
Copy link

This is known issue with invidious. AFAIK, there is a new integrity check for the android endpoints (which iv relies on for streams).

iv-org/invidious#4498

There is nothing that can be done about it in freetube. The local api is not effected because it uses the web endpoints.

image
Switching to local api and opening a video still throws invidious API error tho?
image

@MarmadileManteater
Copy link
Owner

The PWA does not support the local api because of CORS. I should hide the api preference setting on that version, so its more clear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
B: API issue bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants