From: ghost Date: Fri, 24 Apr 2009 09:51:42 +0000 (+0200) Subject: servicedvbrecord.cpp: add sanity check for tags X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=8188ccaebf3b9c51ef2916cb7e69ef954291392f;ds=sidebyside servicedvbrecord.cpp: add sanity check for tags --- 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) {