⚡️ IPTV直播源自动更新工具:自动采集、校验、测速并生成可播放结果,支持 M3U/TXT/API 输出、自定义频道、IPv4/IPv6、Docker、GitHub Actions、CLI 与 GUI 多端部署
This report presents the forensic synthetic code analysis of Guovin/iptv-api, a Python project with 25,022 GitHub stars. SynthScan v2.0 examined 46,282 lines of code across 178 source files, recording 707 pattern matches distributed across 10 syntactic categories. The overall adjusted score of 16.3 places this repository in the Moderate AI signal band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 707 distinct pattern matches across 10 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main.py | 86 | def _initialize_pause_control(self): | CODE |
| LOW | main.py | 221 | def _diagnose_aggregated_data(self): | CODE |
| LOW | main.py | 357 | def _write_epg_files_if_needed(self): | CODE |
| LOW | desktop_ui/main_window.py | 31 | def _update_notification_icon() -> QPixmap: | CODE |
| LOW | desktop_ui/main_window.py | 289 | def _configure_initial_geometry(self): | CODE |
| LOW | desktop_ui/main_window.py | 315 | def _language_environment_override(): | CODE |
| LOW | desktop_ui/main_window.py | 353 | def _remove_navigation_tooltips(self): | CODE |
| LOW | desktop_ui/main_window.py | 431 | def _refresh_navigation_status(self, name: str): | CODE |
| LOW | desktop_ui/main_window.py | 447 | def _refresh_navigation_statuses(self): | CODE |
| LOW | desktop_ui/main_window.py | 661 | def _retranslate_tray_actions(self): | CODE |
| LOW | desktop_ui/main_window.py | 710 | def _copy_service_url_from_tray(self): | CODE |
| LOW | desktop_ui/main_window.py | 757 | def _restart_service_from_tray(self): | CODE |
| LOW | desktop_ui/main_window.py | 818 | def _open_rtmp_limit_settings(self): | CODE |
| LOW | desktop_ui/main_window.py | 964 | def _update_rtmp_navigation_status(self, snapshot: dict): | CODE |
| LOW | desktop_ui/main_window.py | 988 | def _update_about_navigation_status(self, state: str, payload): | CODE |
| LOW | desktop_ui/main_window.py | 1030 | def _show_update_notification(self, payload: dict): | CODE |
| LOW | desktop_ui/main_window.py | 1137 | def _set_update_navigation_status(self, state: str): | STRING |
| LOW | desktop_ui/main_window.py | 1227 | def _stream_batch_control_finished(self, action: str, success: int, total: int, message: str): | STRING |
| LOW | desktop_ui/main_window.py | 1279 | def _ask_windows_close_action(self): | STRING |
| LOW | desktop_ui/playback.py | 266 | def _update_advanced_visibility(self): | CODE |
| LOW | desktop_ui/runtime.py | 45 | def validate_runtime_directory(directory: str | os.PathLike[str]) -> Path: | CODE |
| LOW | desktop_ui/runtime.py | 52 | def default_runtime_directory( | CODE |
| LOW | desktop_ui/runtime.py | 71 | def prepare_runtime_directory( | CODE |
| LOW | desktop_ui/stream_status.py | 20 | def build_channel_stream_states(snapshot: dict) -> dict[str, dict]: | CODE |
| LOW | desktop_ui/stream_status.py | 67 | def build_result_stream_states(snapshot: dict) -> dict[str, dict]: | CODE |
| LOW | desktop_ui/stream_status.py | 82 | def apply_channel_stream_state(row: dict, states: dict[str, dict]) -> dict: | CODE |
| LOW | desktop_ui/stream_status.py | 91 | def apply_result_stream_state(row: dict, states: dict[str, dict]) -> dict: | CODE |
| LOW | desktop_ui/updater.py | 77 | def extracted_application_root(staging_dir: Path, platform_name: str | None = None) -> Path: | CODE |
| LOW | desktop_ui/platform_integration.py | 7 | def suspend_macos_window_flush(window): | CODE |
| LOW | desktop_ui/platform_integration.py | 28 | def set_macos_activation_policy(accessory: bool): | CODE |
| LOW | desktop_ui/single_instance.py | 20 | def create_single_instance_server(timeout: int = 500) -> QLocalServer | None: | CODE |
| LOW | desktop_ui/update_manager.py | 61 | def _legacy_asset_for_platform(assets: list[dict], key: str, version: str) -> dict | None: | CODE |
| LOW | desktop_ui/pages/rtmp.py | 526 | def _set_bandwidth_idle_state(self): | CODE |
| LOW | desktop_ui/pages/rtmp.py | 576 | def _update_channel_selection(self, preferred_result_key: str | None = None): | CODE |
| LOW | desktop_ui/pages/rtmp.py | 658 | def _request_selected_control(self, action: str): | CODE |
| LOW | desktop_ui/pages/about.py | 222 | def _set_update_available_presentation(self, available: bool): | CODE |
| LOW | desktop_ui/pages/about.py | 228 | def _refresh_update_notice_style(self): | CODE |
| LOW | desktop_ui/pages/about.py | 319 | def _install_confirmation_dialog(self): | CODE |
| LOW | desktop_ui/pages/sources.py | 216 | def _apply_category_tree_surface(tree): | CODE |
| LOW | desktop_ui/pages/sources.py | 242 | def _apply_template_view_mode(self): | CODE |
| LOW | desktop_ui/pages/sources.py | 498 | def move_selected_to_category(self): | CODE |
| LOW | desktop_ui/pages/sources.py | 803 | def _schedule_alias_summary_refresh(self, logical_index, *_): | STRING |
| LOW | desktop_ui/pages/sources.py | 807 | def _connect_alias_layout_refresh(self): | STRING |
| LOW | desktop_ui/pages/sources.py | 895 | def _schedule_table_order_sync(self, *_): | STRING |
| LOW | desktop_ui/pages/settings.py | 163 | def _open_playback_preferences(self): | CODE |
| LOW | desktop_ui/pages/settings.py | 166 | def _open_data_directory_dialog(self): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 908 | def _save_result_drawer_height(self): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 915 | def _toggle_result_drawer_fullscreen(self): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 923 | def _update_drawer_mode_button(self): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 1853 | def _auto_capture_missing_screenshot(self, dialog, row: dict): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 1861 | def _request_dialog_screenshot(self, row: dict): | CODE |
| LOW⚡ | desktop_ui/pages/channels.py | 1871 | def _screenshot_dialog_finished(self, *_): | CODE |
| LOW | desktop_ui/pages/channels.py | 842 | def _best_channel_playback_result(self, channel: dict) -> dict | None: | CODE |
| LOW | desktop_ui/pages/channels.py | 967 | def _drawer_animation_finished(self): | CODE |
| LOW | desktop_ui/pages/channels.py | 988 | def _event_position_in_drawer(self, event): | CODE |
| LOW | desktop_ui/pages/channels.py | 995 | def _is_drawer_interaction_widget(self, widget): | CODE |
| LOW | desktop_ui/pages/channels.py | 1051 | def _populate_category_directory(self, categories=None): | CODE |
| LOW | desktop_ui/pages/channels.py | 1177 | def _sort_channels_by_category(self, rows): | CODE |
| LOW | desktop_ui/pages/channels.py | 1437 | def _publish_output_selection(self): | CODE |
| LOW | desktop_ui/pages/channels.py | 1485 | def _result_selection_changed(self, *_): | CODE |
| 312 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | main.py | 138 | except Exception: | CODE |
| LOW | main.py | 315 | except Exception as e: | CODE |
| LOW | main.py | 325 | except Exception as e: | CODE |
| LOW | main.py | 721 | except Exception: | CODE |
| LOW | main.py | 733 | except Exception as exc: | CODE |
| LOW | main.py | 814 | except Exception as exc: | CODE |
| LOW | desktop_ui/main_window.py | 702 | except Exception: | CODE |
| MEDIUM | desktop_ui/main_window.py | 679 | def _tray_schedule_text(self): | CODE |
| LOW | desktop_ui/controller.py | 52 | except Exception: | CODE |
| LOW | desktop_ui/controller.py | 167 | except Exception: | CODE |
| LOW | desktop_ui/updater.py | 105 | except Exception: | CODE |
| LOW | desktop_ui/updater.py | 172 | except Exception: | CODE |
| LOW | desktop_ui/updater.py | 194 | except Exception as exc: | CODE |
| LOW | desktop_ui/update_manager.py | 215 | except Exception as exc: | CODE |
| LOW | desktop_ui/update_manager.py | 228 | except Exception as exc: | CODE |
| LOW | desktop_ui/update_manager.py | 273 | except Exception as exc: | CODE |
| LOW | desktop_ui/update_manager.py | 297 | except Exception as exc: | CODE |
| LOW | desktop_ui/pages/tasks.py | 111 | except Exception: | CODE |
| LOW | desktop_ui/pages/tasks.py | 119 | except Exception as exc: | CODE |
| MEDIUM | desktop_ui/pages/tasks.py | 75 | def refresh(self): | CODE |
| MEDIUM | desktop_ui/pages/tasks.py | 114 | def export(self): | CODE |
| LOW | desktop_ui/pages/dashboard.py | 336 | except Exception: | CODE |
| LOW | desktop_ui/pages/dashboard.py | 604 | except Exception: | CODE |
| LOW | desktop_ui/pages/dashboard.py | 650 | except Exception: | CODE |
| MEDIUM | desktop_ui/pages/dashboard.py | 332 | def refresh_metrics(self): | CODE |
| MEDIUM | desktop_ui/pages/dashboard.py | 643 | def refresh_schedule(self): | CODE |
| LOW | desktop_ui/pages/logs.py | 244 | except Exception as exc: | CODE |
| MEDIUM | desktop_ui/pages/logs.py | 239 | def export(self): | CODE |
| MEDIUM | desktop_ui/pages/channels.py | 1051 | def _populate_category_directory(self, categories=None): | CODE |
| LOW | desktop_ui/pages/channels.py | 855 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1063 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1087 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1241 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1275 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1316 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1334 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 1623 | except Exception: | CODE |
| LOW | desktop_ui/pages/channels.py | 2433 | except Exception: | CODE |
| LOW | utils/rtmp_runtime.py | 72 | except Exception: | CODE |
| LOW | utils/db.py | 82 | except Exception: | CODE |
| LOW | utils/db.py | 117 | except Exception: | CODE |
| LOW | utils/db.py | 182 | except Exception: | CODE |
| LOW | utils/config.py | 689 | except Exception: | CODE |
| LOW | utils/config.py | 1163 | except Exception as e: | CODE |
| LOW | utils/aggregator.py | 203 | except Exception as exc: | CODE |
| LOW | utils/aggregator.py | 223 | except Exception as exc: | CODE |
| LOW | utils/aggregator.py | 314 | except Exception as exc: | CODE |
| LOW | utils/aggregator.py | 383 | except Exception as exc: | CODE |
| LOW | utils/speed.py | 199 | except Exception: | CODE |
| LOW | utils/speed.py | 231 | except Exception: | CODE |
| LOW | utils/speed.py | 262 | except Exception: | CODE |
| LOW | utils/speed.py | 308 | except Exception: | CODE |
| LOW | utils/speed.py | 408 | except Exception: | CODE |
| LOW | utils/speed.py | 427 | except Exception: | CODE |
| LOW | utils/speed.py | 450 | except Exception as e: | CODE |
| LOW | utils/speed.py | 480 | except Exception: | CODE |
| LOW | utils/speed.py | 498 | except Exception: | CODE |
| LOW | utils/speed.py | 528 | except Exception: | CODE |
| LOW | utils/speed.py | 545 | except Exception: | CODE |
| LOW | utils/speed.py | 554 | except Exception: | CODE |
| 134 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | main.py | 597 | CODE | |
| LOW | main.py | 914 | CODE | |
| LOW | desktop_ui/main_window.py | 988 | CODE | |
| LOW | desktop_ui/models.py | 105 | CODE | |
| LOW | desktop_ui/models.py | 417 | CODE | |
| LOW | desktop_ui/updater.py | 134 | CODE | |
| LOW | desktop_ui/delegates.py | 253 | CODE | |
| LOW | desktop_ui/delegates.py | 286 | CODE | |
| LOW | desktop_ui/dialogs/local_source_import.py | 61 | CODE | |
| LOW | desktop_ui/dialogs/source_import.py | 63 | CODE | |
| LOW | desktop_ui/pages/about.py | 341 | CODE | |
| LOW | desktop_ui/pages/dashboard.py | 361 | CODE | |
| LOW | desktop_ui/pages/sources.py | 642 | CODE | |
| LOW | desktop_ui/pages/sources.py | 915 | CODE | |
| LOW | desktop_ui/pages/sources.py | 943 | CODE | |
| LOW | desktop_ui/pages/sources.py | 1370 | CODE | |
| LOW | desktop_ui/pages/channels.py | 89 | CODE | |
| LOW | desktop_ui/pages/channels.py | 2224 | CODE | |
| LOW | tests/test_resource_paths.py | 11 | CODE | |
| LOW | tests/test_alias.py | 41 | CODE | |
| LOW | utils/db.py | 51 | CODE | |
| LOW | utils/db.py | 124 | CODE | |
| LOW | utils/alias.py | 9 | CODE | |
| LOW | utils/alias.py | 61 | CODE | |
| LOW | utils/config.py | 673 | CODE | |
| LOW | utils/config.py | 754 | CODE | |
| LOW | utils/config.py | 796 | CODE | |
| LOW | utils/config.py | 825 | CODE | |
| LOW | utils/config.py | 1026 | CODE | |
| LOW | utils/config.py | 1136 | CODE | |
| LOW | utils/aggregator.py | 22 | CODE | |
| LOW | utils/aggregator.py | 150 | CODE | |
| LOW | utils/aggregator.py | 323 | CODE | |
| LOW | utils/aggregator.py | 362 | CODE | |
| LOW | utils/speed.py | 133 | CODE | |
| LOW | utils/speed.py | 312 | CODE | |
| LOW | utils/speed.py | 455 | CODE | |
| LOW | utils/speed.py | 630 | CODE | |
| LOW | utils/speed.py | 697 | CODE | |
| LOW | utils/speed.py | 730 | CODE | |
| LOW | utils/diagnostics.py | 23 | CODE | |
| LOW | utils/whitelist.py | 23 | CODE | |
| LOW | utils/whitelist.py | 136 | CODE | |
| LOW | utils/tools.py | 38 | CODE | |
| LOW | utils/tools.py | 338 | CODE | |
| LOW | utils/tools.py | 461 | CODE | |
| LOW | utils/tools.py | 695 | CODE | |
| LOW | utils/tools.py | 714 | CODE | |
| LOW | utils/tools.py | 834 | CODE | |
| LOW | utils/tools.py | 855 | CODE | |
| LOW | utils/tools.py | 1051 | CODE | |
| LOW | utils/tools.py | 1249 | CODE | |
| LOW | utils/tools.py | 1273 | CODE | |
| LOW | utils/tools.py | 1361 | CODE | |
| LOW | utils/tools.py | 364 | CODE | |
| LOW | utils/channel.py | 183 | CODE | |
| LOW | utils/channel.py | 309 | CODE | |
| LOW | utils/channel.py | 464 | CODE | |
| LOW | utils/channel.py | 681 | CODE | |
| LOW | utils/channel.py | 864 | CODE | |
| 25 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | main.py | 83 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | main.py | 85 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | main.py | 129 | # ---------------------------- | COMMENT |
| MEDIUM⚡ | main.py | 131 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 149 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 151 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 239 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 241 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 383 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 385 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 410 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 412 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 559 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 561 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 594 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 596 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 838 | # ---------------------------- | COMMENT |
| MEDIUM | main.py | 840 | # ---------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop_ui/main_window.py | 9 | CODE | |
| LOW | desktop_ui/updater.py | 5 | CODE | |
| LOW | desktop_ui/app.py | 59 | CODE | |
| LOW | desktop_ui/app.py | 60 | CODE | |
| LOW | desktop_ui/app.py | 61 | CODE | |
| LOW | desktop_ui/update_manager.py | 12 | CODE | |
| LOW | utils/artifacts.py | 1 | CODE | |
| LOW | utils/reporting.py | 1 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 1 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 1 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 2 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 2 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 3 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 3 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 3 | CODE | |
| LOW | utils/ffmpeg/__init__.py | 4 | CODE | |
| LOW | utils/ip_checker/__init__.py | 1 | CODE | |
| LOW | updates/subscribe/__init__.py | 1 | CODE | |
| LOW | updates/epg/__init__.py | 1 | CODE | |
| LOW | updates/epg/__init__.py | 2 | CODE | |
| LOW | updates/epg/__init__.py | 2 | CODE | |
| LOW | scripts/gui_showcase/fixture.py | 1 | CODE | |
| LOW | scripts/gui_showcase/capture.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | desktop_ui/__init__.py | 1 | __all__ = [] | CODE |
| LOW | desktop_ui/pages/__init__.py | 1 | __all__ = [] | CODE |
| LOW | utils/frozen.py | 102 | __all__ = ["mark_url_bad", "mark_url_good", "is_url_frozen", "get_current_frozen_set", "load", "save"] | CODE |
| LOW⚡ | utils/channel_repository.py | 1152 | def set_channel_logo(db_path: str, channel_key: str, logo: str) -> None: | STRING |
| LOW⚡ | utils/channel_repository.py | 1162 | def update_result_measurement(db_path: str, channel_key: str, result_key: str, measurement: dict) -> None: | STRING |
| LOW | utils/ffmpeg/__init__.py | 6 | __all__ = [ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/gui_showcase/capture.py | 88 | if ownerPID == targetPID && name == "IPTV-API" && layer == 0 && windowWidth == {width} && windowHeight == {height} { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/aggregator.py | 66 | CODE | |
| LOW | utils/speed.py | 312 | CODE | |
| LOW | utils/speed.py | 630 | CODE | |
| LOW | utils/channel.py | 1276 | CODE | |
| LOW | utils/channel_quality.py | 9 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | config/whitelist.txt | 1 | # 这是接口的白名单,白名单内的接口将不会参与测速,始终保留至结果最前; | COMMENT |
| LOW | config/local.txt | 1 | # 这是本地源列表,一行一个源,格式为:频道名称,接口地址 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | utils/speed.py | 62 | "placeholder", | CODE |