fluxa-core/tests/wire/expected/detail_load_requested.json
KhooLy f7920e3d13 Track per-addon stream failures so the UI can surface them instead of silently dropping results
Adds detail.failedAddons, populated from the fetchDetailStreams
completion payload, distinct from availableAddons so a permanently
failed addon (exhausted retries, bad response, etc.) can be shown to
the user as a failure rather than looking identical to "no streams".
2026-07-11 13:19:22 +03:00

84 lines
1.8 KiB
JSON

{
"effects": [
{
"generation": 1,
"id": "fx-1",
"payload": {
"contentType": "movie",
"id": "tt1",
"language": "en",
"profile": null,
"sourceAddonCatalogType": "",
"sourceAddonTransportUrl": ""
},
"type": "fetchMetaDetail"
},
{
"generation": 1,
"id": "fx-2",
"payload": {
"id": "tt1"
},
"type": "readPlaybackProgress"
}
],
"state": {
"detail": {
"availableAddons": [],
"contentType": "movie",
"error": null,
"failedAddons": [],
"fanartArtwork": null,
"feedback": null,
"generation": 1,
"hasStreamProviders": null,
"id": "tt1",
"isInWatchlist": null,
"isLoading": true,
"isLoadingStreams": false,
"language": "en",
"lastPrefetch": null,
"lastPrefetchError": null,
"loadingAddonNames": [],
"localWatchedVideoIds": [],
"meta": null,
"omdbRatings": null,
"profile": null,
"resolvedRequestId": null,
"savedPlayback": null,
"seasonEpisodes": [],
"seasonLoading": null,
"selectedAddon": null,
"similarItems": [],
"streams": [],
"streamsError": null,
"trailers": [],
"userAddons": [],
"visibleStreams": [],
"watchedVideoIds": []
},
"pendingEffects": [
{
"generation": 1,
"id": "fx-1",
"payload": {
"contentType": "movie",
"id": "tt1",
"language": "en",
"profile": null,
"sourceAddonCatalogType": "",
"sourceAddonTransportUrl": ""
},
"type": "fetchMetaDetail"
},
{
"generation": 1,
"id": "fx-2",
"payload": {
"id": "tt1"
},
"type": "readPlaybackProgress"
}
]
}
}