From 8188ccaebf3b9c51ef2916cb7e69ef954291392f Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 24 Apr 2009 11:51:42 +0200 Subject: [PATCH] servicedvbrecord.cpp: add sanity check for tags --- lib/service/servicedvbrecord.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/service/servicedvbrecord.cpp b/lib/service/servicedvbrecord.cpp index 294315e..6978849 100644 --- a/lib/service/servicedvbrecord.cpp +++ b/lib/service/servicedvbrecord.cpp @@ -132,6 +132,8 @@ RESULT eDVBServiceRecord::prepare(const char *filename, time_t begTime, time_t e meta.m_name = name; if (descr) meta.m_description = descr; + if (tags) + meta.m_tags = tags; ret = meta.updateMeta(filename) ? -255 : 0; if (!ret) { -- 2.7.4