mirror of
https://github.com/darkzoul5/YoutubePlaylistSync.git
synced 2026-11-05 07:55:12 +02:00
readme: update config section
This commit is contained in:
1 parent
e8535d335d
commit
4cd6255b0f
1 file changed
+5
-3
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user