Skip to content

Conversation

@SanGraphic
Copy link

No description provided.

Malopieds and others added 30 commits July 6, 2024 17:22
Malopieds and others added 30 commits November 1, 2024 10:13
…-huang#468)

* ## Fix "Unknown Error" on Playback Request Due to InnerTube API Changes

- Replaced Piped Streams with direct YouTube streams for `YouTube.player()`, as [pipedapi.kevin.rocks](https://pipedapi.kevin.rocks) is down.
  **Note**: Direct streams seem to cause issues once in a while, such as playback interrupts or timeouts.
- Added support for signature timestamps in `YouTube.player()`, fetched from InnerTube using the media ID, for clients requiring signature timestamps.
- Playback and stream fetching handled in `innertune/utils/YTPlayerUtils.kt`.
- Extraction/Deobfuscation of `PlayerResponse` data is handled in `innertube/utils/NewPipeUtils.kt`.
- Updated 'YoutubeClient' clients to reflect changes.
- Fixed Kugou test causing build errors

### Additional Changes:
- Added [libs.newpipeExtractor](https://github.com/TeamNewPipe/NewPipeExtractor) to `libs.versions.toml` and `innertube/build.gradle`.

* Should fix downloads from being throttled, and removes api key from player requests (doesn't appear to be used anymore)
new screenshots
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.