Re: [vdr] VDR not cleaning .del directories

2018-01-21 Thread Teemu Suikki
2018-01-21 15:46 GMT+02:00 Klaus Schmidinger : > As long as a cPlayer (or a cReceiver, for that matter) is attached to > a cDevice, VDR will not perform its housekeeping tasks. This is to > avoid any problems during replay or recording, possibly caused by > heavy disk

Re: [vdr] VDR not cleaning .del directories

2018-01-21 Thread Klaus Schmidinger
On 19.01.2018 18:48, Teemu Suikki wrote: I'm starting to think that maybe my problem IS caused entirely by this softhddevice bug. Because my softhddevice keep freezing quite frequently, I have added a shutdown command that detaches softhddevice and leaves vdr running. And then when I watch

Re: [vdr] VDR not cleaning .del directories

2018-01-20 Thread Petri Hintukainen
Hello, pe, 2018-01-19 kello 19:48 +0200, Teemu Suikki kirjoitti: > I'm starting to think that maybe my problem IS caused entirely by > this > softhddevice bug. Because my softhddevice keep freezing quite > frequently, I have added a shutdown command that detaches > softhddevice > and leaves vdr

Re: [vdr] VDR not cleaning .del directories

2018-01-19 Thread Teemu Suikki
I'm starting to think that maybe my problem IS caused entirely by this softhddevice bug. Because my softhddevice keep freezing quite frequently, I have added a shutdown command that detaches softhddevice and leaves vdr running. And then when I watch something, I'm pressing buttons and using menus

Re: [vdr] VDR not cleaning .del directories

2018-01-18 Thread Klaus Schmidinger
On 18.01.2018 21:26, Teemu Suikki wrote: Ok, I did some debugging. First of all, I noticed something weird that perhaps is not even related to this problem. In vdr.c there is a check: if ((Now - LastInteract) > ACTIVITYTIMEOUT if softhhddevice is detached or suspended, "Now - LastInteract"

Re: [vdr] VDR not cleaning .del directories

2018-01-18 Thread Teemu Suikki
Ok, I did some debugging. First of all, I noticed something weird that perhaps is not even related to this problem. In vdr.c there is a check: if ((Now - LastInteract) > ACTIVITYTIMEOUT if softhhddevice is detached or suspended, "Now - LastInteract" is always zero, and vdr can never enter

Re: [vdr] VDR not cleaning .del directories

2018-01-18 Thread VDR User
> My video directory is nfs-mounted to a raspberry pi running another vdr. In > my case, I have not changed the configuration in any way, but despite of > daily usage, this has not reoccurred. So either some other patch fixed the > problem for me, or this is some extremely rarely happening race

Re: [vdr] VDR not cleaning .del directories

2018-01-18 Thread Klaus Schmidinger
On 18.01.2018 08:54, Teemu Suikki wrote: Ok, it might be the same thing. I added some debug as Klaus suggested. After restart, vdr instantly deleted a few directories.. So at least it works sometimes. :) Perhaps the cleanup fails if Plex or another vdr is currently accessing the same files?

Re: [vdr] VDR not cleaning .del directories

2018-01-17 Thread Teemu Suikki
Ok, it might be the same thing. I added some debug as Klaus suggested. After restart, vdr instantly deleted a few directories.. So at least it works sometimes. :) Perhaps the cleanup fails if Plex or another vdr is currently accessing the same files? Maybe vdr then thinks it has deleted them,

Re: [vdr] VDR not cleaning .del directories

2018-01-17 Thread Jouni Karvo
Klaus Schmidinger kirjoitti 17.01.2018 klo 11:59: On 16.01.2018 19:44, Teemu Suikki wrote: Hi, I just experienced weird problem. My hard drive became 100% full. ... This is somehow related to the fact that I now have Plex Media Server sitting on the VDR recordings directory. But still I

Re: [vdr] VDR not cleaning .del directories

2018-01-17 Thread Klaus Schmidinger
On 16.01.2018 19:44, Teemu Suikki wrote: Hi, I just experienced weird problem. My hard drive became 100% full. But I noticed that there are tons of .del directories, some dating from months ago.. VDR hasn't removed them! What could cause this? I see entries in log: low disk space while