From aaad1652e861c7fe63a8d986def2988fd5e9dde1 Mon Sep 17 00:00:00 2001 From: martii Date: Sun, 21 Sep 2014 14:21:35 +0200 Subject: [PATCH] driver/record: CRecordInstance::MakeExtFileName(): set dummy values on EPG failure Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/9cd4af2dd21e9139dbf46c9ac3b541f1c765b1ea Author: martii Date: 2014-09-21 (Sun, 21 Sep 2014) --- src/driver/record.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver/record.cpp b/src/driver/record.cpp index 280f201d8..6032d376a 100644 --- a/src/driver/record.cpp +++ b/src/driver/record.cpp @@ -747,6 +747,9 @@ void CRecordInstance::MakeExtFileName(CZapitChannel * channel, std::string &File } else StringReplace(FilenameTemplate,"%I","no_info"); + } else { + StringReplace(FilenameTemplate,"%T","no_title"); + StringReplace(FilenameTemplate,"%I","no_info"); } }