Reply to thread

Hi,

I have improved this a little bit on the client-side:

First you need to install "hibernate trigger" (can be easily found with google)

then put wakeup.exe and the wait.exe into C:\windows (C:\WINXP etc)


Then make two .bat -files in C:\ :

wake.bat

[CODE]

@ECHO OFF

ECHO Starting server - please wait...

wakeup mac-adress (without - or :)

SET NetShareName=\\servername\sharename

:warten

wait 1

IF NOT EXIST %NetShareName% GOTO warten

net use %NetShareName% /delete

net use Z: /delete

net use Z: \\servername\sharename

ECHO Server ready - Starting MediaPortal...

cd "C:\Programme\Team MediaPortal\MediaPortal\"

start MediaPortal.exe

exit

[/CODE]

and sleep.bat

[CODE]

taskkill /im MediaPortal.exe

net use Z: /delete

[/CODE]


Put the paths in hibernate trigger and a link to the wake.bat in the auto-start-menu.


Now you have a much faster access (in general, not at the startup)  to the files stored in the server directory, because they are connected as a network device (Z:\).


IMPORTANT: Do not start MP when the server is off (can cause crashes), so always start it via the wake.bat (if you like, you can link it to the desktop).


Greetz Marc


Top Bottom