Hello,
When I delete a TV recording in MP, it is dropped from the database but the file is not deleted from the disk. This fills my NAS disks until TV server crashes. Then I clear the NAS, uninstall TV server, then MP, reinstalling MP, spend hours to set it up back... you know the story...
This happens since I changed my recording folder to a NAS (path is UNC: \\mynetwork\myNAS\mySharedFolder). The issue was already there with MP 1.2.2, 1.2.3 and is still in 1.3.0b. The tv.log shows no error when deleting a file... but the file is actually NOT deleted!
A temporary workaround would be to set quotas but it is impossible when shares are UNC style. And mapping share as network drive makes TVService (more) unreliable.
Despite they were no user rights defined on the NAS (everybody can read/write), I followed an advice found on the forum. I set TVService to run with sufficient rights (administrator) and defined corresponding user on the NAS with read+write access. On the NAS log, I can see the user logging correctly when I delete a file... but the file is still there. Of course, deleting from windows explorer works fine for this user.
So what is happening? Why, at least, the DeleteRecordingOnDisk function does not report an error?? Thank you for your support!
When I delete a TV recording in MP, it is dropped from the database but the file is not deleted from the disk. This fills my NAS disks until TV server crashes. Then I clear the NAS, uninstall TV server, then MP, reinstalling MP, spend hours to set it up back... you know the story...
This happens since I changed my recording folder to a NAS (path is UNC: \\mynetwork\myNAS\mySharedFolder). The issue was already there with MP 1.2.2, 1.2.3 and is still in 1.3.0b. The tv.log shows no error when deleting a file... but the file is actually NOT deleted!
A temporary workaround would be to set quotas but it is impossible when shares are UNC style. And mapping share as network drive makes TVService (more) unreliable.
Despite they were no user rights defined on the NAS (everybody can read/write), I followed an advice found on the forum. I set TVService to run with sufficient rights (administrator) and defined corresponding user on the NAS with read+write access. On the NAS log, I can see the user logging correctly when I delete a file... but the file is still there. Of course, deleting from windows explorer works fine for this user.
So what is happening? Why, at least, the DeleteRecordingOnDisk function does not report an error?? Thank you for your support!