mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	fixed bug searching channel logos with channelid
This commit is contained in:
		
							
								
								
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								HISTORY
									
									
									
									
									
								
							@@ -366,3 +366,4 @@ Version 0.5.2
 | 
			
		||||
- added recording shorttext, description and scraper poster tokens
 | 
			
		||||
  to displaymenurecordings listelement
 | 
			
		||||
- allow currentelements to use conditions
 | 
			
		||||
- fixed bug searching channel logos with channelid
 | 
			
		||||
 
 | 
			
		||||
@@ -146,11 +146,12 @@ bool cImageCache::LogoExists(string channelID) {
 | 
			
		||||
    if (!channel)
 | 
			
		||||
        return false;
 | 
			
		||||
    string logoLower = StrToLowerCase(channel->Name());
 | 
			
		||||
    string channelIDLower = StrToLowerCase(channelID.c_str());
 | 
			
		||||
 | 
			
		||||
    return (FileExists(logoPath.c_str(), logoLower, "svg") ||
 | 
			
		||||
            FileExists(logoPath.c_str(), logoLower, "png") ||
 | 
			
		||||
            FileExists(logoPath.c_str(), channelID, "svg") ||
 | 
			
		||||
            FileExists(logoPath.c_str(), channelID, "png"));
 | 
			
		||||
            FileExists(logoPath.c_str(), channelIDLower, "svg") ||
 | 
			
		||||
            FileExists(logoPath.c_str(), channelIDLower, "png"));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
bool cImageCache::SeparatorLogoExists(string name) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user