• Stars
    star
    124
  • Rank 288,207 (Top 6 %)
  • Language
    Python
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Add "163 key" for media file

163 Marker

为歌曲添加 163 key(Don't modify) 标记

让非网易云客户端下载的音频文件能被客户端识别,正常匹配歌词和查看评论 (与云盘匹配无关)

Dependency

$ pip install requests mutagen pycryptodome

Install

$ pip install git+https://github.com/nondanee/163marker.git

Usage

Execute

$ 163marker -h # 等同于 "python 163marker/app.py -h" 和 "python -m 163marker.app -h"
usage: 163marker [-h] file [uri] [id]

positional arguments:
  file        audio file path (MP3/FLAC)
  uri         meta data source (URL/PATH)
  id          specific song id

optional arguments:
  -h, --help  show this help message and exit
  • file 文件路径 (支持 MP3 和 FLAC 格式)
  • uri 用户动态 / 专辑 / 歌曲链接 (客户端内分享,复制链接) 或文件路径 (拷贝标记)
  • id 强制填充歌曲 ID (可选)

Import

# 因包名为数字开头无法直接 import
import importlib
marker = importlib.import_module('163marker')
marker.extract(file_path) # 从文件读取标记内容

marker.parse(resource_uri) # 从链接或文件地址获得元数据

marker.mark(file_path, song_meta, song_id) # 由元数据生成标记并写入文件

注: 对于已经 "消失" 的曲目 (无歌曲链接)

  1. 若曾分享单曲到动态,可从用户的动态中提取信息
  2. 若曲目消失而专辑未下架,可用专辑信息重建数据,再填充歌曲 ID
  3. 若曾下载过相同专辑的其他歌曲,可拷贝已有文件的标记,再填充歌曲 ID

(2/3 情况下默认同专辑歌手一致,歌名将从 ID3 tag title 中读取,请预先设置)

More Repositories

1

UnblockNeteaseMusic

Revive unavailable songs for Netease Cloud Music
JavaScript
17,035
star
2

vsc-netease-music

UNOFFICIAL Netease Music extension for Visual Studio Code
JavaScript
1,022
star
3

Glee

也是个网易云第三方😶
JavaScript
355
star
4

weiboPicDownloader

Download weibo images without logging-in
Python
260
star
5

weiboBatchFollow

微博批量关注 (转移关注列表)
225
star
6

onemoretime

Nogizaka46 graduated members' blog archive
HTML
42
star
7

Nroxy

A VPNService based HTTP Proxy APP bundled with Node.js Runtime
C
41
star
8

Jike-Bus

🚍 即刻 Ⓙ SDK for Node.js
JavaScript
23
star
9

KeyakiMsgAssistant-Xposed

Xposed module for "欅坂46/日向坂46 メッセージ" app
Java
15
star
10

idol

坂道系官博聚合阅读
Python
14
star
11

Jike-Patcher

The Sun Jike Rises
Smali
12
star
12

Unblock163MusicClient-Remote

Serverless Backend for Unblock163MusicClient-Xposed
JavaScript
12
star
13

Jike.Tab

New Tab Page for Jike.APP
JavaScript
9
star
14

JikeRedirect

Redirect Jike API to Jellow API
JavaScript
8
star
15

JikeRedirect-Xposed

Redirect Jike API to Jellow API
Java
8
star
16

KeyakiMsgAssistant

CLI tool for extracting resources from "欅坂46/日向坂46 メッセージ" app
Python
7
star
17

Jellow-Patcher

Make Jellow APP work again
Smali
6
star
18

electron-toutiao

开发者头条 Menubar application for Mac
JavaScript
6
star
19

NogiKeya

Utilities for collecting data from nogi‘s & keyaki’s official website
Python
5
star
20

bannero

An image API for simpledesktops.com
5
star
21

algorithm-review

被笔试虐得不要不要的
Python
4
star
22

contribution-graph

毕业衫创意 UESTC SCSE 2014
4
star
23

idol-dev

坂道系官博聚合阅读
JavaScript
3
star
24

platform

Moving instructions for nogimono
Python
3
star
25

Deno-Proxy

simple HTTP proxy
JavaScript
3
star
26

tauri-start

JavaScript
2
star
27

RemoteAudioElement

HTMLAudioElement for Node.js
JavaScript
2
star
28

nogimono

乃木物平台
Python
2
star
29

groove-music-concept

Concept design for Groove Music (For fun)
JavaScript
2
star
30

jellow

JavaScript
2
star
31

2048

2048 Game
2
star
32

kuuki-heroku

kuuki's server deployed on heroku
Python
2
star
33

sousenkyo-auto

AKB48 sousenkyo vote
Python
1
star
34

TimeFlies

new tab extension makes you more motivated
CSS
1
star
35

kuuki-predict

Python
1
star
36

onemorechance

Nogizaka46 graduated members' blog archive
HTML
1
star
37

ngx-plainindex

Plain indexes attachment for the Nginx web server
JavaScript
1
star
38

tiny-html-decorator

HTML
1
star
39

platform-api

APIs' documentation for nogimono
1
star
40

JellowRedirect-Xposed

Redirect Jellow API to Jike API
Java
1
star
41

dropbox

JavaScript
1
star
42

EXP-Weibo

不简单的微博平台
Python
1
star