How gujal00/resolveurl works
ResolveURL is a Kodi library that turns supported embed URLs or magnets into playable stream links, with optional subtitles, content types, and debrid file listings. The main user flow is an addon invoking the public API, which identifies and dispatches to a host resolver; the Link Tester provides a Kodi-facing way to play a supplied link. The tree also includes a separately loadable adult-host resolver extension. Edges reflect README statements and shown imports; unsampled host implementations and ancillary utility wiring are represented conservatively.
Main entry points: default.py Tester commands · common.py Network utilities · resolver.py Resolver dispatch · plugins Standard hosts
Components 20
Link Tester
- Tester commands
plugin.video.smr_link_tester/default.py - Mode dispatch
plugin.video.smr_link_tester/resources/lib/url_dispatcher.py - Kodi interface
plugin.video.smr_link_tester/resources/lib/kodi.py
ResolveURL Runtime
- Public API
script.module.resolveurl/lib/resolveurl/__init__.py - Media validation
script.module.resolveurl/lib/resolveurl/hmf.py - Resolver dispatch
script.module.resolveurl/lib/resolveurl/resolver.py
Host Resolvers
- Standard hosts
script.module.resolveurl/lib/resolveurl/plugins - Generic resolver
script.module.resolveurl/lib/resolveurl/plugins/__resolve_generic__.py - Adult hosts
script.module.resolveurl.xxx/resources/plugins
Runtime Support
- Network utilities
script.module.resolveurl/lib/resolveurl/common.py - Media helpers
script.module.resolveurl/lib/resolveurl/lib/helpers.py - Response cache
script.module.resolveurl/lib/resolveurl/lib/cache.py - Kodi services
script.module.resolveurl/lib/resolveurl/lib/kodi.py - Logging
script.module.resolveurl/lib/resolveurl/lib/log_utils.py - ECDSA crypto
script.module.resolveurl/lib/resolveurl/lib/ecdsa - WebSocket client
script.module.resolveurl/lib/resolveurl/lib/websocket
Other components
- Kodi user
- Calling addon
- ByParr service
- Media host sites
Connections 22
- Kodi user → Tester commands: starts
plugin.video.smr_link_tester/default.py - Tester commands → Mode dispatch: dispatches modes
plugin.video.smr_link_tester/default.py - Tester commands → Kodi interface: uses Kodi
plugin.video.smr_link_tester/default.py - Tester commands → Public API: resolves links
plugin.video.smr_link_tester/default.py - Tester commands → Calling addon: plays result
plugin.video.smr_link_tester/default.py - Calling addon → Public API: submits URL
README.md - Public API → Media validation: creates media
script.module.resolveurl/lib/resolveurl/__init__.py - Public API → Resolver dispatch: uses resolvers
script.module.resolveurl/lib/resolveurl/__init__.py - Media validation → Resolver dispatch: validates host
script.module.resolveurl/lib/resolveurl/hmf.py - Resolver dispatch → Standard hosts: dispatches hosts
script.module.resolveurl/lib/resolveurl/plugins/__resolve_generic__.py - Standard hosts → Generic resolver: uses generic base
script.module.resolveurl/lib/resolveurl/plugins/reviewrate.py - Adult hosts → Generic resolver: extends resolver
script.module.resolveurl.xxx/resources/plugins/eporner.py - Generic resolver → Media helpers: extracts media
script.module.resolveurl/lib/resolveurl/plugins/__resolve_generic__.py - Generic resolver → Resolver dispatch: implements interface
script.module.resolveurl/lib/resolveurl/plugins/__resolve_generic__.py - Resolver dispatch → Network utilities: uses shared services
script.module.resolveurl/lib/resolveurl/resolver.py - Network utilities → Response cache: uses cache
script.module.resolveurl/lib/resolveurl/common.py - Network utilities → Kodi services: uses Kodi services
script.module.resolveurl/lib/resolveurl/common.py - Network utilities → Logging: uses logging
script.module.resolveurl/lib/resolveurl/common.py - Media helpers → Network utilities: uses networking
script.module.resolveurl/lib/resolveurl/lib/helpers.py - Standard hosts → Media host sites: requests streams
- Adult hosts → Media host sites: requests streams
- Standard hosts → ByParr service: may use antibot
README.md