Update README.md

This commit is contained in:
Olai 2024-01-16 11:15:14 +01:00 committed by GitHub
parent 0fe45e9528
commit b52ce07e58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,3 +25,46 @@ python downloader-mp3.py
## Info
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>