1
0
mirror of https://github.com/darkzoul5/YoutubePlaylistSync.git synced 2026-07-04 04:53:58 +03:00

396 Commits

Author SHA1 Message Date
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 ecffcc26aa Merge pull request 'Remove Docker image build workflow: delete build-docker-image.yml(redundant)' (#2) from Next into main
Reviewed-on: dark_zoul/youtube-playlist-downloader#2
2025-10-18 23:32:02 +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 2c4b736e06 Update README.md
fix typo
2025-10-17 15:57:10 +03:00
dark_zoul 492e829e78 Merge pull request 'Next' (#1) from Next into main
Reviewed-on: dark_zoul/youtube-playlist-downloader#1
2025-10-17 15:54:03 +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