From: pablozg Date: Sat, 24 Feb 2018 13:19:37 +0000 (+0100) Subject: DVR: fix: set the unparsed season/episode info as a text X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5567adf6890551bdf2d389b2225f29f83bba5727;p=thirdparty%2Ftvheadend.git DVR: fix: set the unparsed season/episode info as a text --- diff --git a/src/dvr/dvr_db.c b/src/dvr/dvr_db.c index 1ff3db501..c3e415509 100644 --- a/src/dvr/dvr_db.c +++ b/src/dvr/dvr_db.c @@ -982,7 +982,8 @@ dvr_entry_create(const char *uuid, htsmsg_t *conf, int clone) /* Extract episode info */ s = htsmsg_get_str(conf, "episode"); if (s) { - extract_season_episode(&de->de_epnum, s); + if (!extract_season_episode(&de->de_epnum, s)) + de->de_epnum.text = strdup(s); } else { m = htsmsg_get_map(conf, "episode"); if (m)