diff options
-rw-r--r-- | HISTORY | 2 | ||||
-rw-r--r-- | imageloader.c | 6 |
2 files changed, 8 insertions, 0 deletions
@@ -326,3 +326,5 @@ Version 0.1.4 the channel - Cleaned up pixmaps in menuitems - Avoided font pixelation on default menu items +- Searching for epgimages named eventID.jpg and eventID_0.jpg in detailed + epg view diff --git a/imageloader.c b/imageloader.c index 5a9d2c0..437030e 100644 --- a/imageloader.c +++ b/imageloader.c @@ -55,6 +55,12 @@ bool cImageLoader::LoadEPGImage(int eventID) { if (!success) { success = LoadImage(*cString::sprintf("%d", eventID), *config.epgImagePathDefault, "jpg"); } + if (!success && config.epgImagePathSet) { + success = LoadImage(*cString::sprintf("%d_0", eventID), *config.epgImagePath, "jpg"); + } + if (!success) { + success = LoadImage(*cString::sprintf("%d_0", eventID), *config.epgImagePathDefault, "jpg"); + } if (!success) return false; if (height != 0 || width != 0) { |