What are providers?
Providers in Cricfy are sources that host collections of streaming channels. Each provider maintains its own M3U playlist file containing channel information and stream URLs. The plugin fetches these providers from a remote API and caches them locally for better performance. Providers contain the following information:- title: The name of the provider
- image: A thumbnail/logo representing the provider
- catLink: The URL to the provider’s M3U playlist file
How providers are fetched and cached
The plugin uses an intelligent caching system to minimize network requests and improve performance. Here’s how it works:- Initial fetch: When you first open the plugin, it fetches the provider list from the remote API (
/cats.txt) - Decryption: The encrypted provider data is decrypted using the plugin’s crypto utilities
- Caching: The provider list is cached locally with the key
cricfy_providers - Subsequent loads: On future launches, the plugin serves providers from cache instead of making network requests
Navigating the provider list
When you launch the Cricfy plugin from Kodi’s Video Add-ons menu, you’ll see a list of available providers:- Open Kodi and navigate to Add-ons > Video add-ons
- Select Cricfy from the list
- You’ll see a folder view with all available providers
- Each provider is displayed with its title and thumbnail image
- Select any provider to view its channel list
Providers without a valid
catLink (HTTP URL) are automatically filtered out and won’t appear in the list.Implementation details
The provider listing is handled by thelist_providers() function in main.py:19. Here’s how it works:
