This PR adds a new option -m that adds metadata for title, artist and album which most music software should recognize.
Here is an example:
$ cargo run -- "https://music.163.com/#/song?id=530995221" -d temp -m
2020-07-25 13:38:07,039 INFO [main] Output directory: temp
2020-07-25 13:38:07,040 INFO [main] File name format: $artist - $name
2020-07-25 13:38:07,041 INFO [main] Media type: mp3
2020-07-25 13:38:07,041 INFO [main] Media quality: 19200
2020-07-25 13:38:07,042 INFO [main] Starting fetch song list from: https://music.163.com/#/song?id=530995221
2020-07-25 13:38:07,936 INFO [main] Fetching song list completed, total amount: 1
2020-07-25 13:38:07,937 INFO [main] Parse song download info: ID: 530995221, Name: Till I Collapse (NEFFEX Remix), Artist: NEFFEX & Eminem, Album: Till I Collapse (NEFFEX Remix)
2020-07-25 13:38:08,848 INFO [main] Downloading: [1/1]NEFFEX & Eminem - Till I Collapse (NEFFEX Remix).mp3]
2020-07-25 13:38:12,120 INFO [main] Added metadata tags
2020-07-25 13:38:12,121 INFO [main] Download complete, target directory: temp
In Windows Explorer you should see:
I'm very new at Rust, let me know if there is any issues.
This PR adds a new option
-m
that adds metadata for title, artist and album which most music software should recognize. Here is an example:In Windows Explorer you should see: I'm very new at Rust, let me know if there is any issues.