[vdr] VDR deletes directories

Klaus Schmidinger Klaus.Schmidinger at cadsoft.de
Sat Oct 14 10:39:30 CEST 2006


Reinhard Walter Buchner wrote:
> Hi Klaus, Johannes,
> 
>> Johannes Schoeller wrote:
>>> ...
>>> i wish vdr would delete .del directories ;)
>>> here it doesn't clean up emtpy directories. never found out why. so i
>>> made a cronjob that does that for me ...
>>
>> VDR removed .del directories just fine:
>>
>> Oct 10 22:17:40 video vdr: [29329] removing 
>> /video/nano/Die_Welt_von_morgen/2006-10-09.18.30.05.05.del/001.vdr
>> Oct 10 22:17:41 video vdr: [29329] removing 
>> /video/nano/Die_Welt_von_morgen/2006-10-09.18.30.05.05.del/index.vdr
>> Oct 10 22:17:41 video vdr: [29329] removing 
>> /video/nano/Die_Welt_von_morgen/2006-10-09.18.30.05.05.del/info.vdr
>> Oct 10 22:17:41 video vdr: [29329] removing 
>> /video/nano/Die_Welt_von_morgen/2006-10-09.18.30.05.05.del/resume.vdr
>> Oct 10 22:17:41 video vdr: [29329] removing 
>> /video/nano/Die_Welt_von_morgen/2006-10-09.18.30.05.05.del
> 
> I have the same problem (still using an older version of VDR, tho).
> VDR does delete the contents of the directory, but it doesn't
> always delete the primary directory below 'video'. In your example
> you (or in my case me ;o)) still have
> 
> /video/nano/Die_Welt_von_morgen/
> 
> (being empty) left over. If it's a re-occuring timer,
> that is still active, this makes sense, but if there are
> no further events occuring later, VDR should also
> delete the directories
> 
> 'Die_Welt_von_morgen' and 'nano'
> 
> I haven't been able to find out when or why this occurs.
> All I know is that it doesn't always work. I.e. sometimes
> VDR DOES indeed delete the above two directories as
> would be correct.

The example I gave wasn't the last recording in that directory.
Here's what happened when it deleted the last one:

Oct 10 22:21:36 video vdr: [29353] removing recording /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del/001.vdr
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del/index.vdr
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del/info.vdr
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del/resume.vdr
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen/2006-10-10.18.30.05.05.del
Oct 10 22:21:36 video vdr: [29353] removing /video/nano/Die_Welt_von_morgen
Oct 10 22:21:36 video vdr: [29353] removing /video/nano

I never had a case (at least none that I remember) where this
didn't work as expected.

Could it be that this only happens with a patched VDR?

Klaus



More information about the vdr mailing list