我一直在寻找进一步的调整 [intlink id=“75” type=“post”]Media Center Master后处理脚本[/intlink] 我之前曾写过–部分是为了修复Stark Covers错误检测到的一些新文件, 并建立一些自动图像调整大小, 如我先前所详述, 有助于 [intlink id=“74” type=“post”]改善媒体浏览器的性能[/intlink].
Below is a new script which uses the free ImageMagick to resize images after processing them with stark covers
[庆典]C:
CDProgram Files (86)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 ‑编解码器 ‑revertjpg 3d2
转到结束
:BD
start “” /WAIT /I /SEPARATE StarkCovers.exe %1 3d3%2 ‑revertjpg
转到结束
:sd
start “” /WAIT /I /SEPARATE StarkCovers.exe %1 3d2%2 ‑revertjpg
转到结束
: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
转到结束
:generichd
start “” /WAIT /I /SEPARATE StarkCovers.exe %1 3d3%mtype% ‑revertjpg
:结束
从:
cd %1“c:program filesimagemagick‑6.6.4‑Q16convert.exe” folder.png ‑resize 400 folder.png[/庆典]
“Hi James I realise it has been a long while, but I just checked this on windows 11 (build 23H2)…”