blob: 770d7e330b676980ef14005145acd8857a5d20bc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
Fixed from 1n0r1
Already test for using on Ubuntu & Windows in Python 3.
Download all songs, albums and fill out metadata, album, cover art, artists and even lyrics.
### Fix and add function
- Add the retry for the song didn't download for 100%
- Add the timeout connection and retry function
- Add the counter in the multiprocess to count the songs and album
- Fix the tool use on Windows will be false because the album name have the space in the last
- Add the delay in every download active
- Add the User Agent to avoid the Program identify is a crawler
### Falsed to accomplish
- [x] retry to print the retry message.
(Think may the message should add in the tqdm)
- [ ] The Counter of the song is not correct.
### Note:
The API offers .mp3 and .wav, but the program convert .wav to .flac since .wav can't do metadata.
### Requirements:
Python
ffmpeg
```
requests
tqdm
mutagen
pydub
pathvalidate
pylrc
Pillow
```
```pip3 install -r requirements.txt``` or ```pip install -r requirements.txt```
### Runs:
```python3 main.py``` or ```python main.py```
|