The core philosophy of DeepSeek Harness (DSH) is “Everything is a plugin”. In scenarios of agent development or local data processing, there are frequent needs to handle encrypted music files (such as NCM) or perform batch format conversions. This plugin provides localized decryption and conversion capabilities without relying on cloud services.
This is a DSH client plugin maintained by the user yousj666. It primarily solves three problems: first, decrypting encrypted music from various platforms (NetEase Cloud NCM, Kuwo KWM, Kugou KGM, QQ Music QMC); second, performing mutual conversions between common formats; and third, providing audio quality enhancement features.
Core Functions¶
- Decryption Support: Supports decrypting NetEase Cloud NCM, Kuwo KWM, Kugou KGM, and QQ Music QMC.
- Format Interconversion: Supports conversion between mp3, flac, m4a, aac, wav, ogg, and opus.
- Audio Quality Enhancement: Provides EBU R128 loudness normalization, EQ, dynamic compression, resampling, and bit depth adjustment.
- Operation Methods: Supports a drag-and-drop interface and batch processing.
- Packaging Form: Can be packaged as a standalone exe file (approx. 197MB) with zero dependencies.
Installation and Activation¶
The installation command is as follows:
dsh plugin --profile <profile> add dsh-audio-converter
After the plugin is installed, the feature entry point will be available in the “Audio Conversion” tab of the session view.
Typical Usage¶
- Batch Conversion: Enter commands directly in the conversation, e.g., “Convert all ncm files in G:\CloudMusic\VipSongsDownload to mp3”.
- Format Identification: Use the tool to identify file formats, e.g., “Check what format this .mgg file actually is and see if it can be decrypted”.
- Audio Quality Processing: Enhance lossless files, e.g., “Apply loudness normalization to this batch of flac files and then convert them to m4a”.
Applicable Scenarios and Notes¶
- Local Execution: All processing is performed locally; nothing is uploaded to servers.
- Dependency Requirements: Depends on
ffmpeg, which the program will detect automatically. - Limitations:
- QQ Music v3 (new version) offline files cannot be decrypted (keys are not distributed).
- Kugou KGG (encryption version 5) is not supported.
- Some trailing packets (STag/MusicEx) of QMC v2 do not contain keys; manual provision of the EKey is required.
- Cannot restore information already lost through lossy encoding.
- Disclaimer: Intended solely for format conversion of personally purchased music.
Through local processing and clear compatibility descriptions, this plugin provides developers with a stable and controllable audio processing tool. For more details, please refer to the GitHub Repository.