From: <mic...@us...> - 2012-02-09 16:47:40
|
Revision: 4442 http://mp-plugins.svn.sourceforge.net/mp-plugins/?rev=4442&view=rev Author: michael-t Date: 2012-02-09 16:47:29 +0000 (Thu, 09 Feb 2012) Log Message: ----------- Removed Paths: ------------- trunk/plugins/PowerScheduler++/Test/CleanupFiles.bat trunk/plugins/PowerScheduler++/Test/CopyFiles.bat trunk/plugins/PowerScheduler++/Test/RestoreFiles.bat Deleted: trunk/plugins/PowerScheduler++/Test/CleanupFiles.bat =================================================================== --- trunk/plugins/PowerScheduler++/Test/CleanupFiles.bat 2012-02-09 16:46:42 UTC (rev 4441) +++ trunk/plugins/PowerScheduler++/Test/CleanupFiles.bat 2012-02-09 16:47:29 UTC (rev 4442) @@ -1,75 +0,0 @@ -@echo off -set PROJECTPATH=%~dp0 -if "%ProgramFiles(x86)%" == "" goto 32bit -set SERVERPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal -goto data -:32bit -set SERVERPATH=%ProgramFiles%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles%\Team MediaPortal\MediaPortal -:data -if "%ProgramData%" == "" goto winXP -set SERVERLOGPATH=%ProgramData%\Team MediaPortal\MediaPortal TV Server\log -goto count -:winXP -set SERVERLOGPATH=%ALLUSERSPROFILE%\Application Data\Team MediaPortal\MediaPortal TV Server\log - -:count -set COUNT=1 - -echo Stopping TV Server -echo --------------------- -:stop -echo trying... -net stop tvservice > nul 2>nul -tasklist | find /i "tvservice" >nul 2>nul -if not %ERRORLEVEL% == 1 ( - ping localhost >nul 2>nul - set /a COUNT=%COUNT%+1 - if %COUNT% GTR 5 goto end - goto stop -) -echo. - -echo MediaPortal TV Server -echo --------------------- -for %%f in (Plugins\PowerScheduler.dll) do ( - echo %%f - if exist "%SERVERPATH%\%%f.org" ( - del "%SERVERPATH%\%%f" - move /Y "%SERVERPATH%\%%f.org" "%SERVERPATH%\%%f" - ) 2>nul -) -echo. -echo MediaPortal Common Library -echo ---------------------------------- -for %%f in (PowerScheduler.Interfaces.dll) do ( - echo %%f - if exist "%SERVERPATH%\%%f.org" ( - del "%SERVERPATH%\%%f" - move /Y "%SERVERPATH%\%%f.org" "%SERVERPATH%\%%f" - ) 2>nul - if exist "%CLIENTPATH%\%%f.org" ( - del "%CLIENTPATH%\%%f" - move /Y "%CLIENTPATH%\%%f.org" "%CLIENTPATH%\%%f" - ) 2>nul -) -echo. -echo MediaPortal Client -echo ------------------ -for %%f in (plugins\process\PowerSchedulerClientPlugin.dll) do ( - echo %%f - if exist "%CLIENTPATH%\%%f.org" ( - del "%CLIENTPATH%\%%f" - move /Y "%CLIENTPATH%\%%f.org" "%CLIENTPATH%\%%f" - ) 2>nul -) -echo. -echo Cleanup -echo ------------------ -move /Y "%SERVERLOGPATH%\tv.log" "%SERVERLOGPATH%\tv_old.log" -net start tvservice -echo. -:end -pause -exit \ No newline at end of file Deleted: trunk/plugins/PowerScheduler++/Test/CopyFiles.bat =================================================================== --- trunk/plugins/PowerScheduler++/Test/CopyFiles.bat 2012-02-09 16:46:42 UTC (rev 4441) +++ trunk/plugins/PowerScheduler++/Test/CopyFiles.bat 2012-02-09 16:47:29 UTC (rev 4442) @@ -1,74 +0,0 @@ -@echo off -set PROJECTPATH=%~dp0 -if "%ProgramFiles(x86)%" == "" goto 32bit -set SERVERPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal -goto data -:32bit -set SERVERPATH=%ProgramFiles%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles%\Team MediaPortal\MediaPortal -:data -if "%ProgramData%" == "" goto winXP -set SERVERLOGPATH=%ProgramData%\Team MediaPortal\MediaPortal TV Server\log -goto count -:winXP -set SERVERLOGPATH=%ALLUSERSPROFILE%\Application Data\Team MediaPortal\MediaPortal TV Server\log - -:count -set COUNT=1 - -echo Stopping TV Server -echo --------------------- -:stop -echo trying... -net stop tvservice > nul 2>nul -tasklist | find /i "tvservice" >nul 2>nul -if not %ERRORLEVEL% == 1 ( - ping localhost >nul 2>nul - set /a COUNT=%COUNT%+1 - if %COUNT% GTR 5 goto end - goto stop -) -echo. -echo MediaPortal TV Server -echo --------------------- -for %%f in (Plugins\PowerScheduler.dll) do ( - echo %%f - if not exist "%SERVERPATH%\%%f.org" ( - ren "%SERVERPATH%\%%f" "%%~nxf.org" - ) 2>nul - copy "%PROJECTPATH%\TvEngine3\TVLibrary\Plugins\%%~nf\bin\Debug\%%~nxf" "%SERVERPATH%\%%~f" -) -echo. -echo MediaPortal Common Library -echo ---------------------------------- -for %%f in (PowerScheduler.Interfaces.dll) do ( - echo %%f - if not exist "%SERVERPATH%\%%f.org" ( - ren "%SERVERPATH%\%%f" "%%~nxf.org" - ) 2>nul - copy "%PROJECTPATH%\Common-MP-TVE3\%%~nf\bin\Debug\%%~nxf" "%SERVERPATH%\%%~f" - if not exist "%CLIENTPATH%\%%f.org" ( - ren "%CLIENTPATH%\%%f" "%%~nxf.org" - ) 2>nul - copy "%PROJECTPATH%\Common-MP-TVE3\%%~nf\bin\Debug\%%~nxf" "%CLIENTPATH%\%%~f" -) -echo. -echo MediaPortal Client -echo ------------------ -for %%f in (plugins\process\PowerSchedulerClientPlugin.dll) do ( - echo %%f - if not exist "%CLIENTPATH%\%%f.org" ( - ren "%CLIENTPATH%\%%f" "%%~nxf.org" - ) 2>nul - copy "%PROJECTPATH%\mediaportal\%%~nf\bin\Debug\%%~nxf" "%CLIENTPATH%\%%~f" -) -echo. -echo Cleanup -echo ------------------ -move /Y "%SERVERLOGPATH%\tv.log" "%SERVERLOGPATH%\tv_old.log" -move /Y "%SERVERLOGPATH%\error.log" "%SERVERLOGPATH%\error_old.log" -net start tvservice -echo. -:end -exit \ No newline at end of file Deleted: trunk/plugins/PowerScheduler++/Test/RestoreFiles.bat =================================================================== --- trunk/plugins/PowerScheduler++/Test/RestoreFiles.bat 2012-02-09 16:46:42 UTC (rev 4441) +++ trunk/plugins/PowerScheduler++/Test/RestoreFiles.bat 2012-02-09 16:47:29 UTC (rev 4442) @@ -1,74 +0,0 @@ -@echo off -set PROJECTPATH=%~dp0 -if "%ProgramFiles(x86)%" == "" goto 32bit -set SERVERPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles(x86)%\Team MediaPortal\MediaPortal -goto data -:32bit -set SERVERPATH=%ProgramFiles%\Team MediaPortal\MediaPortal TV Server -set CLIENTPATH=%ProgramFiles%\Team MediaPortal\MediaPortal -:data -if "%ProgramData%" == "" goto winXP -set SERVERLOGPATH=%ProgramData%\Team MediaPortal\MediaPortal TV Server\log -goto count -:winXP -set SERVERLOGPATH=%ALLUSERSPROFILE%\Application Data\Team MediaPortal\MediaPortal TV Server\log - -:count -set COUNT=1 - -echo Stopping TV Server -echo --------------------- -:stop -echo trying... -net stop tvservice > nul 2>nul -tasklist | find /i "tvservice" >nul 2>nul -if not %ERRORLEVEL% == 1 ( - ping localhost >nul 2>nul - set /a COUNT=%COUNT%+1 - if %COUNT% GTR 5 goto end - goto stop -) -echo. -echo MediaPortal TV Server -echo --------------------- -for %%f in (Plugins\PowerScheduler.dll) do ( - echo %%f - if exist "%SERVERPATH%\%%f.org" ( - del "%SERVERPATH%\%%f" - copy "%SERVERPATH%\%%f.org" "%SERVERPATH%\%%f" - ) 2>nul -) -echo. -echo MediaPortal Common Library -echo ---------------------------------- -for %%f in (PowerScheduler.Interfaces.dll) do ( - echo %%f - if exist "%SERVERPATH%\%%f.org" ( - del "%SERVERPATH%\%%f" - copy "%SERVERPATH%\%%f.org" "%SERVERPATH%\%%f" - ) 2>nul - if exist "%CLIENTPATH%\%%f.org" ( - del "%CLIENTPATH%\%%f" - copy "%CLIENTPATH%\%%f.org" "%CLIENTPATH%\%%f" - ) 2>nul -) -echo. -echo MediaPortal Client -echo ------------------ -for %%f in (plugins\process\PowerSchedulerClientPlugin.dll) do ( - echo %%f - if exist "%CLIENTPATH%\%%f.org" ( - del "%CLIENTPATH%\%%f" - copy "%CLIENTPATH%\%%f.org" "%CLIENTPATH%\%%f" - ) 2>nul -) -echo. -echo Cleanup -echo ------------------ -move /Y "%SERVERLOGPATH%\tv.log" "%SERVERLOGPATH%\tv_old.log" -net start tvservice -echo. -:end -pause -exit \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |