diff --git a/backups/channels_20250627_221302.txt b/backups/channels_20250627_221302.txt new file mode 100644 index 0000000..e69de29 diff --git a/playlist_update.log b/playlist_update.log index 22a33c7..f5e7faa 100644 --- a/playlist_update.log +++ b/playlist_update.log @@ -1,34 +1,32 @@ -[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 === +[2025-06-27 22:13:02] INFO: === STEP 1: Creating backup === +[2025-06-27 22:13:02] INFO: Created backup: /workspace/stoney420/my-private-iptv-m3u1/backups/channels_20250627_221302.txt +[2025-06-27 22:13:02] INFO: === STEP 2: Cleaning corrupted channels === +[2025-06-27 22:13:02] INFO: Cleaning up any corrupted entries in channels.txt... +[2025-06-27 22:13:02] INFO: No corrupted entries found to fix +[2025-06-27 22:13:02] INFO: === STEP 3: Updating existing channels === +[2025-06-27 22:13:02] INFO: FORCE re-detecting countries for ALL existing channels... +[2025-06-27 22:13:02] INFO: === STEP 4: Processing imports === +[2025-06-27 22:13:02] ERROR: ❌ bulk_import.m3u NOT found in current directory +[2025-06-27 22:13:02] INFO: No import file found, skipping import +[2025-06-27 22:13:02] INFO: Import returned 0 channels +[2025-06-27 22:13:02] WARNING: NO CHANNELS IMPORTED! This is the problem. +[2025-06-27 22:13:02] INFO: === STEP 5: Loading all channels === +[2025-06-27 22:13:02] INFO: Attempting to load channels from: /workspace/stoney420/my-private-iptv-m3u1/channels.txt +[2025-06-27 22:13:02] INFO: Channels file is empty: /workspace/stoney420/my-private-iptv-m3u1/channels.txt +[2025-06-27 22:13:02] INFO: Loaded 0 total channels +[2025-06-27 22:13:02] INFO: === STEP 6: Removing duplicates === +[2025-06-27 22:13:02] INFO: After deduplication: 0 channels +[2025-06-27 22:13:02] INFO: === STEP 9: Generating M3U === +[2025-06-27 22:13:02] INFO: Generated /workspace/stoney420/my-private-iptv-m3u1/playlist.m3u with 0 channels +[2025-06-27 22:13:02] INFO: Top countries: {} +[2025-06-27 22:13:02] INFO: === STEP 10: Generating report === +[2025-06-27 22:13:02] INFO: Report saved: reports/playlist_report_20250627_221302.md +[2025-06-27 22:13:02] INFO: Playlist generation complete: 0 channels across 0 countries +[2025-06-27 22:13:02] INFO: === FINAL DEBUG === +[2025-06-27 22:13:02] INFO: === FILE SYSTEM DEBUG === +[2025-06-27 22:13:02] INFO: Current working directory: /workspace/stoney420/my-private-iptv-m3u1 +[2025-06-27 22:13:02] INFO: Files in current directory: ['docs', 'config', 'templates', 'playlist_update.log', '.git', 'README.md', 'playlist.m3u', 'channels.txt', 'scripts', 'reports', 'backups', '.forgejo'] +[2025-06-27 22:13:02] INFO: ❌ Missing: bulk_import.m3u +[2025-06-27 22:13:02] INFO: ✅ Found channels.txt (size: 0 bytes) +[2025-06-27 22:13:02] INFO: ✅ Found playlist.m3u (size: 8 bytes) +[2025-06-27 22:13:02] INFO: === END FILE SYSTEM DEBUG === diff --git a/reports/playlist_report_20250627_221302.md b/reports/playlist_report_20250627_221302.md new file mode 100644 index 0000000..6d55073 --- /dev/null +++ b/reports/playlist_report_20250627_221302.md @@ -0,0 +1,16 @@ +# IPTV Playlist Generation Report +**Generated:** 2025-06-27 22:13:02 + +## 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 diff --git a/scripts/__pycache__/channel_processor.cpython-311.pyc b/scripts/__pycache__/channel_processor.cpython-311.pyc index dde7e0e..4347851 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 ea00939..a6748ad 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 396a953..9124546 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 0eecf8d..91bfe81 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 2976e6d..4109197 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 07a073b..60d851e 100644 Binary files a/scripts/__pycache__/report_generator.cpython-311.pyc and b/scripts/__pycache__/report_generator.cpython-311.pyc differ