MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Get Support » General Support


General Support Post problems you have when using MediaPortal, or pre installation questions in here.

Reply
 
Thread Tools Display Modes
Old 2007-10-24, 18:10   #1 (permalink)
Portal Member
 
Join Date: Jan 2006
Posts: 35
Thanks: 3
Thanked 16 Times in 4 Posts


Thumbs up TIP: Using Mapped network Drives in MP

Why use Mapped network drives over a UNC path ( \\<servername>\<sharename>\<directory> )?
It decreases access time.

Especially if you set your Fileserver never to disconnect the client. ( net config server /autodisconnect:-1 more info: http://support.microsoft.com/kb/297684 )

However Windows is crap even if you set your networkdrives to reconnect after reboot they will very likely not work in mediaportal after a reboot.
A solution for this is to use the following code and put it in a .bat (batch) file and place the batch file in your startup folder (start/all programs/startup).
You can add as many networkdrives as you want.

Code:
 @echo off
net use Z: /d 2>NUL 1>Nul
C:\wait.exe 6
net use Z: "\\Fileserver\Mp3 Collection" /persistent:yes 1>NUL 
end
The 2>NUL & 1>NUL incombination with @echo off completely hide the commands being executed and the output they create.
wait.exe can be easily found on the net (use google). It's to slow down the mounting of the drives by a few seconds. So that windows has enough time to load the network stuff.

I hope this is helpful to some.

Last edited by infy; 2007-10-24 at 18:28.
infy is offline   Reply With Quote
Old 2007-11-12, 21:41   #2 (permalink)
Portal Member
 
Join Date: Apr 2006
Posts: 70
Thanks: 3
Thanked 0 Times in 0 Posts


Default

UNC Paths used to work but since I changed to 2.3 RC3 it's really slow to build a list containing UNC paths. The mapped drives is fine as long as all networked PC's are on when your MP PC starts up.
__________________
Greg Steele
GSteele is offline   Reply With Quote
Old 2007-11-15, 03:54   #3 (permalink)
Portal Member
 
Join Date: Dec 2006
Age: 27
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts

Country:


Default

Thanks, this helped me heaps.
automated is offline   Reply With Quote
Reply

Bookmarks

Tags
drives, mapped, network, tip

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Streaming AVI based video from Network drives or shares gato38 General Support 2 2006-08-25 05:04
Using MediaPortal to read from network drives, play w VLC Rosewood General Support 5 2006-06-20 15:32
Loosing access to mapped network drive in mp Peder General Support 9 2006-04-13 22:36
Content from Shared Network Drives doesn't appear smnnekho The old Bugreport Forum 0 2006-03-26 12:10
wanna write a plugin that reconnects network drives mikey79 Plugins 8 2005-10-06 17:54


All times are GMT +1. The time now is 05:40.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress
Advertisement System V2.6 By   Branden