All Projects → nondanee → 163marker

nondanee / 163marker

Licence: MIT license
Add "163 key" for media file

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to 163marker

netease-music-cache-decoder
The decoder for netease music to convert cache file to origin mp3.
Stars: ✭ 41 (-63.39%)
Mutual labels:  netease-cloud-music
netease-music
NetEase Music Library for Emacs.
Stars: ✭ 52 (-53.57%)
Mutual labels:  netease-cloud-music
HeyDownload
音视频网站解析脚本
Stars: ✭ 18 (-83.93%)
Mutual labels:  netease-cloud-music
Square-Player
🍨 一个简洁到极致的单曲播放器
Stars: ✭ 19 (-83.04%)
Mutual labels:  netease-cloud-music
MusicDownloader
It is a tool to download the music files such as .mp3 from netease cloud
Stars: ✭ 63 (-43.75%)
Mutual labels:  netease-cloud-music
simple-cloud-music
简洁的的第三方网易云音乐播放器
Stars: ✭ 306 (+173.21%)
Mutual labels:  netease-cloud-music
Unblockneteasemusic
Revive unavailable songs for Netease Cloud Music (Golang)
Stars: ✭ 253 (+125.89%)
Mutual labels:  netease-cloud-music
pyncm
网易云音乐 Python API / 下载工具
Stars: ✭ 135 (+20.54%)
Mutual labels:  netease-cloud-music
fedora-netease
fedora网易云音乐安装脚本。该脚本用于在Fedora上一键安装网易云音乐,测试于Fedora-KDE-30。
Stars: ✭ 26 (-76.79%)
Mutual labels:  netease-cloud-music
NeteaseMusic-Client
Based on vue-netease-music, Powered by Electron™
Stars: ✭ 17 (-84.82%)
Mutual labels:  netease-cloud-music
netease-music-box
🎧 将你最近一周的网易云音乐的听歌记录更新到 Gist
Stars: ✭ 57 (-49.11%)
Mutual labels:  netease-cloud-music
netease-cloud-music-appimage
netease-cloud-music AppImage
Stars: ✭ 40 (-64.29%)
Mutual labels:  netease-cloud-music
cover4mp3
[Deprecated] Fetching album covers for your songs.
Stars: ✭ 12 (-89.29%)
Mutual labels:  netease-cloud-music
lekima
netease cloud music for VIMer, named after the typhoon, lekima.
Stars: ✭ 21 (-81.25%)
Mutual labels:  netease-cloud-music
MusicUnionSearch
音乐全网搜索
Stars: ✭ 20 (-82.14%)
Mutual labels:  netease-cloud-music
ABot-Graia
一个使用 Graia Ariadne 搭建的 QQ 功能性机器人。
Stars: ✭ 194 (+73.21%)
Mutual labels:  netease-cloud-music
HibiAPI
一个实现了多种常用站点的易用化API的程序 / A program that implements easy-to-use APIs for a variety of commonly used sites.
Stars: ✭ 427 (+281.25%)
Mutual labels:  netease-cloud-music
siren
react native music player
Stars: ✭ 15 (-86.61%)
Mutual labels:  netease-cloud-music
PixelMusic
Unofficial NetEase Cloud music player
Stars: ✭ 72 (-35.71%)
Mutual labels:  netease-cloud-music
Lyricify-App
A fantastic app to provide auto-scrolling lyrics for Spotify, iTunes, Music Center, QQ Music, Netease Cloud Music, and YesPlayMusic. 一款为Spotify、iTunes、Music Center、QQ音乐、网易云音乐、YesPlayMusic提供滚动歌词的软件。
Stars: ✭ 486 (+333.93%)
Mutual labels:  netease-cloud-music

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 中读取,请预先设置)

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].