NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) NextPVR Enhanced Web Admin (NEWA) v
« Previous 1 … 27 28 29 30 31 … 47 Next »
Statistics doesn't show disk info for network shares

 
  • 0 Vote(s) - 0 Average
Statistics doesn't show disk info for network shares
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#11
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.
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
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#12
2008-04-02, 03:46 AM
Attached is a patch with the new coding....

You need to do one of the two following things to be able to see the space on the network drive.
  • If the network drive is on a machine that needs access to get to the share then change the gbpvrrecordingservice to run under a local account that has access to the network share.
    • If no user credentials are required to access the share then then I do not believe you will need to do anything to the gbpvrrecordingservice account settings.
  • Physically map the drive to the local gbpvr pc.
Let me know if this works and post the logs.

Thanks.
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
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#13
2008-04-02, 02:59 PM (This post was last modified: 2008-06-04, 08:13 PM by mkenyon2.)
Nice, didn't have to change the Service user. It's funny, since the \\ghz\Video share is actually D:\Video. But I mapped it so that \\ghz\Video is also V:\ and it's working.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#14
2008-04-02, 09:35 PM
mkenyon2 Wrote:Nice, didn't have to change the Service user. It's funny, since the \\ghz\Video share is actually D:\Video. But I mapped it so that \\ghz\Video is also V:\ and it's working.

Thats good....if you look in your log you should see a message as to what technique was used to render the space.

Since you have the share mapped it may have used the original technique....I coded it to use the new technique first then if there is an error fall back to the technique that was already in place.

Can you let me know what comes out in the log.

Thanks.
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
mkenyon2
Offline

Senior Member

Posts: 715
Threads: 208
Joined: Dec 2006
#15
2008-04-03, 01:53 PM (This post was last modified: 2008-06-04, 08:13 PM by mkenyon2.)
Here ya go... thank you very much.
Currently Running: 1.4.7
[SIZE="1"]HTPC:
Motherboard: ASUS P5LD2 Mobo w/ 945P chipset / CPU: Intel P4 3.0GHz
RAM: 3GB RAM / Video: ASUS Radeon X300SE 128Mb PCIx 16
Tuner(s): ATI TV 650 Dual (PCIx)
OS: Win XP Pro SP3[/SIZE]

[SIZE="1"]Feeding:
2 - Wired MVP[/SIZE]
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#16
2008-04-03, 08:44 PM
mkenyon2 Wrote:Here ya go... thank you very much.

Thanks....it is using the native call rather than the original mapped drive....so this seems to be working nicely.
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
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): « Previous 1 2


Possibly Related Threads…
Thread Author Replies Views Last Post
  Broken X-NEWA Info Link on NextPVR.com cweseloh 4 2,660 2020-05-02, 01:02 AM
Last Post: cweseloh
  Where does NEWA read the Show name from in the NEWA Web App? jksmurf 3 3,092 2018-07-03, 03:26 AM
Last Post: jksmurf
  All content missing on external network lazereagle 3 3,171 2018-03-21, 05:40 PM
Last Post: mvallevand
  NEWA Modern Interface Home Screen Doesn't Display Available Disk Space on First Load BrettB 1 2,193 2016-11-20, 05:03 PM
Last Post: mvallevand
  NEWA on Closed Isolated Network topcat 3 2,077 2015-04-10, 10:27 PM
Last Post: UncleJohnsBand
  NEWA skip login for list of ips or local network dinki 4 2,591 2014-05-24, 12:38 AM
Last Post: mvallevand
  Newa stats doesnt show other disks. softfoot 1 1,277 2013-11-27, 03:20 AM
Last Post: UncleJohnsBand
  Streaming outside local network, question WKleeven 54 19,791 2013-08-04, 09:34 PM
Last Post: UncleJohnsBand
  TV Guide, View Live doesn't work. Problem with address? WKleeven 14 4,962 2013-07-06, 03:00 PM
Last Post: UncleJohnsBand
  Feature request - info shown on NEWA Recordings table view Zogg 5 2,854 2013-01-27, 04:16 PM
Last Post: brcarls

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode