From: Jaroslav Kysela Date: Sun, 12 Nov 2017 17:40:40 +0000 (+0100) Subject: profile: print an error when the profile is problematic, issue #4721 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6b42f0c5061363caad22c0518085ef23854043df;p=thirdparty%2Ftvheadend.git profile: print an error when the profile is problematic, issue #4721 --- diff --git a/src/profile.c b/src/profile.c index d1a312aa8..f3466aae5 100644 --- a/src/profile.c +++ b/src/profile.c @@ -540,8 +540,11 @@ profile_find_by_list } else { res = pro; } - if (!res) + if (!res) { res = profile_find_by_name((sflags & SUBSCRIPTION_HTSP) ? "htsp" : NULL, NULL); + if (!profile_verify(res, flags)) + tvherror(LS_PROFILE, "unable to select a working profile (asked '%s' alt '%s')", name, alt); + } return res; }