diff options
Diffstat (limited to 'imageloader.c')
-rw-r--r-- | imageloader.c | 6 |
1 files changed, 6 insertions, 0 deletions
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) { |