mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
add some special character conversion
Origin commit data
------------------
Branch: ni/coolstream
Commit: a682d4b74d
Author: TangoCash <eric@loxat.de>
Date: 2020-09-15 (Tue, 15 Sep 2020)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
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