Re: priority -1 too low to trigger deleting an old recording

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 18.02.2016 17:45, Peter Münster wrote:
Hi,

On my system, disk usage is always about 99%, because VDR cares about
deleting old recordings, when needed.

But when editing a recording, the automatic deletion fails:

--8<---------------cut here---------------start------------->8---
17:36:28 vdr[28116]: [28116] info: Editing process started
17:36:50 vdr[28116]: [28834] low disk space while recording, trying to remove a deleted recording...
17:36:50 vdr[28116]: [28834] ...no deleted recording found, priority -1 too low to trigger deleting an old recording
17:36:50 vdr[28116]: [28116] warning: Low disk space!
17:37:01 vdr[28116]: [28834] low disk space while recording, trying to remove a deleted recording...
17:37:01 vdr[28116]: [28834] ...no deleted recording found, priority -1 too low to trigger deleting an old recording
17:37:01 vdr[28116]: [28116] warning: Low disk space!
17:37:09 vdr[28116]: [28116] ERROR: 'safe_write' during editing process
17:37:10 vdr[28116]: [28116] ERROR: Editing process failed!
--8<---------------cut here---------------end--------------->8---

How could I make VDR delete old recordings, when low on disk space
because of an editing process please?

In the file cutter.c locate the line

  AssertFreeDiskSpace(-1);

in the function cCuttingThread::ProcessSequence(). Chnage the '-1'
to whatever value between 1 and 100 you like. Note, though, that this
will remove old recordings with priorities up to the given value minus
one.

Klaus

_______________________________________________
vdr mailing list
vdr@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr




[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux