maxrave-dev / maxrave-dev/SimpMusic

### Feature Request: Dynamic YouTube decryption auto-repair system

Open
#2,397 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
11.4k
Forks
599
Avg merge
3d 18h
Merged PRs (30d)
7

Description

Problem Description

Is your feature request related to a problem?
Google regularly updates YouTube's web scripts and decipher algorithms (such as n-signature and player JS rules), which can break audio stream extraction in SimpMusic. Currently, resolving these playback errors requires waiting for new app builds or manual releases to update the underlying decryption logic.

Proposed Solution

Describe the solution you'd like
I would like to request an automated, background-updating decryption system similar to the mechanism used in ArchiveTune:

  • A background process that periodically refreshes and pulls the latest YouTube decryption/decipher parameters (e.g., every 6 hours).
  • An automatic fallback trigger that fetches updated decryption code immediately when a track fails to play, repairing broken streams on the fly without needing an app update.

Alternative Solutions

Describe alternatives you've considered
Waiting for manual app patches or reinstalling updated builds whenever YouTube alters its backend decipher behavior.


Additional Context

Adding a self-healing decryption system will keep stream extraction stable and prevent playback breakage whenever Google updates YouTube's web behavior. Thanks for all your hard work on SimpMusic!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating the existing YouTube stream-extraction and decryption code, then define the update source, refresh schedule, and playback-failure fallback. Done means decryption updates can repair broken playback without a new app build, with the behavior validated in the relevant playback tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.