Jump to content

Now recorded files are not locked on NAS


heula

Recommended Posts

heula

I notice a difference in recording with Emby and native use of the tuners on the PC and on my NAS.

 

When I recorded tv shows with the PC, the recorded files were locked and could not be removed, changed etc.

When I record TV shows now on my NAS the same way I did with Emby on the PC, the recorded files are not locked and can be removed, changed etc.

 

I noticed this because I have some batch files running that moves files so they can be used for commercial removal and renaming.

That should only be working when the recording is done.

 

For now I have have adjusted my batch files to only run on times I'm not recording. This because my recordings fail because they were moved before the recording was finisht.

The same batch files ran on my pc and than the currently recorded files could not be moved or changed because the file was in use by another program. (Emby)

 

Why are those currently recorded files not locked on the NAS?

 

Thanks.

Link to comment
Share on other sites

Probably due to differences in the way the .net core runtime works with different file systems. When we open the file for writing we open it with fileshare mode read, which allows other process to read from the file, but not write to it.

Link to comment
Share on other sites

heula

Probably due to differences in the way the .net core runtime works with different file systems. When we open the file for writing we open it with fileshare mode read, which allows other process to read from the file, but not write to it.

And is there something to do about it?

Link to comment
Share on other sites

heula

Aside from submitting a defect to the Microsoft netcore repository, I'm not sure. Thanks.

Okay, than I have to keep my workaround as it is now.

 

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...