2008-04-02, 03:11 AM
Ok.....I had to dig into this one....I was not the creator of this code and have not done much work in this area.
I determined that the code that is currently in place requires that the network drive actually be mapped to the local machine....kind of defeats the purpose of unc....
I did find a way to get the space values for a network drive without actually mapping the drive to the local machine running gbpvr. However.....for it to work I had to change the gbpvrrecordingservice to run using a local account that had access to the share rather than just using the local system account.
I think I am going to combine these two methods of access into one piece of code....first looking via the new approach and then falling into the existing approach if there is an access issue with the new method.
This means for space determination to work correctly the user will either need to run the gbpvrrecordingservice under a local account with the access rights to the network share (if the share is unprotected on a NAS the local system account would probably still work) or they will need to map the network drive locally.
I'll post a patch to test as soon as it is done.
I determined that the code that is currently in place requires that the network drive actually be mapped to the local machine....kind of defeats the purpose of unc....
I did find a way to get the space values for a network drive without actually mapping the drive to the local machine running gbpvr. However.....for it to work I had to change the gbpvrrecordingservice to run using a local account that had access to the share rather than just using the local system account.
I think I am going to combine these two methods of access into one piece of code....first looking via the new approach and then falling into the existing approach if there is an access issue with the new method.
This means for space determination to work correctly the user will either need to run the gbpvrrecordingservice under a local account with the access rights to the network share (if the share is unprotected on a NAS the local system account would probably still work) or they will need to map the network drive locally.
I'll post a patch to test as soon as it is done.
Intel Core i7 @ 4.00GHz Skylake 14nm
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's
ASUSTeK COMPUTER INC. Z170-DELUXE
Windows 10 Pro x64
PVR Software: NPVR 5.1.1
SiliconDust HDHomeRun HDHR5-4US Connect Quatro 4 Channel Tuner
Roku Ultra
2 PCH A-100's