servicedvbrecord.cpp: add sanity check for tags
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 24 Apr 2009 09:51:42 +0000 (11:51 +0200)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 24 Apr 2009 09:51:42 +0000 (11:51 +0200)
lib/service/servicedvbrecord.cpp

index 294315e9828d8b2045d16c6760ed20e035fdca65..6978849202ce8483f111229fd1ac98f3e9cc180f 100644 (file)
@@ -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;
                                meta.m_name = name;
                        if (descr)
                                meta.m_description = descr;
+                       if (tags)
+                               meta.m_tags = tags;
                        ret = meta.updateMeta(filename) ? -255 : 0;
                        if (!ret)
                        {
                        ret = meta.updateMeta(filename) ? -255 : 0;
                        if (!ret)
                        {