HydrogenAudio

Hosted Forums => foobar2000 => Uploads - (fb2k) => Topic started by: carmenm on 2007-06-20 15:34:19

Title: Rockbox art converter script
Post by: carmenm on 2007-06-20 15:34:19
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.
Title: Rockbox art converter script
Post by: shakey_snake on 2007-06-20 16:27:19
Schweet.

100% useful.
Title: Rockbox art converter script
Post by: fwqhgads on 2007-10-24 07:15:29
This works awesomely!

Thanks!
Title: Rockbox art converter script
Post by: hybridfan on 2007-10-24 13:34:44
This is a very useful plugin for rockbox users thanks
Title: Rockbox art converter script
Post by: lyte on 2007-11-01 00:06:47
verrry cool ty

*ack not letting me download ;(
Title: Rockbox art converter script
Post by: mazy on 2007-11-01 19:10:55
another Rockbox user here (on iRiver H120), lovin' it
Title: Rockbox art converter script
Post by: 2Pacalypse on 2007-11-01 23:09:11
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:\"?
Title: Rockbox art converter script
Post by: ilikedirtthe2nd on 2007-12-26 03:29:02
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
Title: Rockbox art converter script
Post by: ilikedirtthe2nd on 2007-12-26 22:16:14
hi carmenm

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? 

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 

In line 54 I replaced
Code: [Select]
cover.bmp
with
Code: [Select]
cover." & strSize & "x" & strSize & ".bmp


the output filename then is dependent on the size parameter. Output filenames will be e.g.
cover.100x100.bmp
Title: Rockbox art converter script
Post by: carmenm on 2007-12-27 08:56:40
What you had could work but it could fail so i made a clean version with an outputname option.
Title: Rockbox art converter script
Post by: ilikedirtthe2nd on 2007-12-27 15:57:43
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
Title: Rockbox art converter script
Post by: nielsen522 on 2010-01-14 14:36:29
What you had could work but it could fail so i made a clean version with an outputname option.


Thank you. it is better than the last  I tried it and it's really a very great and helpful plugin. Works well.