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
f2a4bcbbe1
Remove requirements.txt and create requirements-dev.txt for development dependencies
2025-10-19 00:06:24 +03:00
dark_zoul
9f0c44c1a3
Added:
...
- requirements.txt
- compose.yaml
- config example
- changed gitignore to not ignore /config
2025-10-18 23:57:16 +03:00
dark_zoul
b345c16c23
Remove Docker image build workflow: delete build-docker-image.yml(redundant)
2025-10-18 23:29:56 +03:00
dark_zoul
6f6d0ecf85
Fix Docker image artifact handling: standardize tar file naming and paths
2025-10-17 11:31:32 +03:00
dark_zoul
1e710f7ea7
Refactor Docker image handling: save and upload images with distinct tags, update artifact paths
2025-10-17 11:23:13 +03:00
dark_zoul
099d4d9740
Fix release workflow: add checkout step to build docker image as latest
2025-10-16 23:07:21 +03:00
dark_zoul
68cf583d5c
Fix Docker image loading step: update path to the tar file for correct loading
2025-10-16 23:00:49 +03:00
dark_zoul
946e8d3d99
Fix Docker image loading step: update path to the tar file for correct loading
2025-10-16 22:54:56 +03:00
dark_zoul
3c8b5aad0b
add Docker image artifact upload step
2025-10-16 22:36:46 +03:00
dark_zoul
341f7a7eae
Fix Docker image save and load steps: update image reference and correct step naming
2025-10-16 22:27:24 +03:00
dark_zoul
85f3ea528e
Fix Docker image build workflow: add missing checkout step for consistency
2025-10-16 22:18:03 +03:00
dark_zoul
637989eb9f
Refactor Docker image build workflow: add dependency on build-linux-package and update artifact naming for clarity
2025-10-16 22:08:54 +03:00
dark_zoul
0197d2303e
Fix artifact download and extraction steps to correctly reference the TAG variable
2025-10-16 22:05:58 +03:00
dark_zoul
9a3877c8dd
Refactor Docker image build workflow: remove redundant checkout step and update artifact naming
2025-10-16 22:03:09 +03:00
dark_zoul
0297fd750e
Refactor Docker image build workflow:do it as a job in the release.yml
2025-10-16 21:58:21 +03:00
dark_zoul
277d899993
Fix artifact download action to use Gitea-specific implementation
2025-10-16 21:40:03 +03:00
dark_zoul
1cf4544b82
Refactor Dockerfile to use alpine base image and streamline dependencies; update workflows to handle artifact downloads and extraction
2025-10-16 21:37:38 +03:00
dark_zoul
440344b8fb
Refactor Docker image build process: latest image is built with distinct digest hopefully
2025-10-16 20:49:36 +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
6d3591ed54
Update Docker usage instructions in README: change pull command to run command with required volumes
2025-10-16 13:12:47 +03:00
dark_zoul
febbd2c681
Add Docker usage instructions to README
2025-10-16 13:10:56 +03:00
dark_zoul
8205469372
Add error handling in tag extraction step and remove image artifact upload
2025-10-15 21:51:20 +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
110a5100dd
Remove redundant step to push Docker image with release tag
2025-10-15 18:41:39 +03:00
dark_zoul
538fac2394
Add artifact upload step for Docker image in build workflow
2025-10-15 18:40:27 +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
6524c173a6
Refactor environment variable names for Docker registry to improve clarity
2025-10-15 15:36:53 +03:00
dark_zoul
fb5ae1421b
Update Docker registry login step to use DOCKER_HUB_ACCESS_TOKEN
2025-10-15 15:25:02 +03:00
dark_zoul
19b749077f
typo
2025-10-15 15:15:31 +03:00
dark_zoul
6f12f241e3
Refactor Docker registry login step to use login-action for improved security and clarity
2025-10-15 15:12:11 +03:00
dark_zoul
4093e9f76b
Add workflow_dispatch trigger to Docker image build workflow
2025-10-15 14:51:48 +03:00
dark_zoul
4062ccc411
Update Docker registry login command to use password from stdin for security
2025-10-15 14:27:10 +03:00
dark_zoul
8918746b8e
Fix Docker registry login command to use OWNER variable for username
2025-10-15 14:24:34 +03:00
dark_zoul
3a614e880c
Update Docker image build steps to include OWNER variable in tags and pushes
2025-10-15 14:05:22 +03:00
dark_zoul
349eaef7ff
Refactor Docker registry configuration and update login token reference
2025-10-15 13:55:17 +03:00
dark_zoul
f32bb3ebdc
Reorder Docker image push steps to fix registry login
2025-10-15 13:44:05 +03:00
dark_zoul
03d59e204d
Update Docker build context path in workflow
2025-10-15 13:27:39 +03:00
dark_zoul
6d7bbff45e
Fix registry URL typo in Docker build workflow
2025-10-15 13:25:25 +03:00