readme: update config section

This commit is contained in:
dark_zoul committed 2026-05-16 15:58:05 +03:00
1 parent e8535d335d
commit 4cd6255b0f
1 file changed
+5 -3
+5 -3
View File
@@ -33,22 +33,24 @@ Create/edit `yt-playlist-config.json`:
```json ```json
{ {
"config_path": null, "config_path": "./",
"ffmpeg_path": "./bin/ffmpeg.exe",
"playlists": [ "playlists": [
{ {
"url": "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID", "url": "https://www.youtube.com/playlist?list=YOUR_PLAYLIST_ID",
"download_mode": "audio", "download_mode": "audio",
"save_path": "./downloads" "save_path": "./downloads"
} }
], ]
"ffmpeg_path": "./ffmpeg"
} }
``` ```
`config_path` (optional): `config_path` (optional):
- If set to a string path, the app loads the config from that file instead (path is relative to the current config file). - If set to a string path, the app loads the config from that file instead (path is relative to the current config file).
`download_mode`: `download_mode`:
- `video`: download playlist videos as muxed `.mp4` (no ffmpeg processing) - `video`: download playlist videos as muxed `.mp4` (no ffmpeg processing)
- `audio`: download muxed `.mp4`, extract `.mp3`, delete the `.mp4` - `audio`: download muxed `.mp4`, extract `.mp3`, delete the `.mp4`
- `both`: download muxed `.mp4`, extract `.mp3`, keep both files - `both`: download muxed `.mp4`, extract `.mp3`, keep both files