Skip to main content

music downloader of music.sonimei.cn

Project description


title: Sonimei

Sonimei

music downloader of sonimei.cn

full supported in python3.7, macosx

Todo

  • <input type="checkbox" disabled="" /> parse netease playlist and download all
  • <input type="checkbox" disabled="" /> add nosetests
  • <input type="checkbox" disabled="" /> maybe more other sites from sonimei

Sites supported

  • <input type="checkbox" checked="" disabled="" /> qq
  • <input type="checkbox" checked="" disabled="" /> 163(netease)
  • <input type="checkbox" checked="" disabled="" /> kugou

Capability

  • <input type="checkbox" checked="" disabled="" /> search of single song name/artist
  • <input type="checkbox" checked="" disabled="" /> multiple songs split by #
  • <input type="checkbox" checked="" disabled="" /> download and auto add ID3 tag:cover
  • <input type="checkbox" checked="" disabled="" /> pagination supported
  • <input type="checkbox" checked="" disabled="" /> scan directory and update ID3 tags
  • <input type="checkbox" checked="" disabled="" /> check local file before search
  • <input type="checkbox" checked="" disabled="" /> the search result: json/html raw file, auto cached, until you delete them
  • <input type="checkbox" checked="" disabled="" /> the search candidates cached in the app lifecycle
  • <input type="checkbox" checked="" disabled="" /> colorful ui :)

new features

  • <input type="checkbox" checked="" disabled="" /> auto cache downloaded album covers, until you manually delete them
  • <input type="checkbox" checked="" disabled="" /> if you are listening NeteaseMusic, with snm -a will auto get the song's name and try download it, no need to copy/search anymore
  • <input type="checkbox" checked="" disabled="" /> if the NeteaseMusic with High-Qulity 320Kbps, will prompt to download it directly, but you can always skip it.
  • <input type="checkbox" checked="" disabled="" /> if some song download failed, will store it, and with snm -fs you can re-download it again.

Install

cd <PATH>/Sonimei-Music
python setup.py install
# reinstall
pip/3 uninstall sonimei -y && python setup.py instal

sonime config/stored files/caches

config

config file: ~/.sonimei/sonimei.cfg

[log]
enabled = false
file_pth = /Users/lihe/.sonimei/sonimei.log
file_backups = 3
file_size = 5
level = 10
symbol = ☰☷☳☴☵☲☶☱

[pretty]
# install hacknerd font for full chars
symbols =  ,,,, ,,,,,,,,,,,,,,,,

[snm]
save_dir = ~/Music/sonimei

songs

edit config:sonimei.cfg

caches

cached raw: ~/.crawler/music.sonimei.cn/raw

cached covers: ~/.crawler/music.sonimei.cn/media

cached netease raw: ~/.crawler/music.163.com

usage

if installed snm can be called from terminal

new feature

A. snm -a will get current playing neteasemusic song, and try download
B. snm -fs will found all download failed songs, and try re-download them.

auto-163-retry-failure

no params: snm

if no params supplied, will show -h hints

show help: snm -h/--help

help

search single song/artist

search_n_b

keys supported in search lifecycle

nN load next page

pP load previous page

bB go back one layer

1~10 the number, will download the song

s skip current song, if in scan mode

choose site: -s 163/kugou

but now, both not available I just use the sonimei site result, I don't use 163/kugou, I prefer qq, so I just leave it here.

from_netease

scan

will scan songs saved dir, and try to fix ID3 tags and cover

scan

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for sonimei, version 0.1.8.1
Filename, size File type Python version Upload date Hashes
Filename, size sonimei-0.1.8.1-py3-none-any.whl (31.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size sonimei-0.1.8.1.tar.gz (17.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page