mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 01:11:06 +02:00
yWeb - support for png-logos
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1418 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: a7b08b66bc
Author: gixxpunk <thomas.harfmann@gmail.com>
Date: 2011-05-01 (Sun, 01 May 2011)
Origin message was:
------------------
- yWeb - support for png-logos
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1418 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
This commit is contained in:
@@ -488,10 +488,14 @@ std::string CNeutrinoAPI::getLogoFile(std::string _logoURL, t_channel_id channel
|
||||
_logoURL+="/";
|
||||
if(access((_logoURL + channelIdAsString + ".jpg").c_str(), 4) == 0)
|
||||
return _logoURL + channelIdAsString + ".jpg";
|
||||
else if (access((_logoURL + channelIdAsString + ".png").c_str(), 4) == 0)
|
||||
return _logoURL + channelIdAsString + ".png";
|
||||
else if (access((_logoURL + channelIdAsString + ".gif").c_str(), 4) == 0)
|
||||
return _logoURL + channelIdAsString + ".gif";
|
||||
else if (access((_logoURL + channelName + ".jpg").c_str(), 4) == 0)
|
||||
return _logoURL + channelName + ".jpg";
|
||||
else if (access((_logoURL + channelName + ".png").c_str(), 4) == 0)
|
||||
return _logoURL + channelName + ".png";
|
||||
else if (access((_logoURL + channelName + ".gif").c_str(), 4) == 0)
|
||||
return _logoURL + channelName + ".gif";
|
||||
else
|
||||
|
Reference in New Issue
Block a user