Update README config example and enhance running instructions

This commit is contained in:
dark_zoul committed 2025-10-14 11:14:52 +03:00
1 parent 72fd741b27
commit ab37791e14
1 file changed
+15 -12
+15 -12
View File
@@ -70,15 +70,15 @@ Edit `yt-playlist-config.json` to specify playlists, paths, and options:
"playlists": [ "playlists": [
{ {
"url": "https://www.youtube.com/playlist?list=playlistidhere", "url": "https://www.youtube.com/playlist?list=playlistidhere",
"download_mode": "audio",
"max_video_quality": "1080p"
"save_path": "./music", "save_path": "./music",
"archive": "archive.txt" "archive": "archive.txt",
} }
], ],
"yt_dlp_path": "./bin/yt-dlp.exe", // or "yt-dlp" for Linux "yt_dlp_path": "./bin/yt-dlp.exe", // or "yt-dlp" for Linux
"ffmpeg_path": "./bin/ffmpeg.exe", // or "ffmpeg" for Linux "ffmpeg_path": "./bin/ffmpeg.exe", // or "ffmpeg" for Linux
"aria2c_path": "./bin/aria2c.exe", // or "aria2c" for Linux "aria2c_path": "./bin/aria2c.exe", // or "aria2c" for Linux
"download_mode": "audio", // "audio", "video", or "both"
"max_video_quality": "1080p", // "720p", "1080p", "1440p", "2160p", "best"
"max_parallel_downloads": 10, "max_parallel_downloads": 10,
"aria2c_connections": 8 "aria2c_connections": 8
} }
@@ -93,16 +93,19 @@ Edit `yt-playlist-config.json` to specify playlists, paths, and options:
### Running ### Running
```sh ### Running
python yt-playlist-main.py
```
- The script checks for required binaries and updates yt-dlp. - Just run the script with Python:
- Downloads new tracks in the playlist according to your chosen mode and quality. - On Windows: `python yt-playlist-main.py`
- Tracks are saved and automatically renumbered to match playlist order. - On Linux: `python3 yt-playlist-main.py`
- Deleted/private videos are skipped.
- Archive file prevents re-downloading existing tracks. - The downloader will:
- After download, you can optionally clean up files not present in the playlist anymore (confirmation required). - Check for required tools and update yt-dlp automatically
- Download new tracks or videos from your playlist(s)
- Number and name files to match the playlist order
- Skip deleted or private videos
- Avoid re-downloading files you've already downloaded
- Offer to clean up files that are no longer in the playlist
--- ---