Update README.md
This commit is contained in:
parent
0fe45e9528
commit
b52ce07e58
1 changed files with 43 additions and 0 deletions
43
README.md
43
README.md
|
@ -25,3 +25,46 @@ python downloader-mp3.py
|
||||||
|
|
||||||
## Info
|
## Info
|
||||||
The downloaded files will be in either "MP3 files" or "FLAC files". The folders will be created where the python script is located.
|
The downloaded files will be in either "MP3 files" or "FLAC files". The folders will be created where the python script is located.
|
||||||
|
|
||||||
|
|
||||||
|
# Custom path download
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>MP3</b></summary>
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
Replace "album_directory = os.path.join('MP3 files', sanitized_album_name)" with
|
||||||
|
```
|
||||||
|
base_directory = 'C:\\your\\custom\\path'
|
||||||
|
album_directory = os.path.join(base_directory, 'MP3 files', sanitized_album_name)
|
||||||
|
```
|
||||||
|
### Linux
|
||||||
|
Replace "album_directory = os.path.join('MP3 files', sanitized_album_name)" with
|
||||||
|
```
|
||||||
|
base_directory = '/your/custom/path'
|
||||||
|
album_directory = os.path.join(base_directory, 'MP3 files', sanitized_album_name)
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
<details>
|
||||||
|
<summary><b>FLAC</b></summary>
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
Replace "album_directory = os.path.join('FLAC files', sanitized_album_name)" with
|
||||||
|
```
|
||||||
|
base_directory = 'C:\\your\\custom\\path'
|
||||||
|
album_directory = os.path.join(base_directory, 'FLAC files', sanitized_album_name)
|
||||||
|
```
|
||||||
|
### Linux
|
||||||
|
Replace "album_directory = os.path.join('FLAC files', sanitized_album_name)" with
|
||||||
|
```
|
||||||
|
base_directory = '/your/custom/path'
|
||||||
|
album_directory = os.path.join(base_directory, 'FLAC files', sanitized_album_name)
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue