Methods
(static) downloadTile(tileIndex, cachePath) → {boolean}
Downloads a single tile from the Jellyfin API Tracks download time for adaptive preloading calculations
Parameters:
| Name | Type | Description |
|---|---|---|
tileIndex | Integer | Zero-based tile index |
cachePath | String | cachefs:/ path to save the tile |
Returns:
- True if download succeeded
- Type:
- boolean
(static) getAverageDownloadTime() → {float}
Calculates average download time from recent downloads
Returns:
- Average download time in seconds, or 3.0 if no data
- Type:
- float
(static) init() → {void}
Task node for downloading trickplay tiles No eviction during scrubbing - user should always see preview images cachefs:/ has its own size limits that Roku manages automatically
Returns:
- Type:
- void
(static) loadTiles() → {void}
Main task function - runs in background thread Downloads and caches requested trickplay tiles
Returns:
- Type:
- void