TuneSift
TuneSift is an open source metadata management tool for local music libraries. It can scan music in the binding directory, read embedded tags, and retrieve candidate metadata from Netease Cloud Music, QQ Music, Migu Music, and Kugou Music.
##Functional characteristics - Music library scanning: recursively identify MP3, FLAC, M4A, AAC, OGG, WAV, WMA, and read embedded tags and hanging `.lrc` lyrics. - Multi-source scraping: retrieve candidates from Netease Cloud Music, QQ Music, Migu Music, and Kugou Music, and support automatic and manual matching. - Original file write-back: FLAC and WAV can write the title, artist, album, year, genre, cover, and lyrics back to the original audio; other formats retain runtime metadata and hanging lyrics. - Local playback: Direct streaming of imported persistent music files without relying on online audio addresses. - Automatic synchronization: Scan for additions, deletions and modifications to bound directories every 5 seconds; automatic scraping schedule and scraping records are also written to the server. ###Optional Configuration All data source requests from TuneSift are initiated by the server `/api/search`, and the browser will not directly access the music platform; each search will retrieve up to 8 candidates. Netease Cloud, QQ and Kugou only complete the details of the first 4 candidates, while Migu determines whether to complete the details based on whether the results contain lyrics and addresses. Failure on a single platform does not interrupt the results of other platforms. | platform| Built-in acquisition method| additional information obtaining| |---|---|---| | NetEase cloud music| Server `POST https://music.163.com/api/cloudsearch/pc`|`GET /api/song/lyric` Get the lyrics; the audition address uses external chain format| | QQ Music| The server requests `search_for_qq_cp` and `client_search_cp` in turn, and automatically rolls back if the first one has no result| `fcg_query_lyric_new.fcg` Get lyrics| | mi mi music| Server `GET https://app.u.nf.migu.cn/pc/resource/song/item/search/v1.0`| Read the lyrics in the result first; pull the lyrics text when `lrcUrl` exists| | cool dog music| The server requests `msearch`,`mobilecdn`, and `song_search_v2` in turn, and automatically rolls back when the first one has no result| Use `play/getdata` or `getSongInfo` to supplement the cover, lyrics, and audition address| If you need to use self-built or authorized compatible services, you can fill in API Base in "Data Source → Configuration"; you can also provide default values through the mirroring environment variables `NETASE_API_BASE`,`QQ_API_BASE`,`MIGU_API_BASE`,`KUGOU_API_BASE`. The priorities are: intra-application configuration> environment variables> built-in methods in the above table. Leave blank to restore the built-in method.