All Projects → poppinlp → netease-music-cache-decoder

poppinlp / netease-music-cache-decoder

Licence: GPL-3.0 license
The decoder for netease music to convert cache file to origin mp3.

Programming Languages

javascript
184084 projects - #8 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to netease-music-cache-decoder

NeteaseMusicUI
🎵 仿网易云音乐歌单详情页 【已全新改写】
Stars: ✭ 80 (+95.12%)
Mutual labels:  netease-cloud-music, netease-music
netease-music-box
🎧 将你最近一周的网易云音乐的听歌记录更新到 Gist
Stars: ✭ 57 (+39.02%)
Mutual labels:  netease-cloud-music, netease-music
Ieasemusic
网易云音乐第三方
Stars: ✭ 8,572 (+20807.32%)
Mutual labels:  netease-cloud-music, netease-music
siren
react native music player
Stars: ✭ 15 (-63.41%)
Mutual labels:  netease-cloud-music, netease-music
netease-music-crx
浏览器插件版网易云音乐
Stars: ✭ 110 (+168.29%)
Mutual labels:  netease-cloud-music, netease-music
musicfox
Dart编写的网易云音乐命令行程序。
Stars: ✭ 23 (-43.9%)
Mutual labels:  netease-cloud-music, netease-music
Vue Netease Music
🎵 基于 Vue2、Vue-CLI3 的高仿网易云 mac 客户端播放器(PC) Online Music Player
Stars: ✭ 1,783 (+4248.78%)
Mutual labels:  netease-cloud-music, netease-music
Ks265codec
ks cloud hevc(h265) encoder decoder test and description
Stars: ✭ 192 (+368.29%)
Mutual labels:  decoder
Ethereum Input Data Decoder
Ethereum smart contract transaction input data decoder
Stars: ✭ 242 (+490.24%)
Mutual labels:  decoder
Webp Hero
browser polyfill for the webp image format
Stars: ✭ 171 (+317.07%)
Mutual labels:  decoder
Oysterkit
OysterKit is a framework that provides a native Swift scanning, lexical analysis, and parsing capabilities. In addition it provides a language that can be used to rapidly define the rules used by OysterKit called STLR
Stars: ✭ 167 (+307.32%)
Mutual labels:  decoder
Goq
A declarative struct-tag-based HTML unmarshaling or scraping package for Go built on top of the goquery library
Stars: ✭ 192 (+368.29%)
Mutual labels:  decoder
Jayson
🧱 A JSON decoding/encoding library that handles optimistically or strictly.
Stars: ✭ 243 (+492.68%)
Mutual labels:  decoder
Rebel Framework
Advanced and easy to use penetration testing framework 💣🔎
Stars: ✭ 183 (+346.34%)
Mutual labels:  decoder
rmarsh
Ruby Marshal 4.8 encoder/decoder in Golang. Why? Who knows.
Stars: ✭ 15 (-63.41%)
Mutual labels:  decoder
Dav1d
A read-only mirror of dav1d source code repository. The origin is at https://code.videolan.org/videolan/dav1d/
Stars: ✭ 168 (+309.76%)
Mutual labels:  decoder
sms
A Go library for encoding and decoding SMSs
Stars: ✭ 37 (-9.76%)
Mutual labels:  decoder
DCC-green-pass-decoder
A simple web app to decode EU Digital Covid Certificate/Green Pass QR codes.
Stars: ✭ 42 (+2.44%)
Mutual labels:  decoder
Jpsxdec
jPSXdec: cross-platform PlayStation 1 audio and video converter
Stars: ✭ 219 (+434.15%)
Mutual labels:  decoder
Codablecsv
Read and write CSV files row-by-row or through Swift's Codable interface.
Stars: ✭ 214 (+421.95%)
Mutual labels:  decoder

netease-music-cache-decoder

Build Status Dependency Status Dev Dependency Status NPM version NPM downloads NPM license

把网易云音乐本地缓存的文件解码为原始的 mp3 文件。支持网页端直接使用

欢迎 STAR,欢迎 PR >.<

Install

npm i netease-music-cache-decoder

Methods

decode(buffer)

Inplace decode the input buffer.

Arguments

  • buffer {Buffer}: The buffer to be decoded.

Return

Will only return undefined since it's inplace decode.

decodeInfo(filename)

Get the meaningful name from cache file name. It will be something like "songName-artistName".

Arguments

  • filename {String}: Cache file name.

Return

Will return the meaningful name. Or the original filename if there's an error occurred.

decodeFile(target, opts)

Decode the target file.

Arguments

  • target {String}: The target file path.
  • opts:
    • output {String}: The output path. Default is undefined which means no output file.
    • decodeInfo {Boolean}: Whether to use the song info to form the output file name. Default is false.

Return

Will return the decoded buffer.

TODO

  • Add test case.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].