Skip to content

Terminal interface to find, download, and stream movies, TV shows, and live TV using local media players.

fix(tui): differentiate hard rate limits from missing streams in details view UI

Samir Hossains0de0f74ccee0
diff --git a/src/tui/app/requests.rs b/src/tui/app/requests.rs
index 7f0acd2..f242045 100644
--- a/src/tui/app/requests.rs
+++ b/src/tui/app/requests.rs
@@ -1931,14 +1931,15 @@ impl App {
};
if !target_ok || all_items.is_empty() {
+ let err_msg = if all_items.is_empty() {
+ "No matches"
+ } else {
+ "Rate Limit"
+ }
+ .into();
sender
.send(Action::EpisodeStreamsFailed(
- context,
- request_id,
- id_clone,
- season,
- episode,
- "Rate Limit".into(),
+ context, request_id, id_clone, season, episode, err_msg,
))
.ok();
} else {