summaryrefslogtreecommitdiff
path: root/detailview.c
diff options
context:
space:
mode:
Diffstat (limited to 'detailview.c')
-rw-r--r--detailview.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/detailview.c b/detailview.c
index 48cd465..ad230b5 100644
--- a/detailview.c
+++ b/detailview.c
@@ -609,12 +609,12 @@ cNopacitySeriesView::~cNopacitySeriesView(void) {
}
void cNopacitySeriesView::LoadMedia(void) {
- static cPlugin *pScraper2Vdr = cPluginManager::GetPlugin("scraper2vdr");
- if (!pScraper2Vdr || seriesId < 1)
+ static cPlugin *pScraper = GetScraperPlugin();
+ if (!pScraper || seriesId < 1)
return;
series.seriesId = seriesId;
series.episodeId = episodeId;
- pScraper2Vdr->Service("GetSeries", &series);
+ pScraper->Service("GetSeries", &series);
}
void cNopacitySeriesView::SetTabs(void) {
@@ -869,11 +869,11 @@ cNopacityMovieView::~cNopacityMovieView(void) {
}
void cNopacityMovieView::LoadMedia(void) {
- static cPlugin *pScraper2Vdr = cPluginManager::GetPlugin("scraper2vdr");
- if (!pScraper2Vdr || movieId < 1)
+ static cPlugin *pScraper = GetScraperPlugin();
+ if (!pScraper || movieId < 1)
return;
movie.movieId = movieId;
- pScraper2Vdr->Service("GetMovie", &movie);
+ pScraper->Service("GetMovie", &movie);
}
void cNopacityMovieView::SetTabs(void) {