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 … 18 19 20 21 22 … 47 Next »
EWA shows hidden folders and videos

 
  • 0 Vote(s) - 0 Average
EWA shows hidden folders and videos
Asher
Offline

Junior Member

Posts: 23
Threads: 4
Joined: Jun 2009
#1
2010-01-19, 09:59 PM
I've set up EWA for the very first time (Build 82) and it's awesome! I wish I'd done it sooner and can't believe it's not used by more people.

Something a little odd though:

I have a hidden folder in my video library.
It doesn't show up in GBPVR, but it does show up in EWA.

More precisely:

- In GBPVR hidden folders are not displayed at all (so their contents are also unreachable)
- In EWA, hidden folders are shown
- Hidden video files are shown and can be streamed downloaded or played.
- Hidden image files are not displayed in EWA.

Seems like a minor bug?

-------------------------------------------------------
Windows 7 Ultimate (x64) | GBPVR 1.4.7 | EWA Build 82
-------------------------------------------------------
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#2
2010-01-20, 12:03 AM
Asher Wrote:I've set up EWA for the very first time (Build 82) and it's awesome! I wish I'd done it sooner and can't believe it's not used by more people.

Something a little odd though:

I have a hidden folder in my video library.
It doesn't show up in GBPVR, but it does show up in EWA.

More precisely:

- In GBPVR hidden folders are not displayed at all (so their contents are also unreachable)
- In EWA, hidden folders are shown
- Hidden video files are shown and can be streamed downloaded or played.
- Hidden image files are not displayed in EWA.

Seems like a minor bug?

-------------------------------------------------------
Windows 7 Ultimate (x64) | GBPVR 1.4.7 | EWA Build 82
-------------------------------------------------------

I'll look into it and see what I can find.....but EWA is just using the standard .Net framework for pulling in folders and files and there is no difference in the load from video to picture so I am not sure why something would show in one and not the other.
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
#3
2010-01-20, 12:28 AM
See the interesting Windows behavior demonstrated below......although 30 Rock and Fringe are hidden folders they still show on the left hand pane of explorer....however.....when you are sitting on the root the righ-hand pane does not show the folder in the list of folders.....Never noticed this before in Windows.

There is an XP as well as W7 shot.....so it's been there for a while. The XP shot I have show hidden and system files to true and on W7 I do not have that set.....

As for EWA....I am guessing it is using the same explorer calls that Explorer is using....I'll talk to sub and see if he does anything special to filter out hidden folders and files.

[Image: capture162010101217pm11l.jpg]


[Image: capture162010101217pm11.jpg]
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
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#4
2010-01-20, 01:22 AM
There might be some qualifiers on Directory.GetFiles for different attributed files.
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#5
2010-01-20, 02:24 AM
psycik Wrote:There might be some qualifiers on Directory.GetFiles for different attributed files.

I have the fix and I know why it was coded as is......it is using the Directory.GetDirectories method which returns a string array of directories.....but you do not know whether or not they are hidden or system....so I am testing (when I get home....can't access remote....can just code).....reading attributes via DirectoryInfo.Attributes for each directory found and see if it is hidden or system (same for files).

The big thing will be what type of performance hit is taken.
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
Asher
Offline

Junior Member

Posts: 23
Threads: 4
Joined: Jun 2009
#6
2010-01-20, 02:39 AM
UncleJohnsBand Wrote:I have the fix and I know why it was coded as is...

Wow! fast!

I currently have win explorer set to show hidden and system files, I didn't think about changing that to see what the impact was on EWA (if any).

I thought I'd mention it on here simply because I was intrigued that there was a difference between GBPVR and EWA and that hidden image files were not displayed, while hidden video files were.
Smile
| Win 10 Pro (x64) | NextPVR | Hardware housed in a Silverstone GD02-MT: http://www.facebook.com/album.php?aid=97...cf324c98b5 |
UncleJohnsBand
Offline

Posting Freak

U.S.A.
Posts: 5,643
Threads: 258
Joined: Feb 2005
#7
2010-01-21, 01:24 AM
Try the attached patch and let me know how it works. Seems to work fine on drives that are windows based.....my NAS doesn't let me set a hidden attribute so those files are always visible.

This should now be hiding any hidden or system files.

Report back your findings.
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)



Possibly Related Threads…
Thread Author Replies Views Last Post
  NEWA missing scheduled auto-record shows? jksmurf 1 2,166 2015-09-16, 02:49 PM
Last Post: ACTCMS
  Problems with Autorecord for shows that span midnight (plus priority request) jksmurf 9 3,611 2014-10-11, 04:12 PM
Last Post: UncleJohnsBand
  NEWA Webserver only shows a few of my channels mosesintheflesh 1 1,539 2014-01-01, 05:50 AM
Last Post: UncleJohnsBand
  Video Library does not display sub folders OTAjunkie 3 2,335 2013-08-18, 09:00 PM
Last Post: UncleJohnsBand
  Recording failed - repeatedly for specific shows CodeeCB 4 3,448 2013-02-16, 05:05 AM
Last Post: mvallevand
  No Tuner Available for this Recording - NEWA Web Log shows error? jksmurf 2 1,824 2011-04-30, 04:10 PM
Last Post: UncleJohnsBand
  NEWA doesn't show pending shows in TV Guide on odd time boundaries servalan 5 1,934 2010-09-25, 07:16 PM
Last Post: UncleJohnsBand
  Web Streaming Videos haarvik 2 1,494 2009-01-07, 02:51 AM
Last Post: UncleJohnsBand
  Page not found when attempting to download long shows medic29 7 2,438 2008-12-19, 01:22 AM
Last Post: UncleJohnsBand
  v1.3.7 EWA with Default folder locations (Photos, Videos etc..) SFX Group 1 1,242 2008-11-05, 12:37 PM
Last Post: McBainUK

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

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

Linear Mode
Threaded Mode