Create dir and subdir for instant recordings only for series

This commit is contained in:
louis 2014-01-11 14:45:57 +01:00
parent 15dbae66eb
commit 9b45a5d093

View File

@ -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);