Commit Graph
25 Commits
Author SHA1 Message Date
dark_zoul f47eccbb07 Update Dockerfile to use ytplaylist.cli as entry point and clean up yt-playlist-main.py 2025-10-19 19:09:27 +03:00
dark_zoul 41359edc51 Refactor YouTube Playlist Downloader
- Moved main execution logic to cli.py and updated imports accordingly.
- Created a new __init__.py file to export the main function from the cli module.
- Implemented the PlaylistDownloader class in downloader.py to handle playlist downloading logic.
- Added ConfigLoader class in config.py to manage configuration settings.
- Introduced PlaylistManager class in manager.py to manage multiple playlists.
- Updated encoding handling for Windows in the main execution block.
- Removed redundant code and improved overall structure for better readability and maintainability.
2025-10-19 17:50:14 +03:00
dark_zoul f41e82e17a Remove unused playlist identifier assignment in PlaylistDownloader 2025-10-19 13:43:45 +03:00
dark_zoul 1223335370 Apply Black code formatting and improve readability: standardize whitespace and line breaks 2025-10-19 13:43:23 +03:00
dark_zoul 6c7d3b2825 Fix path resolution in ConfigLoader to use script location instead of config dir location 2025-10-16 13:59:04 +03:00
dark_zoul 0498857920 do not update yt-dlp executable when running in Docker 2025-10-15 21:37:04 +03:00
dark_zoul e1278308d1 Improve private playlist detection heuristics in PlaylistDownloader 2025-10-15 21:29:02 +03:00
dark_zoul 93cd9a0fe0 Refactor mode "both" in PlaylistDownloader: video is downloaded then audio extracted using ffmpeg. 2025-10-15 21:13:15 +03:00
dark_zoul 6203fd36c0 Comment out assignment of playlist_id in PlaylistDownloader initialization 2025-10-15 20:40:36 +03:00
dark_zoul 37bc269092 Enhance playlist URL validation 2025-10-15 20:37:15 +03:00
dark_zoul 4739e13af2 Update ffmpeg requirement to include 'both' download mode in ConfigLoader 2025-10-15 19:59:16 +03:00
dark_zoul 75d4d971dd Refactor Dockerfile to install dependencies with no-install-recommends and update ffmpeg checks in ConfigLoader for improved audio mode handling 2025-10-15 19:15:22 +03:00
dark_zoul fb32de243f Add conditional check to only require ffmpeg if download_mode is audio 2025-10-15 19:07:32 +03:00
dark_zoul 66758edb4b Improve logic in ConfigLoader to handle binaries in PATH 2025-10-15 19:03:09 +03:00
dark_zoul ed8398f28c Update error message for missing config path 2025-10-15 18:51:32 +03:00
dark_zoul e1971c3928 Refactor Docker image paths for better compatibility with Docker environment 2025-10-15 18:35:30 +03:00
dark_zoul 7e9fb038c0 Remove unused import of distutils.command.config 2025-10-14 21:08:43 +03:00
dark_zoul badb1482d2 Refactor output path handling in PlaylistDownloader to create separate folders for audio and video downloads 2025-10-14 11:26:57 +03:00
dark_zoul fa25274460 Refactor file renaming logic to support separate handling of audio and video files in "both" mode 2025-10-14 11:23:56 +03:00
dark_zoul 7b1212d188 Fix playlist URL placeholder and enhance cleanup process for mode "both" for audio and video files 2025-10-14 11:22:43 +03:00
dark_zoul 72fd741b27 Update config for playlist downloads: each playlist has its own mode and quality settings 2025-10-14 11:08:18 +03:00
dark_zoul 4b32ec10c2 Update README and config file for enhanced download options and paths 2025-10-14 10:38:37 +03:00
dark_zoul daac87b16c Enhance download functionality by adding video download mode and max video quality options 2025-10-14 09:54:12 +03:00
dark_zoul 53e2030d13 changed binaries location
- changed binaries location to /bin in config, .py, and in workflow
2025-10-13 09:36:16 +03:00
dark_zoul 4889ef20bc Add YouTube playlist downloader with configuration support
- Implemented a new script (yt-playlist-main.py) for downloading audio from YouTube playlists.
- Added configuration file (yt-playlist-config.json) to specify playlists, save paths, and binary paths.
- Integrated error handling and validation for required binaries (yt-dlp, ffmpeg, aria2c).
- Included functionality to update yt-dlp automatically.
- Added support for parallel downloads and cleanup of removed tracks.
- Implemented renumbering of downloaded tracks based on playlist order.
2025-10-12 17:15:34 +03:00