diff options
author | kamel5 <kamel5 (at) gmx (dot) net> | 2018-03-08 13:10:09 +0100 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2019-01-27 11:29:55 +0100 |
commit | 6ae27238afa33e17dece7311c4728b5c1f2f83b2 (patch) | |
tree | 4383650beca57e582548594449db343d79e5c630 /statusheader.c | |
parent | cbc6f442648a0aea4b94d81176f044c642a7d2b0 (diff) | |
download | vdr-plugin-tvguide-6ae27238afa33e17dece7311c4728b5c1f2f83b2.tar.gz vdr-plugin-tvguide-6ae27238afa33e17dece7311c4728b5c1f2f83b2.tar.bz2 |
Reinsert old tvscraper compatibility
Diffstat (limited to 'statusheader.c')
-rw-r--r-- | statusheader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/statusheader.c b/statusheader.c index cac916e..fab48b5 100644 --- a/statusheader.c +++ b/statusheader.c @@ -104,11 +104,11 @@ int cStatusHeader::DrawPoster(const cEvent *event, int x, int y, int height, int ScraperGetPoster posterScraper2Vdr;
int posterWidth = 0;
int posterHeight = 0;
- static cPlugin *pScraper2Vdr = cPluginManager::GetPlugin("scraper2vdr");
- if (pScraper2Vdr) {
+ static cPlugin *pScraper = GetScraperPlugin();
+ if (pScraper) {
posterScraper2Vdr.event = event;
posterScraper2Vdr.recording = NULL;
- if (pScraper2Vdr->Service("GetPoster", &posterScraper2Vdr)) {
+ if (pScraper->Service("GetPoster", &posterScraper2Vdr)) {
hasPoster = true;
int posterWidthOrig = posterScraper2Vdr.poster.width;
int posterHeightOrig = posterScraper2Vdr.poster.height;
|