Added possibility to search for reruns in case of a timer conflict

This commit is contained in:
louis
2013-12-29 18:13:45 +01:00
parent 06ed8b3567
commit eede61ade5
102 changed files with 722 additions and 235 deletions

View File

@@ -77,8 +77,13 @@ bool cImageLoader::LoadPoster(const char *poster, int width, int height) {
bool cImageLoader::LoadIcon(const char *cIcon, int size) {
if (size==0)
return false;
cString iconPathTheme = cString::sprintf("%s%s/recmenuicons/", *tvguideConfig.iconPath, *tvguideConfig.themeName);
bool success = false;
success = LoadImage(cIcon, *tvguideConfig.iconPath, "png");
success = LoadImage(cIcon, *iconPathTheme, "png");
if (!success) {
cString iconPathdefault = cString::sprintf("%s/recmenuicons/", *tvguideConfig.iconPath);
success = LoadImage(cIcon, *iconPathdefault, "png");
}
if (!success)
return false;
buffer.sample(Geometry(size, size));