Files

45 lines
1.2 KiB
Markdown

# tidalconvert
Batch convert FLAC and WAV files to 320kbps MP3 to save storage space while maintaining high enough audio quality for DJing.
## Usage
### djconvert
Organizes the current directory by moving all audio files into `original/` and `converted/` folders. Lossless files (FLAC, WAV) are converted to 320kbps MP3 and placed in `converted/`, while existing lossy files (MP3, M4A) are copied to both locations.
```text
Usage: ./djconvert
No arguments required. The script operates on the current working directory.
```
### mp3convert
A helper script used by `djconvert` to convert a single file to 320kbps MP3 using ffmpeg.
```text
Usage: ./mp3convert <input_file> <output_directory>
Arguments:
input_file Path to the FLAC or WAV file.
output_directory Directory where the resulting MP3 will be saved.
```
### tdl
Download URLs using tiddl, either individually or from a list file.
```text
Usage: ./tdl [URL] | -f [FILE]
Arguments:
URL A single URL to download.
Options:
-f, --file FILE Path to a text file containing one URL per line.
--help Display this help message and exit.
```
## Requirements
- ffmpeg (with libmp3lame support)
- bash
- [tiddl](https://github.com/oskvr37/tiddl) (for tdl script)