From: Lars Op den Kamp Date: Thu, 31 Mar 2011 21:53:32 +0000 (+0800) Subject: set the default priorit to DVR_PRIO_NORMAL instead of 0 with creating a DVR entry... X-Git-Tag: 2.99~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2101f6203628b18adac4fca7870bc3dbd49fad2;p=thirdparty%2Ftvheadend.git set the default priorit to DVR_PRIO_NORMAL instead of 0 with creating a DVR entry without an EPG event. --- diff --git a/src/htsp.c b/src/htsp.c index c6d6be25f..9d916ec43 100644 --- a/src/htsp.c +++ b/src/htsp.c @@ -529,7 +529,7 @@ htsp_method_addDvrEntry(htsp_connection_t *htsp, htsmsg_t *in) // get the optional attributes if (htsmsg_get_u32(in, "priority", &iPriority)) - iPriority = 0; + iPriority = DVR_PRIO_NORMAL; if ((strDescription = htsmsg_get_str(in, "description")) == NULL) strDescription = "";