diff --git a/playlist_update.log b/playlist_update.log index 13e6bf6..22a33c7 100644 --- a/playlist_update.log +++ b/playlist_update.log @@ -1,72 +1,34 @@ -[2025-06-27 21:59:33] INFO: === STEP 1: Creating backup === -[2025-06-27 21:59:33] INFO: === STEP 2: Cleaning corrupted channels === -[2025-06-27 21:59:33] INFO: Cleaning up any corrupted entries in channels.txt... -[2025-06-27 21:59:33] INFO: No corrupted entries found to fix -[2025-06-27 21:59:33] INFO: === STEP 3: Updating existing channels === -[2025-06-27 21:59:33] INFO: FORCE re-detecting countries for ALL existing channels... -[2025-06-27 21:59:33] INFO: === STEP 4: Processing imports === -[2025-06-27 21:59:33] INFO: Found import file at: ../bulk_import.m3u -[2025-06-27 21:59:33] INFO: Processing ../bulk_import.m3u... -[2025-06-27 21:59:33] INFO: Processing 53 lines after pre-processing... -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡Έ United States for: NESN UHD (keyword: '.us') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'NESN UHD' β†’ πŸ‡ΊπŸ‡Έ United States -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡Έ United States for: MSG FHD (keyword: '.us') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'MSG FHD' β†’ πŸ‡ΊπŸ‡Έ United States -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡Έ United States for: MSG_PLUS FHD (keyword: '.us') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'MSG_PLUS FHD' β†’ πŸ‡ΊπŸ‡Έ United States -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡¬πŸ‡§ United Kingdom for: UK: TNT Sports Ultimate UHD (prefix: 'uk:') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UK: TNT Sports Ultimate UHD' β†’ πŸ‡¬πŸ‡§ United Kingdom -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡²πŸ‡Ύ Malaysia for: MY: Astro Sports UHD (prefix: 'my:') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'MY: Astro Sports UHD' β†’ πŸ‡²πŸ‡Ύ Malaysia -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡΅πŸ‡± Poland for: PL | Golf Channel (prefix: 'pl |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'PL | Golf Channel' β†’ πŸ‡΅πŸ‡± Poland -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΉπŸ‡· Turkey for: TR | TV 8.5 (prefix: 'tr |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'TR | TV 8.5' β†’ πŸ‡ΉπŸ‡· Turkey -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Preshyi (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Preshyi' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Suspline Kultura (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Suspline Kultura' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | PlusPlus (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | PlusPlus' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Detinets (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Detinets' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | One Planet (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | One Planet' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Rozpakuy TV (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Rozpakuy TV' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | FreeDom (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | FreeDom' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Dorama (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Dorama' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | KinoKazka (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | KinoKazka' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Continent-E (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Continent-E' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡ΊπŸ‡¦ Ukraine for: UA | Yedyni novyny (prefix: 'ua |') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'UA | Yedyni novyny' β†’ πŸ‡ΊπŸ‡¦ Ukraine -[2025-06-27 21:59:33] DEBUG: Detected πŸ‡¬πŸ‡§ United Kingdom for: ITV 1 (keyword: 'itv') -[2025-06-27 21:59:33] DEBUG: Auto-detected: 'ITV 1' β†’ πŸ‡¬πŸ‡§ United Kingdom -[2025-06-27 21:59:33] INFO: Cleaned up import file -[2025-06-27 21:59:33] INFO: Successfully imported 26 channels -[2025-06-27 21:59:33] INFO: Import returned 26 channels -[2025-06-27 21:59:33] INFO: === STEP 5: Loading all channels === -[2025-06-27 21:59:33] INFO: Loaded 0 channels from file -[2025-06-27 21:59:33] INFO: Loaded 0 total channels -[2025-06-27 21:59:33] INFO: === STEP 6: Removing duplicates === -[2025-06-27 21:59:33] INFO: After deduplication: 0 channels -[2025-06-27 21:59:33] INFO: === STEP 9: Generating M3U === -[2025-06-27 21:59:33] INFO: Generated /workspace/stoney420/my-private-iptv-m3u1/playlist.m3u with 0 channels -[2025-06-27 21:59:33] INFO: Top countries: {} -[2025-06-27 21:59:33] INFO: === STEP 10: Generating report === -[2025-06-27 21:59:33] INFO: Report saved: reports/playlist_report_20250627_215933.md -[2025-06-27 21:59:33] INFO: Playlist generation complete: 0 channels across 0 countries -[2025-06-27 21:59:33] INFO: === FINAL DEBUG === -[2025-06-27 21:59:33] INFO: === FILE SYSTEM DEBUG === -[2025-06-27 21:59:33] INFO: Current working directory: /workspace/stoney420/my-private-iptv-m3u1/scripts -[2025-06-27 21:59:33] INFO: Files in current directory: ['health_checker.py', 'playlist_builder.py', 'config', 'generate_playlist.py', 'config_manager.py', '__init__.py', 'playlist_update.log', '__pycache__', 'file_manager.py', 'reports', 'backups', 'report_generator.py', 'channel_processor.py'] -[2025-06-27 21:59:33] INFO: ❌ Missing: bulk_import.m3u -[2025-06-27 21:59:33] INFO: ❌ Missing: channels.txt -[2025-06-27 21:59:33] INFO: ❌ Missing: playlist.m3u -[2025-06-27 21:59:33] INFO: ❌ Missing: ../bulk_import.m3u -[2025-06-27 21:59:33] INFO: βœ… Found ../channels.txt (size: 0 bytes) -[2025-06-27 21:59:33] INFO: === END FILE SYSTEM DEBUG === +[2025-06-27 22:05:26] INFO: === STEP 1: Creating backup === +[2025-06-27 22:05:26] INFO: No file to backup: channels.txt +[2025-06-27 22:05:26] INFO: === STEP 2: Cleaning corrupted channels === +[2025-06-27 22:05:26] INFO: Cleaning up any corrupted entries in channels.txt... +[2025-06-27 22:05:26] INFO: No corrupted entries found to fix +[2025-06-27 22:05:26] INFO: === STEP 3: Updating existing channels === +[2025-06-27 22:05:26] INFO: FORCE re-detecting countries for ALL existing channels... +[2025-06-27 22:05:26] INFO: === STEP 4: Processing imports === +[2025-06-27 22:05:26] INFO: No import file found, skipping import +[2025-06-27 22:05:26] INFO: Import returned 0 channels +[2025-06-27 22:05:26] WARNING: NO CHANNELS IMPORTED! This is the problem. +[2025-06-27 22:05:26] INFO: Checking import file details... +[2025-06-27 22:05:26] INFO: === STEP 5: Loading all channels === +[2025-06-27 22:05:26] INFO: Attempting to load channels from: /workspace/stoney420/my-private-iptv-m3u1/channels.txt +[2025-06-27 22:05:26] INFO: Channels file is empty: /workspace/stoney420/my-private-iptv-m3u1/channels.txt +[2025-06-27 22:05:26] INFO: Loaded 0 total channels +[2025-06-27 22:05:26] INFO: === STEP 6: Removing duplicates === +[2025-06-27 22:05:26] INFO: After deduplication: 0 channels +[2025-06-27 22:05:26] INFO: === STEP 9: Generating M3U === +[2025-06-27 22:05:26] INFO: Generated /workspace/stoney420/my-private-iptv-m3u1/playlist.m3u with 0 channels +[2025-06-27 22:05:26] INFO: Top countries: {} +[2025-06-27 22:05:26] INFO: === STEP 10: Generating report === +[2025-06-27 22:05:26] INFO: Report saved: reports/playlist_report_20250627_220526.md +[2025-06-27 22:05:26] INFO: Playlist generation complete: 0 channels across 0 countries +[2025-06-27 22:05:26] INFO: === FINAL DEBUG === +[2025-06-27 22:05:26] INFO: === FILE SYSTEM DEBUG === +[2025-06-27 22:05:26] INFO: Current working directory: /workspace/stoney420/my-private-iptv-m3u1/scripts +[2025-06-27 22:05:26] INFO: Files in current directory: ['health_checker.py', 'playlist_builder.py', 'config', 'generate_playlist.py', 'config_manager.py', '__init__.py', 'playlist_update.log', '__pycache__', 'file_manager.py', 'reports', 'report_generator.py', 'channel_processor.py'] +[2025-06-27 22:05:26] INFO: ❌ Missing: bulk_import.m3u +[2025-06-27 22:05:26] INFO: ❌ Missing: channels.txt +[2025-06-27 22:05:26] INFO: ❌ Missing: playlist.m3u +[2025-06-27 22:05:26] INFO: ❌ Missing: ../bulk_import.m3u +[2025-06-27 22:05:26] INFO: βœ… Found ../channels.txt (size: 0 bytes) +[2025-06-27 22:05:26] INFO: === END FILE SYSTEM DEBUG === diff --git a/scripts/__pycache__/channel_processor.cpython-311.pyc b/scripts/__pycache__/channel_processor.cpython-311.pyc index c4c94d2..dde7e0e 100644 Binary files a/scripts/__pycache__/channel_processor.cpython-311.pyc and b/scripts/__pycache__/channel_processor.cpython-311.pyc differ diff --git a/scripts/__pycache__/config_manager.cpython-311.pyc b/scripts/__pycache__/config_manager.cpython-311.pyc index 6c375fb..ea00939 100644 Binary files a/scripts/__pycache__/config_manager.cpython-311.pyc and b/scripts/__pycache__/config_manager.cpython-311.pyc differ diff --git a/scripts/__pycache__/file_manager.cpython-311.pyc b/scripts/__pycache__/file_manager.cpython-311.pyc index 8fe661b..396a953 100644 Binary files a/scripts/__pycache__/file_manager.cpython-311.pyc and b/scripts/__pycache__/file_manager.cpython-311.pyc differ diff --git a/scripts/__pycache__/health_checker.cpython-311.pyc b/scripts/__pycache__/health_checker.cpython-311.pyc index 811f2aa..0eecf8d 100644 Binary files a/scripts/__pycache__/health_checker.cpython-311.pyc and b/scripts/__pycache__/health_checker.cpython-311.pyc differ diff --git a/scripts/__pycache__/playlist_builder.cpython-311.pyc b/scripts/__pycache__/playlist_builder.cpython-311.pyc index 0b44676..2976e6d 100644 Binary files a/scripts/__pycache__/playlist_builder.cpython-311.pyc and b/scripts/__pycache__/playlist_builder.cpython-311.pyc differ diff --git a/scripts/__pycache__/report_generator.cpython-311.pyc b/scripts/__pycache__/report_generator.cpython-311.pyc index 1026bbd..07a073b 100644 Binary files a/scripts/__pycache__/report_generator.cpython-311.pyc and b/scripts/__pycache__/report_generator.cpython-311.pyc differ diff --git a/scripts/reports/playlist_report_20250627_220526.md b/scripts/reports/playlist_report_20250627_220526.md new file mode 100644 index 0000000..c4bcb85 --- /dev/null +++ b/scripts/reports/playlist_report_20250627_220526.md @@ -0,0 +1,16 @@ +# IPTV Playlist Generation Report +**Generated:** 2025-06-27 22:05:26 + +## Summary Statistics +- **Total channels processed:** 0 +- **Valid channels:** 0 +- **Duplicates removed:** 0 +- **New channels imported:** 0 +- **Countries detected:** 0 + +## Configuration +- **Remove duplicates:** True +- **Auto country detection:** True +- **Quality detection:** True +- **Adult content filtering:** True +- **Health check enabled:** False