AHCorn/Bilibili-Auto-Quality
About
Automatically unlocks and changes the video and audio quality of Bilibili videos, as well as live-stream quality. It can automatically select the highest video quality, lossless audio, and Dolby Atmos.
Design & MediaMeasured star growth
- in 24h
- +1
- in 7 days
- +3
- in 15 days
- +11
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README_EN.md
Original
Bilibili-Auto-Quality
简体中文 | English
Automatically unlock and change the quality of Bilibili video, audio, and live stream, enabling automatic selection of the highest video quality, lossless audio, and Dolby Atmos.
Note: Multi-language support for the script UI is not yet available. However, the script's functionality is quite intuitive, and you can use a translation tool to assist with usage.
Preview
Features
Integrates the unlocking features of Bilibili Unlock Dolby Atmos & 8K & Enable HDR & Live Quality PRO.
Draws on the switching logic of Bilibili - Auto Switch Live Quality to Highest for implementing the live quality and route selection panel.
Automatically selects the highest available video quality based on whether the user is a VIP member.
Users can customize default primary and backup quality preferences, as well as custom quality priority order in the settings panel.
Supports automatic toggling of lossless audio and Dolby Atmos.
Supports adaptive quality downgrade on poor network, background quality degradation prevention, live quality polling lock, and page keep-alive.
Supports automatic codec selection, auto widescreen, cross-tab settings sync, and panel dark mode.
Usage Guide
[!WARNING] The script automatically selects the highest audio-visual quality available to the current user. It does NOT allow non-members to use member-only options.
If you are using Google Chrome, first install Tampermonkey from the Chrome Web Store.
If you are using Firefox, install the extension here.
After the first installation, please open the extension once. You will see a prompt asking you to:
Enable Developer Mode in your browser (usually found in the Extensions/Add-ons section of the browser menu, with a Developer Mode toggle at the top).
Then, visit the script's homepage and click Install this script. The Tampermonkey installation panel will pop up.
Click "Install", and the page will close automatically after installation.
After installation, open a Bilibili video or live stream page, and find the extension area in your browser's toolbar (some browsers may collapse it). Locate the Tampermonkey icon you just installed:
- A red number "1" in the top-left corner of the icon indicates a script is running.
Click the extension icon, and in the popup you will see Bilibili Auto Quality.
- Below it is a button "Set Audio and Video Quality".
- If the script text appears grayed out, it has not taken effect. Try refreshing the page.
- Clicking the button will open the settings panel where you can configure quality and audio settings.
By default, the script automatically selects the highest available quality for both video and audio. If you have specific preferences, you can adjust them in the settings panel.
FAQ
Can the script "crack" VIP membership?
This script only simulates clicks. It has no cracking functionality whatsoever.
1. Where is the settings panel?
After updating to version 4.0 or later, the script adds a small TV icon to the player control bar by default. Click it to open the quality settings panel.
If the settings button disappears while other scripts load normally, please check the browser console for any errors from this script and include the full error message when reporting.
2. VIP status detected incorrectly?
If the script incorrectly identifies your account's VIP status and switches to non-VIP quality, it might be because Bilibili's current event changed the VIP badge, or you have ad-blockers/extensions that modify page elements.
Feel free to report this issue anytime, or use the Developer Options in the script to manually override your VIP status as a temporary workaround.
3. Auto-switching not working?
If you are not logged in, enable "Not Logged In Mode" in Developer Settings.
If you are logged in normally and can open the script's settings panel but auto-switching still doesn't work, we apologize for the inconvenience. Please copy the console logs and submit feedback.
4. Why aren't the unlock features working?
To avoid compatibility issues, the script no longer enables unlock features by default. You can enable them manually in the Unlock Settings panel.
Since unlock features are not the primary focus, you may also use the original script directly. The unlock-related code in this script comes from:
Bilibili Unlock Dolby Atmos & 8K & Enable HDR & Live Quality PRO
Please do not enable the unlock features in both scripts simultaneously.
5. Does the script affect keyboard shortcuts or other unrelated features?
You can right-click the script or view the source code in the project's code section. This script does not affect keyboard shortcuts. Please try disabling the script first to test.
If a feature does stop working because of this script, please include the console logs when reporting so we can reproduce and fix the issue.
6. Have suggestions for improvements or ideas for useful features?
If you are willing to share your ideas, the script will incorporate your suggestions in future updates, provided they align with the script's purpose and are practical enough.
Whether it's a suggestion or a bug report, thank you for helping improve this script. Much appreciated! Thanks!
Roadmap
If the issue you reported or the feature you need is listed below, you can wait for an upcoming update.
Lock Live Stream Decode Strategy
Acknowledgements
Thanks to all the contributors for their PRs!
I had been using Bilibili Default Highest Quality before developing this script.
Unlock-related code from Bilibili Unlock Dolby Atmos & 8K & Enable HDR & Live Quality PRO
Live quality switching logic from Bilibili - Auto Switch Live Quality to Highest
Explore related projects
Loading…