NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Legacy (v4.x and earlier) v
« Previous 1 … 318 319 320 321 322 … 433 Next »
Are network paths permitted for Media folders?

Are network paths permitted for Media folders?
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,584
Threads: 384
Joined: Dec 2004
#1
2012-02-14, 02:57 AM
Just wondering.

For example I only use paths local to my npvr such as 'friendly' name "JukeBox" with a path of "D:\Music". is it possible for a user to have the path as "\\myserver\music" ?

Cheers,
Brian
Jaggy
Offline

Posting Freak

Carterton, NZ
Posts: 3,625
Threads: 148
Joined: Mar 2006
#2
2012-02-14, 03:16 AM
Well here is a copy paste direct out of my config.xml

Code:
<LibraryDirectories>
    <HideFileExtensions>false</HideFileExtensions>
    <AllowVideoDelete>true</AllowVideoDelete>
    <MusicLibrary extensions="^.+\.(mp3|ogg|m3u|wma|aac|wav|m4a|fla|flac)$">
      <Directory name="Default">C:\</Directory>
      <Directory name="E-_Music">E:\_Music\</Directory>
      <Directory name="F _Music">F:\_Music\</Directory>
      <Directory name="Server Music">\\Pvr-server\Music\</Directory>
      <Directory name="Robert">\\Pvr-server\my book (i)\Music Library\</Directory>
      <Directory name="C CueArchive">C:\WR2-Data\CueFileArchive\</Directory>
      <Directory name="F_Drive Christmas(mod)">F:\_Music\Christmas(mod)\</Directory>
    </MusicLibrary>
    <VideoLibrary extensions="^.+\.(mpeg|mpg|m2v|avi|bdmv|ty|avs|ogm|mp4|mov|m2ts|wmv|cdg|iso|rm|dvr-ms|ts|mkv|vob|divx|flv|ratDVD|m4v|3gp|rmvb|wtv)$">
      <Directory name="Default">C:\</Directory>
      <Directory name="E-Recordings">E:\_Recordings\</Directory>
      <Directory name="F-Drive">F:\</Directory>
      <Directory name="Server-I USB-Drive">\\PVR-SERVER\My Book (I)</Directory>
    </VideoLibrary>
    <PictureLibrary extensions="^.+\.(bmp|jpg|png|tiff|tif)$">
      <Directory name="Default">C:\</Directory>
      <Directory name="Server _Photo">\\Pvr-server\_Photo\</Directory>
      <Directory name="Birds 2010">\\Pvr-server\G_Drv (G)\_Photo\Birds-10-11\</Directory>
      <Directory name="F Drv">F:\</Directory>
      <Directory name="E-_Photos">E:\_Photos\</Directory>
    </PictureLibrary>
  </LibraryDirectories>
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,584
Threads: 384
Joined: Dec 2004
#3
2012-02-14, 03:20 AM
Jaggy Wrote:Well here is a copy paste direct out of my config.xml
lol, well that's a pretty conclusive answer. Smile

Cheers,
Brian
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,981
Threads: 956
Joined: May 2006
#4
2012-02-14, 03:28 AM
Sometimes when streaming to the NMT\MVP or via NEWA those shared aren't available to the local system account in the same way as they would be to a user This can be either permissions or simply that the Master Browser isn't reporting the SMB Name (requiring you to you use \\IP\share notion.

As a workaround I did write a small utility Sharehelper http://forums.nextpvr.com/showthread.php?t=43067 Alternatively you could run the NPVR Recording Service as a named user and use their permissions.

You might have these same troubles with the nDroid Service.

Martin
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,584
Threads: 384
Joined: Dec 2004
#5
2012-02-14, 03:43 AM
mvallevand Wrote:As a workaround I did write a small utility Sharehelper http://forums.nextpvr.com/showthread.php?t=43067
Thanks, I'll take a look.

Quote:You might have these same troubles with the nDroid Service.
How did you guess what I was thinking about? Wink

Early days yet but I can now walk my Music and Videos folder trees with the current dev version of nDroid (blisteringly fast using JSON) and stream the content. It suddenly occurred to me that SMB shares might throw a spanner in the works.

I'll set up some shares on my wife's PC and add them to my media folders to see what happens.

Cheers,
Brian
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#6
2012-02-14, 08:11 AM
bgowland Wrote:Early days yet but I can now walk my Music and Videos folder trees with the current dev version of nDroid (blisteringly fast using JSON)

Do tell Smile

Iain
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,584
Threads: 384
Joined: Dec 2004
#7
2012-02-14, 03:25 PM
imilne Wrote:Do tell Smile

Iain
Not much to tell really.

I decided against compiling a full list of the media folders and just request one level at a time similar to the npvr Music and Video plugins.

The nDroid app makes an HTTP request for D:\Music\<some-folder> (for example) and I use Directory.GetDirectories (and .GetFiles) with SearchOption.TopDirectoryOnly at the nDroid Service end. The returned lists are parsed into a JSON object (using a JSON .NET library called NewtonSoft.Json) which is sent by return.

The nDroid app extracts the JSON object and updates the list on the screen. The update takes less time than it does for me to move my finger away from the screen - nice. Smile

Cheers,
Brian
imilne
Offline

Posting Freak

Posts: 2,423
Threads: 135
Joined: Feb 2008
#8
2012-02-15, 09:31 AM
Ok, no worries. I was just intrigued by the 'blisteringly fast' comment and thought maybe you'd come up with an even-faster method for returning results over the network.

Iain
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,584
Threads: 384
Joined: Dec 2004
#9
2012-02-15, 02:50 PM
imilne Wrote:Ok, no worries. I was just intrigued by the 'blisteringly fast' comment and thought maybe you'd come up with an even-faster method for returning results over the network.
Well only in the sense that JSON seems to be regarded as a very efficient way of transferring data in pseudo object form with minimal code. Bearing in mind I'm returning arrays of folder names/paths and media file names/paths which have to be reconstructed at the other end, it really is quite simple and efficient. I only just started using it a few days ago but I'm hooked. Smile

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  Recording to a network drive woes. 2leftfeet 12 7,220 2022-04-05, 08:03 PM
Last Post: mvallevand
  Network Recording shares Mike S 0 897 2019-10-08, 04:02 PM
Last Post: Mike S
  log files for streaming outside network MaxOne72 9 2,622 2019-07-26, 05:32 AM
Last Post: persim
  streaming outside network MaxOne72 3 1,457 2019-07-24, 12:54 AM
Last Post: mvallevand
  Live TV constant lag outside of home network terabitz 4 1,506 2019-05-26, 04:53 PM
Last Post: terabitz
  Strange playback from network drive Reddwarf 0 980 2019-05-24, 06:07 PM
Last Post: Reddwarf
  Changing channel over network TiVo MaxOne72 1 1,073 2019-04-14, 06:38 PM
Last Post: mvallevand
  Random video folders in recording directory Buds0510 2 1,098 2018-12-24, 07:19 PM
Last Post: Buds0510
  multiple recording paths Brucek2839 2 1,130 2018-11-21, 12:51 PM
Last Post: Brucek2839
  Changing Channels over network IanSpringfield 41 14,449 2018-09-30, 06:11 PM
Last Post: Len_Lekx

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

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

Linear Mode
Threaded Mode