diff --git a/src/input/mpegts/satip/satip.c b/src/input/mpegts/satip/satip.c index 28cb2dc8..a2b79198 100644 --- a/src/input/mpegts/satip/satip.c +++ b/src/input/mpegts/satip/satip.c @@ -69,6 +69,8 @@ satip_device_block( const char *addr, int block ) continue; sd = (satip_device_t *)th; if (strcmp(sd->sd_info.addr, addr) == 0) { + tvhinfo("satip", "address %s is %s", addr, + block < 0 ? "stopped" : (block > 0 ? "allowed" : "disabled")); sd->sd_dbus_block = block < 0 ? 0 : block; if (block < 0) { TAILQ_FOREACH(lfe, &sd->sd_frontends, sf_link) diff --git a/src/subscriptions.c b/src/subscriptions.c index 33a7daa4..6c837fb1 100644 --- a/src/subscriptions.c +++ b/src/subscriptions.c @@ -346,6 +346,8 @@ subscription_set_postpone(void *aux, const char *path, int64_t postpone) th_subscription_t *s; time_t now = time(NULL); + if (strcmp(path, "set")) + return -1; /* some limits that make sense */ if (postpone < 0) postpone = 0; @@ -354,6 +356,7 @@ subscription_set_postpone(void *aux, const char *path, int64_t postpone) pthread_mutex_lock(&global_lock); if (subscription_postpone != postpone) { subscription_postpone = postpone; + tvhinfo("subscriptions", "postpone set to %d seconds", (int)postpone); LIST_FOREACH(s, &subscriptions, ths_global_link) { s->ths_postpone = postpone; if (s->ths_postpone_end > now && s->ths_postpone_end - now > postpone)