home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Reduce storage size of 'thumbs' folder (MovPic + TVSeries)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="heaso1" data-source="post: 601150" data-attributes="member: 78958"><p>After a lot of swearing I finally got the batch file to run.</p><p> </p><p>I'm running XP pro and had the "Can't create file" error.</p><p></p><p>I followed Trythisone's advice and amended the nconvert calls from:</p><p></p><p>nconvert.exe -quiet -out jpeg -ratio -resize 0 1080 -q 85 -rmeta -rflag decr -opthuff "%TMP%\MovPic.png" > nul</p><p></p><p>to</p><p></p><p>nconvert.exe -quiet -out jpeg -ratio -resize 0 1080 -q 85 -rmeta -rflag decr -opthuff -o "%TMP%\MovPic1.png" "%TMP%\MovPic.png" > nul</p><p>Move /y "%TMP%\MovPic1.png" "%TMP%\MovPic.png"</p><p></p><p>Notice I had to add a /y to the Move command.</p><p></p><p>Also, where the copy command is used to copy the newly shrunken file back to it's original directory, I had to alter the extension from:</p><p></p><p>copy "%TMP%\MovPic.jpg" "%%i" > nul</p><p></p><p>to</p><p></p><p>copy "%TMP%\MovPic.png" "%%i" > nul</p><p></p><p>Here's the finished product in case anyone wants to try it. After download, just rename the .txt to .cmd (and obviously put it in the same directory as the previously downloaded nconvert.exe file).</p><p></p><p>Big thanks to Rochess for doing the hard work. I couldn't write a batch file to save my life! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite1" alt=":)" title="Smile :)" loading="lazy" data-shortname=":)" /> </p><p></p><p>[ATTACH]59396[/ATTACH]</p></blockquote><p></p>
[QUOTE="heaso1, post: 601150, member: 78958"] After a lot of swearing I finally got the batch file to run. I'm running XP pro and had the "Can't create file" error. I followed Trythisone's advice and amended the nconvert calls from: nconvert.exe -quiet -out jpeg -ratio -resize 0 1080 -q 85 -rmeta -rflag decr -opthuff "%TMP%\MovPic.png" > nul to nconvert.exe -quiet -out jpeg -ratio -resize 0 1080 -q 85 -rmeta -rflag decr -opthuff -o "%TMP%\MovPic1.png" "%TMP%\MovPic.png" > nul Move /y "%TMP%\MovPic1.png" "%TMP%\MovPic.png" Notice I had to add a /y to the Move command. Also, where the copy command is used to copy the newly shrunken file back to it's original directory, I had to alter the extension from: copy "%TMP%\MovPic.jpg" "%%i" > nul to copy "%TMP%\MovPic.png" "%%i" > nul Here's the finished product in case anyone wants to try it. After download, just rename the .txt to .cmd (and obviously put it in the same directory as the previously downloaded nconvert.exe file). Big thanks to Rochess for doing the hard work. I couldn't write a batch file to save my life! :) [ATTACH]59396.vB[/ATTACH] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Plugins
Popular Plugins
Moving Pictures
Reduce storage size of 'thumbs' folder (MovPic + TVSeries)
Contact us
RSS
Top
Bottom