summaryrefslogtreecommitdiff
path: root/recmanager.c
diff options
context:
space:
mode:
authorlouis <louis.braun@gmx.de>2014-01-11 14:45:57 +0100
committerlouis <louis.braun@gmx.de>2014-01-11 14:45:57 +0100
commit9b45a5d093ce62a36aef5d48848d8e8c3864e8aa (patch)
treee2ef9bf15e140ea0aab42ae7f6d32b2f94f2a571 /recmanager.c
parent15dbae66ebc12e9e3175fd22a5d7d7faf1fb9257 (diff)
downloadvdr-plugin-tvguide-9b45a5d093ce62a36aef5d48848d8e8c3864e8aa.tar.gz
vdr-plugin-tvguide-9b45a5d093ce62a36aef5d48848d8e8c3864e8aa.tar.bz2
Create dir and subdir for instant recordings only for series
Diffstat (limited to 'recmanager.c')
-rw-r--r--recmanager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recmanager.c b/recmanager.c
index d2d54e9..9539334 100644
--- a/recmanager.c
+++ b/recmanager.c
@@ -122,7 +122,7 @@ void cRecManager::SetTimerPath(cTimer *timer, const cEvent *event, std::string p
newFileName = event->Title();
}
- if(!isempty(event->ShortText()))
+ if ( !isempty(event->ShortText()) && ((event->Duration() / 60 ) < 70) ) //Add Dir only for Series
newFileName = cString::sprintf("%s~%s", *newFileName, event->ShortText());
timer->SetFile(*newFileName);