Comet is a production-grade Stremio add-on (and Kodi plugin) that functions as a high-performance torrent and debrid streaming proxy. It aggregates torrent metadata from 15+ indexers (Torrentio, Jackett, Prowlarr, Nyaa, DMM, etc.), caches results intelligently, and optionally shares discovered metadata across a custom P2P network (CometNet). The architecture is a FastAPI web server with multiple background workers for proactive scraping, metadata enrichment (TMDB, Kitsu, Cinemeta), debrid account syncing, and automated DMM hashlist ingestion. It provides a built-in streaming proxy with per-IP bandwidth controls, an admin dashboard for monitoring and control, and integrates with Prowlarr/Radarr/Sonarr via Torznab. The codebase is well-structured with comprehensive test coverage, Pydantic validation throughout, async-first patterns, and a clean scraper abstraction layer. It is actively maintained with frequent commits and a mature feature set, though the CometNet P2P component remains experimental and some external scrapers may be fragile due to Cloudflare protections.
This repository contains `plugin.video.youtube`, a Kodi Media Center add-on that provides full YouTube browsing, search, subscription management, and video playback with adaptive streaming (MPEG-DASH, HLS), subtitles, and multi-user OAuth authentication. Architecturally, it is a Kodi plugin with a background service, an embedded HTTP server for streaming proxy and API configuration, and a layered framework (Kodion) offering abstract base classes for context, items, settings, caching, and network requests. The codebase is substantial (262 files) and demonstrates solid engineering with reusable patterns such as a generic SQLite key-value store (`Storage`), a robust HTTP client with retry/caching hooks, centralized logging with sensitive data redaction, and an item model hierarchy convertible to Kodi ListItems. However, several components depend on reverse-engineered YouTube InnerTube endpoints and JavaScript signature extraction (`cipher.py`, `ratebypass.py`), which are fragile and known to be partially broken (signatureCipher and nsig handling are disabled). The add-on also maintains Python 2/3 compatibility shims and version-dependent Kodi workarounds. Localization is extensive but many translations are incomplete. Overall, the add-on is actively maintained and functionally comprehensive, but its heavy reliance on brittle reverse-engineering and the accumulation of legacy compatibility code introduce moderate technical drift.
This is a Kodi video addon (plugin.video.themoviedb.helper) that provides rich metadata enrichment, browsing, discovery, player resolution, and synchronization for movies and TV shows. It integrates with multiple external APIs including TMDb, Trakt, TVDb, MDbList, FanartTV, OMDb, and Gemini AI. The architecture follows the Kodi addon pattern with three entry points: a plugin for directory listings, a background service for monitoring and scrobbling, and a script for one-off actions. The codebase is heavily modular with over 200 Python files organized into API wrappers, caching layers, database factories, sync engines, player configuration, and UI dialogs. It features extensive SQLite caching with thread-safe mutex locks, a custom import hook for API key permissions, and a flexible player resolution system based on JSON configuration files. While primarily an application, it includes significant data engineering patterns for caching, incremental syncing, and data transformation.