dark_zoul
75c8993bb4
Update integration workflow to support 'Next' branch and enhance import robustness in tests
2025-10-25 20:29:27 +03:00
dark_zoul
07c4533cba
Update integration workflow to include yt-dlp installation and simplify test execution
2025-10-25 20:02:08 +03:00
dark_zoul
7b704a1e21
fixes to integration workflow
2025-10-25 19:54:50 +03:00
dark_zoul
6631a4bd40
Merge branch 'Next' of https://git.darkzoul.org/dark_zoul/YouTube-Playlist-Downloader into Next
2025-10-25 19:40:28 +03:00
dark_zoul
3bff5dda49
Add full integration workflow test for audio/video downloads
2025-10-25 19:40:26 +03:00
dark_zoul
fd3af146ae
Update README.md
2025-10-22 14:46:30 +03:00
dark_zoul
15414c56fa
Update README.md to clarify CLI flags and environment variable usage
2025-10-22 14:45:30 +03:00
dark_zoul
05355f54fc
Add CLI flags and env vars docker documentation and clean up entrypoint script comments
2025-10-22 14:39:50 +03:00
dark_zoul
5eae107475
Refactor Dockerfile and entrypoint script for improved configuration handling and streamline image setup
2025-10-22 13:30:17 +03:00
dark_zoul
9f8a0e8449
Expand .dockerignore to include additional files and directories
2025-10-22 13:15:39 +03:00
dark_zoul
aff5dda8e5
Update version in pyproject.toml to v1.1.4 and remove requirements-dev.txt
2025-10-22 13:13:05 +03:00
dark_zoul
bf211fc176
Update project URL in pyproject.toml to point to the correct repository
2025-10-21 23:15:21 +03:00
dark_zoul
5acafcadb3
Refactor integration test setup and add pyproject.toml for project configuration
2025-10-21 23:10:52 +03:00
dark_zoul
4eff4a5536
Refactor test configuration and streamline test_cli_flags.py
2025-10-21 22:58:03 +03:00
dark_zoul
7dfa83565c
Add integration test for PlaylistDownloader and update test_cli_flags
2025-10-21 22:54:23 +03:00
dark_zoul
98afb8c74e
Add test script for PlaylistManager with prune and non-interactive modes
2025-10-21 22:24:49 +03:00
dark_zoul
599a0751b9
Add pruning option to PlaylistDownloader and update CLI arguments
2025-10-21 22:06:55 +03:00
dark_zoul
e1ec65094f
Implement non-interactive mode for PlaylistDownloader to support CI automation
2025-10-21 21:45:23 +03:00
dark_zoul
1402af52d6
Introduce Logging and argparse libs
2025-10-21 21:41:03 +03:00
dark_zoul
b64e39a95f
Update build-docker-image job dependencies to include release
2025-10-19 22:51:37 +03:00
dark_zoul
fc72bc161c
Remove build-docker-image dependency from release job
2025-10-19 21:02:35 +03:00
dark_zoul
6a0c5bd120
Refactor Docker image build process: streamline steps by removing tar save/load and directly pushing images to the registry
2025-10-19 21:01:56 +03:00
dark_zoul
eb7c059155
Add configuration and ytplaylist directory to Windows and Linux package distributions
2025-10-19 20:40:54 +03:00
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
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
dark_zoul
b54a6e2ed5
Rename job and update registry URL in Docker build workflow
2025-10-15 13:20:41 +03:00
dark_zoul
983a876549
Remove linux-zip artifact download and unpack steps from Docker build workflow
2025-10-15 13:17:52 +03:00
dark_zoul
73f8d79c9e
Remove dependency on linux-package job from Docker build workflow
2025-10-15 13:14:02 +03:00
dark_zoul
fa851ecc78
Refactor Dockerfile: streamline installation of dependencies: install via apt
2025-10-15 13:12:34 +03:00
dark_zoul
abb0c806a7
Add dependency on linux-package job for Docker build workflow
2025-10-15 13:07:09 +03:00
dark_zoul
c4d7e300e2
Add Docker workflow and Dockerfile for building and pushing images to Gitea registry
2025-10-15 12:56:02 +03:00
dark_zoul
c7805ee619
Update release workflow: remove pip update (redundant)
2025-10-15 11:39:37 +03:00
dark_zoul
a56e607548
Add draft option to release publishing step in workflow
2025-10-15 11:38:15 +03:00
dark_zoul
43ae593904
Remove Python setup steps from Windows and Linux package workflows
2025-10-15 11:21:56 +03:00
dark_zoul
105c19f1ce
Update artifact download action to christopherhx/gitea-download-artifact@v4
2025-10-15 11:16:49 +03:00
dark_zoul
68570b271f
switch artifact upload action to christopherhx/gitea-upload-artifact@v4
2025-10-15 11:09:03 +03:00
dark_zoul
a02b167377
Refactor release in workflow: use artifacts action for Windows and Linux, and update release publishing to release packages simultaneously.
2025-10-15 10:58:08 +03:00
dark_zoul
7e9fb038c0
Remove unused import of distutils.command.config
2025-10-14 21:08:43 +03:00
dark_zoul
57ba6b51f4
Refactor Linux package workflow: remove aria2c build steps and update dependencies
2025-10-14 12:24:05 +03:00
dark_zoul
d3a8b06643
Update installation dependencies in Linux release workflow to include autopoint
2025-10-14 11:59:06 +03:00
dark_zoul
f3fff72702
Update installation dependencies in release workflow to include autoconf and automake
2025-10-14 11:54:58 +03:00
dark_zoul
6914a4aba8
Remove configuration file copy from Windows and Linux package workflows
2025-10-14 11:49:04 +03:00
dark_zoul
01dea238c5
Fix typos in README.md
2025-10-14 11:42:19 +03:00
dark_zoul
441ab9db96
Fix .gitignore to ensure the /bin/ directory is ignored correctly
2025-10-14 11:40:18 +03:00
dark_zoul
937f1f1e74
Remove binary executables and config file for yt-playlist-downloader from git
2025-10-14 11:40:07 +03:00
dark_zoul
0261fc1db7
Update .gitignore
2025-10-14 11:31:31 +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
d35cfbb156
Update README.md
2025-10-14 11:25:52 +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
ab37791e14
Update README config example and enhance running instructions
2025-10-14 11:14:52 +03:00