diff --git a/PRD.md b/PRD.md index 42c1ca7..64ae5cc 100644 --- a/PRD.md +++ b/PRD.md @@ -159,7 +159,6 @@ KaroakeVideoDownloader/ │ ├── songlist_tracking.json │ ├── channel_cache.json │ ├── channels.json # Channel configuration with parsing rules -│ ├── channels.txt # Legacy channel list (backward compatibility) │ ├── manual_videos.json # Manual video collection │ └── songList.json ├── utilities/ # Utility scripts and tools diff --git a/README.md b/README.md index 5568d47..0df0e58 100644 --- a/README.md +++ b/README.md @@ -416,7 +416,7 @@ KaroakeVideoDownloader/ │ ├── karaoke_tracking.json │ ├── songlist_tracking.json │ ├── channel_cache.json -│ ├── channels.txt +│ ├── channels.json # Channel configuration with parsing rules │ └── songList.json ├── utilities/ # Utility scripts and tools │ ├── add_manual_video.py # Manual video management diff --git a/commands.txt b/commands.txt index c543bca..bd23d7c 100644 --- a/commands.txt +++ b/commands.txt @@ -8,7 +8,7 @@ python download_karaoke.py https://www.youtube.com/@SingKingKaraoke/videos # Download from a file containing multiple channel URLs -python download_karaoke.py --file data/channels.txt +python download_karaoke.py --file data/channels.json # Download with custom resolution (480p, 720p, 1080p, 1440p, 2160p) python download_karaoke.py --resolution 1080p https://www.youtube.com/@SingKingKaraoke/videos @@ -81,7 +81,7 @@ python download_karaoke.py --generate-songlist /path/to/dir1 /path/to/dir2 --no- ## 🎵 SONGLIST OPERATIONS -# Download only songs from your songlist (uses data/channels.txt by default) +# Download only songs from your songlist (uses data/channels.json by default) python download_karaoke.py --songlist-only # Download only songlist songs with limit @@ -195,7 +195,7 @@ python download_karaoke.py --parallel --workers 3 --latest-per-channel --limit 5 python download_karaoke.py --parallel --workers 3 --latest-per-channel --limit 5 --fuzzy-match --fuzzy-threshold 85 # Download latest videos from specific channels file -python download_karaoke.py --latest-per-channel --limit 5 --file data/channels.txt +python download_karaoke.py --latest-per-channel --limit 5 --file data/channels.json ## 🔄 CACHE & TRACKING MANAGEMENT @@ -254,7 +254,7 @@ python download_karaoke.py --version python download_karaoke.py --songlist-only --limit 20 --fuzzy-match --fuzzy-threshold 85 --resolution 1080p # Latest videos per channel with fuzzy matching -python download_karaoke.py --latest-per-channel --limit 3 --fuzzy-match --fuzzy-threshold 90 --file data/channels.txt +python download_karaoke.py --latest-per-channel --limit 3 --fuzzy-match --fuzzy-threshold 90 --file data/channels.json # Force refresh everything and download songlist python download_karaoke.py --songlist-only --force-download-plan --refresh --limit 10 @@ -347,7 +347,7 @@ python download_karaoke.py --clear-server-duplicates # Default files used: # - data/channels.json (channel configuration with parsing rules, preferred) -# - data/channels.txt (legacy channel list, backward compatibility) +# - data/channels.json (channel configuration with parsing rules) # - data/manual_videos.json (manual video collection) # - data/songList.json (your prioritized song list) # - data/config.json (download settings) @@ -357,7 +357,7 @@ python download_karaoke.py --clear-server-duplicates # Fuzzy threshold: 0-100 (higher = more strict matching, default 90) # The system automatically: -# - Uses data/channels.json if available, falls back to data/channels.txt if no --file specified in songlist modes +# - Uses data/channels.json for channel configuration and parsing rules # - Caches channel data for 24 hours (configurable) # - Tracks all downloads in JSON files # - Avoids re-downloading existing files