The add-on is a popular alternative to other IPTV players like X-Codes. Its main draw is its clean interface and direct integration with Kodi's media center environment. XCUI Streams excels at handling large playlists, offering categories for Live TV, Movies, TV Series, and catch-up TV (Replay). It also supports Electronic Program Guide (EPG) data, allowing users to see what's on now and schedule recordings, providing a complete cable-like experience within Kodi.
The term "XCUI Streams" refers to the integration of protocols into streaming applications. While "XCUI" can also refer to Apple's XCUITest framework for automating iOS app interfaces, in the context of digital media and keywords like "Kodi," it describes a method for accessing IPTV servers that use the Xtream Codes API. Key Components
While this works for simple flows, it introduces significant pain points in enterprise applications:
: It ditches the clunky "list of text" look for a tile-based UI that looks great on big screens and Kodi v21 (Omega). xcui streams
If live feeds frequently pause, navigate to Settings > Network inside the add-on panel. Increase your net_timeout value and set net_retries to a higher threshold (such as 3 or 5). This forces the player to wait out minor server drops instead of failing immediately. Empty Menus or Categories Not Loading
If you experience stuttering, buffering, or missing content, apply these advanced performance tweaks inside Kodi: Modify the Network Timeout Values
func testAsynchronousFormSubmission() async throws let app = XCUIApplication() app.launch() let submitButton = app.buttons["submit_button"] let successMessage = app.staticTexts["success_alert"] submitButton.tap() // Consume the stream until the success message becomes visible for await element in successMessage.statusStream() if element.exists && element.isHittable break // Condition met, exit the stream safely XCTAssertTrue(successMessage.exists) Use code with caution. Advanced Use Cases for XCUI Streams 1. Monitoring Performance and Layout Churn The add-on is a popular alternative to other
: An exponential delay multiplier applied between retries to prevent overwhelming the server framework. 3. State Management and Scoped Cache
That said, the IPTV player landscape has evolved significantly. Dedicated apps like Xtream Media Player (Android), IPEXO (macOS/iOS), and NovaStream (Android TV) often provide superior user experiences with cleaner interfaces, better performance, and more features.
Before installing XCUI Streams, ensure your setup meets the following requirements: It also supports Electronic Program Guide (EPG) data,
To input your account details, launch the add-on and navigate to its inner settings panel. You will need to fill in three specific fields:
In the addon settings, ensure "Enable Caching" is checked to speed up navigation.
At its core, an XCUI stream relies on the Xtream Codes API, a popular management system for IPTV providers. Unlike traditional M3U playlists which are static and often slow to load, XC-based systems allow for dynamic, "performance-first" browsing. Addons like plugin.video.iptvxc
extension XCUIElement /// Transforms an element's availability into an asynchronous stream func statusStream(pollingInterval: TimeInterval = 0.2) -> AsyncStream AsyncStream continuation in let timer = Timer.scheduledTimer(withTimeInterval: pollingInterval, repeats: true) _ in // Yield the current snapshot of the element to the stream continuation.yield(self) // Clean up the timer when the stream is cancelled or finished continuation.onTermination = _ in timer.invalidate() Use code with caution. Consuming the Stream in a Test Case