fix removing .eit files
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 10 Mar 2006 23:35:37 +0000 (23:35 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 10 Mar 2006 23:35:37 +0000 (23:35 +0000)
lib/service/servicedvb.cpp

index a0c1cbc..6e2d961 100644 (file)
@@ -251,7 +251,9 @@ RESULT eDVBPVRServiceOfflineOperations::getListOfFilenames(std::list<std::string
        res.push_back(m_ref.path + ".meta");
        res.push_back(m_ref.path + ".ap");
        res.push_back(m_ref.path + ".cuts");
-       res.push_back(m_ref.path + ".eit");
+       std::string tmp = m_ref.path;
+       tmp.erase(m_ref.path.length()-3);
+       res.push_back(tmp + ".eit");
        return 0;
 }