set the default priorit to DVR_PRIO_NORMAL instead of 0 with creating a DVR entry without an EPG event.

This commit is contained in:
Lars Op den Kamp 2011-04-01 05:53:32 +08:00 committed by Andreas Öman
parent 3b3669ea6e
commit d2101f6203

View file

@ -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 = "";