mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
add some special character conversion
Origin commit data
------------------
Commit: a682d4b74d
Author: TangoCash <eric@loxat.de>
Date: 2020-09-15 (Tue, 15 Sep 2020)
This commit is contained in:
@@ -615,6 +615,16 @@ bool CPictureViewer::GetLogoName(const uint64_t &ChannelID, const std::string &C
|
||||
SpecialChannelName = str_replace("ü", "u", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("+", "___plus___", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("&", "___and___", SpecialChannelName);
|
||||
//
|
||||
SpecialChannelName = str_replace(",", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace(";", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace(":", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("*", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("'", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("?", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("|", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("/", "-", SpecialChannelName);
|
||||
SpecialChannelName = str_replace("\\", "-", SpecialChannelName);
|
||||
|
||||
// create channel id as string
|
||||
char strChnId[16];
|
||||
|
Reference in New Issue
Block a user