Normal
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 OFFECHO Starting server - please wait...wakeup mac-adress (without - or :)SET NetShareName=\\servername\sharename:wartenwait 1IF NOT EXIST %NetShareName% GOTO wartennet use %NetShareName% /deletenet use Z: /deletenet use Z: \\servername\sharenameECHO Server ready - Starting MediaPortal...cd "C:\Programme\Team MediaPortal\MediaPortal\"start MediaPortal.exeexit[/CODE]and sleep.bat[CODE]taskkill /im MediaPortal.exenet 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
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
taskkill /im MediaPortal.exe
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