mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Create dir and subdir for instant recordings only for series
This commit is contained in:
parent
15dbae66eb
commit
9b45a5d093
@ -122,7 +122,7 @@ void cRecManager::SetTimerPath(cTimer *timer, const cEvent *event, std::string p
|
|||||||
newFileName = event->Title();
|
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());
|
newFileName = cString::sprintf("%s~%s", *newFileName, event->ShortText());
|
||||||
|
|
||||||
timer->SetFile(*newFileName);
|
timer->SetFile(*newFileName);
|
||||||
|
Loading…
Reference in New Issue
Block a user