Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: CoverDownloader (Read 332646 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

CoverDownloader

Reply #225
thanks @IngoG

its working fine for me, too. Well, I'm also from Germany but that shouldnt make a difference

CoverDownloader

Reply #226
Everytime I try to use the latest version the .NET debugger pops up with "System.IO.DirectoryNotFoundException".

CoverDownloader

Reply #227
thanks @IngoG

its working fine for me, too. Well, I'm also from Germany but that shouldnt make a difference


Just FYI : As i played with my moddified script i realize that it throws out to much Images. Because i don´t like small Images i build in a filter. If you wan´t also to do this follow this.

Code: [Select]
Find this line -> name = name.Remove(name.IndexOf("Pixel"))

Insert the next 2 lines

FirstVal = name.Remove(name.IndexOf(" "))
if int.Parse(FirstVal) > 200:

Just for checking. The next line must be : -> coverart.AddThumb("http://images.google.de/images?q=tbn:"+result.Groups[3].Value+result.Groups[4].Value,name,0,0,result.Groups[4].Value)

CoverDownloader

Reply #228
It seems in my setup Google is not working anymore.
Does anybody else have the same problem? And does someone maybe have a solution?
Also Itunes is working from time to time?!?

Perhaps this could be the answer ... It works fine for me in Germany. Doesn´t know whats with other countries. It was only changing some Adresses.

Code: [Select]
namespace CoverSources
...
Thank you for making the script. Unfortunately I could not get it to work.
When I add the script the program give the following error report:
Code: [Select]
Searching for scripts...
Found 7 files, [0 - itunes.boo, 1 - amazon.boo, 2 - google.boo, 3 - walmart.boo, 4 - coverparadies.boo, 5 - coverisland.boo, util.boo]...
Loading references; [ICSharpCode.SharpZipLib.dll, System.Windows.Forms, System.Web, System.Windows.Forms, System.Web]...
Compiling...
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(1,2) - unexpected char: 0xBB.
Error: Failed.
Any idea whats wrong?

<update>
I found out that the  in front of namespace was the thing that was wrong. After removing them it worked.
But I know have a new problem, when I add the two new lines you explain in the post above this. When I add them the program outputs the following error report.
Code: [Select]
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(29,57) - Unexpected token: <INDENT>.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(29,49) - Unexpected token: FirstVal.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(30,77) - Unexpected token: :.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(31,33) - Unexpected token: <EOL>.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(33,29) - Unexpected token: <DEDENT>.
Error: Failed.
Somebody knows how to solve this?

CoverDownloader

Reply #229
I was able to get it working from the REACT 2 install at home but I'm wondering is there a way to bring back the image size that was displayed in the older versions?

@david_dl: Please fix your foo_run command line in the first post as it gives the wrong executable. Thanks.

CoverDownloader

Reply #230
Hello, 

Are there anybody who is interested in working on international(Korean) music cover site?

I'd worked on www.yes24.com using regex to use it xlobby htpc frontend but, these days it doesn't work any more.

here's some information regarding the site.

yes24 is famous online shopping mall similar to Amazon in Korea.
url : http://www.yes24.com/searchCenter/searchRe...9%DD&query=
test word to enter in the search tab : big mama (one of the famus female vocal group). You can add the word at the end of above url and search for it.

The first result when you enter 'big mama' will show you purple coverart. And I want the large one which is shown when I clicked the small picture.


One more question.
Do you have any plans to improve your program to search movie posters, too? I also had difficulies in obtaining some movie posters. This covers are necessary item to run a HTPC frontend.

Thanks,
Freebits

CoverDownloader

Reply #231
Meh, it's another slow site, at least for me. Perhaps it is faster from Korea.

Anyway, here's the script for it: yes24.boo

Enjoy!

CoverDownloader

Reply #232
....
<update>
I found out that the  in front of namespace was the thing that was wrong. After removing them it worked.
But I know have a new problem, when I add the two new lines you explain in the post above this. When I add them the program outputs the following error report.
Code: [Select]
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(29,57) - Unexpected token: <INDENT>.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(29,49) - Unexpected token: FirstVal.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(30,77) - Unexpected token: :.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(31,33) - Unexpected token: <EOL>.
Error: C:\Program Files\foobar2000\utilities\coverdownloader\scripts\2 - google.boo(33,29) - Unexpected token: <DEDENT>.
Error: Failed.
Somebody knows how to solve this?

I thik this is a country-specific Problem. Perhaps the return from other sites than germany differs. You have to check the returned HTML-Page.  I worked it out with a tool mentioned earlier in this Post called "Expresso". With this tool you can test Regular Expressions.

Regards

IngoG

I was able to get it working from the REACT 2 install at home but I'm wondering is there a way to bring back the image size that was displayed in the older versions?

@david_dl: Please fix your foo_run command line in the first post as it gives the wrong executable. Thanks.

What do you mean with bringing back the image size. The older Versions are unknown for me. In the actual Version there isn´t a Image Size. A way to show it is to edit the script. Google for example delivers the Image Size in the returned HTML so you can implement it via the script.

Code: [Select]
                        name = result.Groups[10].Value
                        name = name.Remove(name.IndexOf("Pixel"))

I also checked the sourcecode for implementing this feature, but it didn´t worked the way i want !

Regards

IngoG

CoverDownloader

Reply #233
Meh, it's another slow site, at least for me. Perhaps it is faster from Korea.

Anyway, here's the script for it: yes24.boo

Enjoy!


oh!! You are the man!!!!

Thanks alot, AlexVallat.

Can you examine your script more if it support unicode, ie. inputting Korean?

It successfully retrieves all the English album name, etc. but, it can't find any Korean artist name, titles at all.

Is this the limitation of coverdownloader or is it only script issue?

Thanks in advance,

Freebits


CoverDownloader

Reply #235
What do you mean with bringing back the image size. The older Versions are unknown for me. In the actual Version there isn´t a Image Size. A way to show it is to edit the script. Google for example delivers the Image Size in the returned HTML so you can implement it via the script.

Code: [Select]
                        name = result.Groups[10].Value
                        name = name.Remove(name.IndexOf("Pixel"))


I also checked the sourcecode for implementing this feature, but it didn´t worked the way i want !

Regards

IngoG

If you look at the download for REACT 1, that version showed the image size (usually 500x500) at the bottom of each image. This is pretty useful when looking at images from several sources to determine which size is best.

CoverDownloader

Reply #236
Quote
If you look at the download for REACT 1, that version showed the image size (usually 500x500) at the bottom of each image. This is pretty useful when looking at images from several sources to determine which size is best.


The Problem with the Coversizes is, that you only know the size of the cover when you make a preview. That would slow down the process if you have a lot of covers to search. When you look at my googlescript for germany than you will see that it prints the size below the images out of the script. This is possible because Google delivers the size in the returned HTML. So you only have to change the script for getting the sizes.

IngoG

CoverDownloader

Reply #237
Have you tried a script for CDUniverse. I often return 450x450 jpg album art when doing a run from foobar with the following code:

http://www.cduniverse.com/sresult.asp?HT_S...replace(%album%, ,+)&x=0&y=0&opt1=2&sourceid="Mozilla-search"

I don't know if this would work, but it would be nice if there was a boo script for this website.

Thanks
yamou

New Version (Experimental):
Here's a new version I've been working on. For this you'll require .NET framework 2.0 installed.

Please report any bugs/glitches.

Latest version (Supports iTMS)
Download: [attachment=2550:attachment]
Source (GPL): [attachment=2548:attachment]

If you create anything useful with the source, it would be a good idea to upload it here for everyone to benefit. Note that I probably won't be updating this project again, except maybe to add scripts.
The license requires that you include full sourcecode with any modified version distributed.
It's messy code, and the first and only time I've used C#, so I hope it's of use to someone.

Included site scripts:
  • Walmart.com
  • Buy.com
  • Amazon.com
  • RateYourMusic.com
  • iTunes Music Store
Screenshot:


---------Old Version-----------

This version uses Python scripts to specify sources for cover art. Look in the CoverSources\Scripts folder for more details. Walmart.py is a good template if you wish to write your own (Amazon.py is a mess)

The commandline syntax is quite simple, just coverart.exe <Artist> <Album> <File to save to>
The second two parameters are optional, if a path is not specified it will prompt you with a Save As dialog.

You shouldn't require any VC8 runtimes; it's linked statically.

Extract the entire archive into one folder, there is no need to unzip or do anything with Python24.zip, this is the library for the built-in interpreter and can be read from the zip file.

Note: The scripts in this download file are NOT up to date. Use the scripts attached to this post. Put them in coversources\scripts
Download links:
Download here
Download source here

Updated Scripts for Rate Your Music and Amazon are attached (these are recommended over the ones included in the download archive, for example the Amazon script no longer returns results that don't have valid thumbnails)

Commandline for foo_run:
Code: [Select]
"C:\Program Files\foobar2000\coverart\coverart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)folder.jpg"

Screenshot:

[/s]

CoverDownloader

Reply #238
I'm getting a lot of 1x1 pixel images (I think from Amazon) even though a larger image is displayed in the results. For example, Garth Brooks - The Hits. The Amazon US has one image and the German site has 2 but only one previews "correctly. Does anyone know how to fix this?

CoverDownloader

Reply #239
I've been trying to figure out the 1st post to see where the newest version is, but couldn't figure it out.
Could you possibly clean out the extra download links and deleted info about prev. versions, and just leace the newest download version?

(I'm using the version from September 23.

CoverDownloader

Reply #240
I've been trying to figure out the 1st post to see where the newest version is, but couldn't figure it out.
Could you possibly clean out the extra download links and deleted info about prev. versions, and just leace the newest download version?

(I'm using the version from September 23.

That post could use a bit of clean up. In the meantime, the dowload is the 5th line in the post.

CoverDownloader

Reply #241
is it possible to add self-script for other websites

CoverDownloader

Reply #242
hi,

just two questions about this amazing piece of software. i scanned the thread completely, but i didn't find the answers.

1) maybe i'm too stupid, but i never get the preview screen that gives you the resolution of pics (like in the screenshot in the first post). all i can see is the browser / queue / cover window... (EDIT: in older versions only, maybe the screenshot could be updated?)

2) what is the browser window for? when i hit the refresh button, all i get is an error message (see attachment). (EDIT: foo_comserver needed EDIT2: installed, still the same problem)

thanks for your help!

fooruncle

CoverDownloader

Reply #243
browser lets you browse your albums (i.e. albums in your foobar's database), indicate which have missing covers and then search covers for them (= put in the queue). you can select just albums you wish or all without album art (folder.jpg).

CoverDownloader

Reply #244
browser lets you browse your albums (i.e. albums in your foobar's database), indicate which have missing covers and then search covers for them (= put in the queue). you can select just albums you wish or all without album art (folder.jpg).


thanks for the information!
can anyone help me with the problem described to posts above?


frncle

CoverDownloader

Reply #245
I have a problem. After I'm done with CoverDownloader and I try to close it, it takes a REALLY long time to close while it says "Waiting for threads..." in the status bar.

EDIT: Could someone please make a script for http://www.coveralia.com/ ? It seems like they have some good covers.

CoverDownloader

Reply #246
Alex the scripter strikes again!

Coveralia.boo

Seems like a good site, this one, nice and fast, high res covers, and handy small thumbnails.

Alex

CoverDownloader

Reply #247
How do I use it with foobar2000 (current album) or I need to type artist/album?
The one in the first post is the latest version?

Thx in adv.
-foobar2000 + Burrrn + EAC
-HD 80Gb using High QualityVBR MP3s

CoverDownloader

Reply #248
You need foo_run, this is the code for it:
Code: [Select]
"D:\Installed\foobar2000\coverart\albumart.exe" "%artist%" "%album%" "$replace(%_path%,%_filename_ext%,)cover.jpg"

*Note: change the dir, else it will give you error.

CoverDownloader

Reply #249
Thanks dude
-foobar2000 + Burrrn + EAC
-HD 80Gb using High QualityVBR MP3s