mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
driver/record.cpp: fix temp timeshift file delete cmd
This commit is contained in:
@@ -224,7 +224,7 @@ bool CRecordInstance::Stop(bool remove_event)
|
|||||||
CCamManager::getInstance()->Stop(channel_id, CCamManager::RECORD);
|
CCamManager::getInstance()->Stop(channel_id, CCamManager::RECORD);
|
||||||
|
|
||||||
if((autoshift && g_settings.auto_delete) /* || autoshift_delete*/) {
|
if((autoshift && g_settings.auto_delete) /* || autoshift_delete*/) {
|
||||||
snprintf(buf,sizeof(buf), "nice -n 20 rm -f %s.ts &", filename);
|
snprintf(buf,sizeof(buf), "nice -n 20 rm -f \"%s.ts\" &", filename);
|
||||||
system(buf);
|
system(buf);
|
||||||
snprintf(buf,sizeof(buf), "%s.xml", filename);
|
snprintf(buf,sizeof(buf), "%s.xml", filename);
|
||||||
//autoshift_delete = false;
|
//autoshift_delete = false;
|
||||||
|
Reference in New Issue
Block a user