aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-08 18:58:03 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-08 18:58:03 +0100
commita14a907b183b589a1d332cd222efd343f449d095 (patch)
treec2350ef57dc934e2470258e903c7ea49d9995d22
parent333049de013f2fcf5d28d45ccd7f5de4bc85422f (diff)
downloadnncmpp-a14a907b183b589a1d332cd222efd343f449d095.tar.gz
nncmpp-a14a907b183b589a1d332cd222efd343f449d095.tar.xz
nncmpp-a14a907b183b589a1d332cd222efd343f449d095.zip
Indicate that a stream download is in progress
-rw-r--r--nncmpp.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/nncmpp.c b/nncmpp.c
index cf42ce9..fb49b3a 100644
--- a/nncmpp.c
+++ b/nncmpp.c
@@ -2089,6 +2089,8 @@ app_write_mpd_status (struct row_buffer *buf)
row_buffer_append (buf, msg, APP_ATTR (HIGHLIGHT));
free (msg);
}
+ else if (g.poller_curl.registered)
+ row_buffer_append (buf, "Downloading...", APP_ATTR (NORMAL));
else if (str_map_find (map, "updating_db"))
row_buffer_append (buf, "Updating database...", APP_ATTR (NORMAL));
else