mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
Merge remote-tracking branch 'uncool/cst-next'
Origin commit data
------------------
Branch: ni/coolstream
Commit: b837d8697b
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-12-28 (Mon, 28 Dec 2015)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -730,7 +730,7 @@ void CRecordInstance::MakeExtFileName(CZapitChannel * channel, std::string &File
|
||||
|
||||
std::string channel_name = channel->getName();
|
||||
if (!(channel_name.empty())) {
|
||||
snprintf(buf, sizeof(buf), UTF8_TO_FILESYSTEM_ENCODING(channel_name.c_str()));
|
||||
snprintf(buf, sizeof(buf),"%s", UTF8_TO_FILESYSTEM_ENCODING(channel_name.c_str()));
|
||||
ZapitTools::replace_char(buf);
|
||||
StringReplace(FilenameTemplate,"%C",buf);
|
||||
}
|
||||
@@ -740,7 +740,7 @@ void CRecordInstance::MakeExtFileName(CZapitChannel * channel, std::string &File
|
||||
CShortEPGData epgdata;
|
||||
if(CEitManager::getInstance()->getEPGidShort(epgid, &epgdata)) {
|
||||
if (!(epgdata.title.empty())) {
|
||||
snprintf(buf, sizeof(buf), epgdata.title.c_str());
|
||||
snprintf(buf, sizeof(buf),"%s", epgdata.title.c_str());
|
||||
ZapitTools::replace_char(buf);
|
||||
StringReplace(FilenameTemplate,"%T",buf);
|
||||
}
|
||||
@@ -748,7 +748,7 @@ void CRecordInstance::MakeExtFileName(CZapitChannel * channel, std::string &File
|
||||
StringReplace(FilenameTemplate,"%T","no_title");
|
||||
|
||||
if (!(epgdata.info1.empty())) {
|
||||
snprintf(buf, sizeof(buf), epgdata.info1.c_str());
|
||||
snprintf(buf, sizeof(buf),"%s", epgdata.info1.c_str());
|
||||
ZapitTools::replace_char(buf);
|
||||
StringReplace(FilenameTemplate,"%I",buf);
|
||||
}
|
||||
|
Reference in New Issue
Block a user