0Media Center Master Logo更先进的后期处理MCM

I’ve been look­ing to fur­ther tweak the Media Cen­ter Mas­ter post-pro­cessing script I’ve pre­vi­ously writ­ten about — par­tially to fix a few new files that were being incor­rectly detec­ted by Stark Cov­ers, and also to build in some auto­mat­ic image res­iz­ing which, as I’ve pre­vi­ously detailed, helps to improve the per­form­ance of Media Browser.


Below is a new script which uses the free ImageMa­gick to res­ize images after pro­cessing them with stark cov­ers

C:
CDProgram Files (x86)Media Center MasterStarkCovers.10.28.2009
IF "%2" == "BD" goto bd
IF "%2" == "HDDV" goto bd
IF "%2" == "DVD" goto bd
IF "%2" == "mkv" goto bd
IF "%2" == "generic" goto generic
IF "%2" == "DivX" goto sd
IF "%2" == "Mpeg" goto sd
start "" /WAIT /I /SEPARATE StarkCovers.exe %1 -codec -revertjpg 3d2
goto end
:bd
start "" /WAIT /I /SEPARATE StarkCovers.exe %1 3d3%2 -revertjpg
goto end
:sd
start "" /WAIT /I /SEPARATE StarkCovers.exe %1 3d2%2 -revertjpg
goto end
:generic
for /f "tokens=1,2 delims=." %%a in (%3) do set mtype=%%b
for /f "tokens=1,2 delims= " %%a in (%3) do set ftype=%%a
if "%ftype%" == "Z:VideosHD" goto generichd
start "" /WAIT /I /SEPARATE StarkCovers.exe %1 3d2%mtype% -revertjpg
goto end
:generichd
start "" /WAIT /I /SEPARATE StarkCovers.exe %1 3d3%mtype% -revertjpg
:end
z:
cd %1"c:program filesimagemagick-6.6.4-Q16convert.exe" folder.png -resize 400 folder.png

有你自己的一些想法? 下面放纵自己通过评论! 如果您想订阅,请使用菜单上的订阅链接右上方. 您还可以通过使用下面的链接社会分享这与你的朋友. 干杯.

发表评论