Help - Search - Members - Calendar
Full Version: Rockbox art converter script
Hydrogenaudio Forums > Hosted Forums > foobar2000 > Uploads - (fb2k)
carmenm
Hi,

Being a foobar user, i use it to download album arts. But i am also a rockbox user and rockbox uses cover.bmp for arts and they are of much smaller size. All the software to download art doesnt have a feature to automatically create those cover.bmp. So i decided to create a script to do so.

either you launch this script without argument and it asks you to choose a directory. Then it will look in this directory and subdirectories for album arts, if the cover.bmp already exists it will do nothing, if it doesnt it will create it.

By default, the script looks for folder.jpg and create cover.bmp 100x100
But you can choose differently by using args artname and size (/size:75 for example)

Because of the arguments this script could be add to any application if the dev desires it

There is progress bar to let you know of the progress.

This script uses LEAD converter(in the archive) so it must be installed.

The only limitation of this script is that you need to have JSProgBr installed for it to work(in the archive, see the readme file of JSProgBr for installation)

Hope you ll like it


File removed by moderation because of multi-gigabyte bandwidth usage - please don't include installers of software that can be easily downloaded elsewhere.
shakey_snake
Schweet.

100% useful.
fwqhgads
This works awesomely!

Thanks!
hybridfan
This is a very useful plugin for rockbox users thanks smile.gif
lyte
verrry cool ty

*ack not letting me download ;(
mazy
another Rockbox user here (on iRiver H120), lovin' it
2Pacalypse
this is exactly what ive been looking for. Only prob is im getting an error:

Script: ......RockboxArtsUpdate.vbs
Line: 33
Char:2
Error: The system cannot find the path specified
Code: 80070003
Source: (null)

Could it be becuase my windows xp drive is mapped to "I:\"?
ilikedirtthe2nd
QUOTE(2Pacalypse @ Nov 2 2007, 00:09) *

this is exactly what ive been looking for. Only prob is im getting an error:

Script: ......RockboxArtsUpdate.vbs
Line: 33
Char:2
Error: The system cannot find the path specified
Code: 80070003
Source: (null)

Could it be becuase my windows xp drive is mapped to "I:\"?


you have to adjust the path to the JSProgBr.exe in the progbar.reg file - then run the reg and it should work
ilikedirtthe2nd
hi carmenm biggrin.gif

thanks for this fine script! i hope this gets implemented in rbutil...

now i miss one thing... the ability to adjust the output filename (i would like to create bmps of different size, e.g. cover.100x100.bmp and cover.140x140.bmp). could you add this maybe? smile.gif

have a nice day!
ilikedirt

EDIT: I modified the script myself and it seems to work. I more or less randomly changed things in the script 'til it worked wink.gif

In line 54 I replaced
CODE
cover.bmp
with
CODE
cover." & strSize & "x" & strSize & ".bmp


the output filename then is dependent on the size parameter. Output filenames will be e.g.
cover.100x100.bmp
carmenm
What you had could work but it could fail so i made a clean version with an outputname option.
ilikedirtthe2nd
QUOTE(carmenm @ Dec 27 2007, 09:56) *

What you had could work but it could fail so i made a clean version with an outputname option.


thanks for the update! a proper solution is always nicer smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.