nhttpd: channel logo names: space allowed

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@560 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: e638dbc083
Author: yjogol <yjogol2@online.de>
Date: 2010-05-02 (Sun, 02 May 2010)



------------------
This commit was generated by Migit
This commit is contained in:
yjogol
2010-05-02 12:56:58 +00:00
parent 7d180c7c8b
commit 04001b1c5a

View File

@@ -483,7 +483,7 @@ std::string CNeutrinoAPI::getCryptInfoAsString(void) {
std::string CNeutrinoAPI::getLogoFile(std::string _logoURL, t_channel_id channelId) {
std::string channelIdAsString = string_printf( PRINTF_CHANNEL_ID_TYPE_NO_LEADING_ZEROS , channelId & 0xFFFFFFFFFFFFULL);
std::string channelName = GetServiceName(channelId);
replace(channelName, " ", "_");
// replace(channelName, " ", "_");
_logoURL+="/";
if(access((_logoURL + channelIdAsString + ".jpg").c_str(), 4) == 0)
return _logoURL + channelIdAsString + ".jpg";