Hi Klaus,
Is there a possibility to implement the same way .update works a way to start the cleanup thread which is deleting the deleted recordings ? I'm usually low an diskspace and when try to free space for new recordings it takes mostly more than 5 minutes of an idle VDR to delete the recordings on the system. Sometimes 5 Minutes is too long :). Is this harcoded anywhere in the code ? Than it would be enough for me to shorten this amount of time.
/hgm.bg
hgm.bg schrieb:
Hi Klaus,
Is there a possibility to implement the same way .update works a way to start the cleanup thread which is deleting the deleted recordings ? I'm usually low an diskspace and when try to free space for new recordings it takes mostly more than 5 minutes of an idle VDR to delete the recordings on the system. Sometimes 5 Minutes is too long :). Is this harcoded anywhere in the code ? Than it would be enough for me to shorten this amount of time.
another solution would be to use the "undelete" plugins, which allows to undelete and to permanently delete the deleted recordings ...
hth mario
vdr-bounces@linuxtv.org wrote:
hgm.bg schrieb:
Is there a possibility to implement the same way .update works a way to start the cleanup thread which is deleting the deleted recordings ?
another solution would be to use the "undelete" plugins, which allows to undelete and to permanently delete the deleted recordings ...
That's a cool idea, use the undelete plugin to delete :)) Okay, i'll have a look.
hth mario
/hgm.bg
hgm.bg wrote:
Hi Klaus,
Is there a possibility to implement the same way .update works a way to start the cleanup thread which is deleting the deleted recordings ? I'm usually low an diskspace and when try to free space for new recordings it takes mostly more than 5 minutes of an idle VDR to delete the recordings on the system. Sometimes 5 Minutes is too long :). Is this harcoded anywhere in the code ? Than it would be enough for me to shorten this amount of time.
recording.c:
#define REMOVECHECKDELTA 3600 // seconds between checks for removing deleted files
Klaus
I demand that Klaus Schmidinger may or may not have written...
hgm.bg wrote:
Is there a possibility to implement the same way .update works a way to start the cleanup thread which is deleting the deleted recordings ? I'm usually low an diskspace and when try to free space for new recordings it takes mostly more than 5 minutes of an idle VDR to delete the recordings on the system. Sometimes 5 minutes is too long :) [...]
I find that it often takes too long too...
recording.c:
#define REMOVECHECKDELTA 3600 // seconds between checks for removing deleted files
Experimental patch (compile-tested only) attached. It adjusts the removal check scheduling so that removal occurs at (by default) 6 minutes after deletion. There is a 1-minute minimum delay, and the delay is reset every time a recording is marked for deletion.
This also gives you enough time to unmark a recording, either by renaming it manually or by using an undelete plugin.
vdr-bounces@linuxtv.org wrote:
#define REMOVECHECKDELTA 3600 // seconds between checks for removing deleted files
Experimental patch (compile-tested only) attached. It adjusts the removal check scheduling so that removal occurs at (by default) 6 minutes after deletion. There is a 1-minute minimum delay, and the delay is reset every time a recording is marked for deletion.
This also gives you enough time to unmark a recording, either by renaming it manually or by using an undelete plugin.
Okay, i will try this, thx
/hgm.bg
I demand that hgm.bg may or may not have written...
vdr-bounces@linuxtv.org wrote:
#define REMOVECHECKDELTA 3600 // seconds between checks for removing deleted files
Experimental patch (compile-tested only) attached. It adjusts the removal check scheduling so that removal occurs at (by default) 6 minutes after deletion. There is a 1-minute minimum delay, and the delay is reset every time a recording is marked for deletion. This also gives you enough time to unmark a recording, either by renaming it manually or by using an undelete plugin.
Okay, i will try this, thx
It turns out that that one contained a stupid bug - it'd default to 54 minutes, not six. See attached.
(BTW, fix your subject prefix or we'll get long "Re: AW:" strings...)
Klaus: are you deliberately using > rather than >= in the removal time checks in RemoveDeletedRecordings()?
Darren Salt wrote:
Okay, i will try this, thx
It turns out that that one contained a stupid bug - it'd default to 54 minutes, not six. See attached.
Okay, i was already wondering :)
(BTW, fix your subject prefix or we'll get long "Re: AW:" strings...)
Done... (And Yes there's a switch in Outlook for this :))
/hgm.bg