summaryrefslogtreecommitdiff
path: root/worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'worker.c')
-rw-r--r--worker.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/worker.c b/worker.c
index 759e082..e354730 100644
--- a/worker.c
+++ b/worker.c
@@ -79,7 +79,8 @@ void cTVScraperWorker::SetDirectories(void) {
scrapType cTVScraperWorker::GetScrapType(const cEvent *event) {
scrapType type = scrapNone;
- type = overrides->Type(event->Title());
+ string title = (event->Title())?event->Title():"";
+ type = overrides->Type(title);
if (type != scrapNone)
return type;
int duration = event->Duration() / 60;