$ show seppius-xbmc-repo/ru
This repository is a collection of Kodi/XBMC addons focused on media streaming, playback, and extended functionality. It contains numerous plugin.video.* and plugin.audio.* addons that scrape or API-fetch content from various online sources (e.g., MEGOGO.NET, Kinozal.tv, YouTube, torrent sites) and integrate with Kodi's media player. The repository also includes utility modules for HTML parsing (html5lib, BeautifulSoup), JSON handling (simplejson), downloading, caching, and framework components (xbmcswift2). The architecture is a collection of largely independent addons, each with its own default.py entry point, shared libraries, and resource files. Data flows involve fetching metadata from external sources, parsing it into Kodi-compatible formats, and passing media URLs to Kodi's player. External dependencies include Kodi/XBMC APIs, vendored Python libraries (html5lib, beautifulsoup4, simplejson), and external web services/APIs.
The LLM identified 2 files worth highlighting for reuse:
A standalone HTML5 parser implementing the WHATWG HTML specification. Includes tokenizer, treebuilder, and error handling mechanisms. Highly reusable in any Python project needing HTML parsing and demonstrates non-obvious skill in implementing a complex parser with phase-based state machine.
JSON encoder/decoder supporting strict JSON and non-strict ECMAScript/JavaScript syntax. Includes C extension for performance optimizations. Reusable in any Python project and demonstrates skill in handling edge cases, Unicode, and performance considerations.