Awesome application. Very useful.
2 Questions:
1) Any loose projections on when a Server/Client database setup will be incorporated (officially)? This seems to be the single biggest enhancement needed by the community (a very grateful community, I should add). Release 2 - I know, but when do you think that will be?
2) In implementing an unofficial approach where we "copy the Server dB to Client dB folders", has anyone found a way to successfully update the client dB when the client's MP is minimized to tray rather than closed each time? I minimize MP to tray to save on boot up time when users want to watch media. But this results in Moving Pics dB changes not being adopted until the client's MP is completely shut down and restarted. This presents a notable problem for me in keeping dBs syncronized.
Thank you in advance for any responses.
mashenden
@Echo Off
REM Close MediaPortal in a nice way first
tasklist | find /i /c "MediaPortal.exe" &&taskkill /im "MediaPortal.exe" /t
REM Add in a 30 second delay to allow MediaPortal to close itself
ping 1.0 -n 1 -w 30000
REM If MediaPortal did not close nicely then it will have to be forced (this could lead to corruption in rare situations)
tasklist | find /i /c "MediaPortal.exe" &&goto KillForced
goto EndBat
:KillForced
REM You could ask an "Are you sure" question to soften the impact and allow an abort
REM For RDP use, this forced method will always be needed
taskkill /f /im "MediaPortal.exe" /t
:EndBat
For #2, you can use a batch file to verify if MediaPortal is still running, and if it is, to close it.
Code:@Echo Off REM Close MediaPortal in a nice way first tasklist | find /i /c "MediaPortal.exe" &&taskkill /im "MediaPortal.exe" /t REM Add in a 30 second delay to allow MediaPortal to close itself ping 1.0 -n 1 -w 30000 REM If MediaPortal did not close nicely then it will have to be forced (this could lead to corruption in rare situations) tasklist | find /i /c "MediaPortal.exe" &&goto KillForced goto EndBat :KillForced REM You could ask an "Are you sure" question to soften the impact and allow an abort REM For RDP use, this forced method will always be needed taskkill /f /im "MediaPortal.exe" /t :EndBat