Skip to main content

Topic: Walmart cover downloader with previews (Read 17600 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
I had just installed visual studio 2005, and wanted to try out this new "C#" thing which seems to be all the rage at the moment... And found it to be incredibly productive, I came up with this little app in no time at all.

How to use it: Either run it directly, or use it with commandline arguments, ie. from foo_openwith. My foo_openwith string is:
Code: [Select]
"[%artist%]" "[%album%]" "$replace(%_path%,\%_filename_ext%,)\folder.jpg"


When the thumbnails appear, click once on the thumbnail to download a 500x500 jpg to the specified location. Its multithreaded so you can start another search while the cover downloads.

Edit: Forgot to mention, you'll need .NET 2.0 (get it from Windows Update)
Hmm, something wrong with the .zip that time, download it again.

Update: Looks and works nicer now. If no file is set a Save dialog will pop up when you click on the art of your choice.
The first item shown is the current art, if found (so you can decide if other art is better)

Update again: Simply "More better" (various usability improvements).

And again..., see below

Another update, adding the stuff people wanted below.


Screenshot: [ Specified attachment is not available ]

  • Last Edit: 19 January, 2006, 04:14:45 PM by david_dl

  • Tri
  • [*][*][*]
Walmart cover downloader with previews
Reply #1
I always get an error, no matter what I searched for.
Always defragment your MP3s to avoid subtle lack in harmonics.

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #2
Quote
I always get an error, no matter what I searched for.
[a href="index.php?act=findpost&pid=352447"][{POST_SNAPBACK}][/a]


My bad, I originally uploaded the wrong version, I thought I could sneakily switch it before noone noticed, you must have got it within a few minutes of my original post. 
Download it again.
(If the error persists, I'm thinking maybe its a country specific variation in walmart.com?)

  • Tri
  • [*][*][*]
Walmart cover downloader with previews
Reply #3
Great, it works very well now! Thank you!

Some suggestions: A browse button for the target file; a linebreak for many thumbnails.
Always defragment your MP3s to avoid subtle lack in harmonics.

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #4
Quote
Some suggestions: A browse button for the target file; a linebreak for many thumbnails.
[a href="index.php?act=findpost&pid=352522"][{POST_SNAPBACK}][/a]


Good idea, i've updated it.

  • gfngfgf
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #5
This is an awesome little tool.  I love the fact that it integrates so well with foobar2000 (using foo_openwith).  I'll definitely be using this a lot.  Thank you.

Walmart cover downloader with previews
Reply #6
I am working on something similar for Amazon covers: http://www.maresweb.de/forums/index.php?s=...=findpost&p=263

david_dl, any plans for making this open source?

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #7
Quote
I am working on something similar for Amazon covers: http://www.maresweb.de/forums/index.php?s=...=findpost&p=263

david_dl, any plans for making this open source?
[a href="index.php?act=findpost&pid=352605"][{POST_SNAPBACK}][/a]


Hmm, the source is really not something I'm too proud of. This was really just something I just threw together yesterday evening when I didn't feel like sleeping , mostly to try and get a feel for C# (I've never used it before, which contributes to the code being a mess), and also because I was dissatisfied with other cover art programs (I can't stand apps that block/freeze up the GUI when they are doing stuff).
If you still want the code, I can email it to you or something. The actual walmart specific  part is very small and simple, I just grab the pages from walmart.com and search through them for the infomation I need.

Walmart cover downloader with previews
Reply #8
Quote
If you still want the code, I can email it to you or something. The actual walmart specific  part is very small and simple, I just grab the pages from walmart.com and search through them for the infomation I need.
[a href="index.php?act=findpost&pid=352610"][{POST_SNAPBACK}][/a]


Would be cool, thanks.


  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #9
Quote
Quote
If you still want the code, I can email it to you or something. The actual walmart specific  part is very small and simple, I just grab the pages from walmart.com and search through them for the infomation I need.
[a href="index.php?act=findpost&pid=352610"][{POST_SNAPBACK}][/a]


Would be cool, thanks.


[a href="index.php?act=findpost&pid=352613"][{POST_SNAPBACK}][/a]


Sent

Walmart cover downloader with previews
Reply #10
Thanks! Didn't look at the source code yet - are you using a ListView for the thumbnails or are you drawing the images?

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #11
Quote
Thanks! Didn't look at the source code yet - are you using a ListView for the thumbnails or are you drawing the images?
[a href="index.php?act=findpost&pid=352630"][{POST_SNAPBACK}][/a]


Just drawing them. Sorry, I didn't give you the GUI source, I didn't realise that was what you were interested in.

  • jasnic02
  • [*][*]
  • Members (Donating)
Walmart cover downloader with previews
Reply #12
david_dl  --  I would be very interested in having a look at your source as well, if that's a possibility.  I'd like to do something more command line oriented.  I have written one that works with Amazon but I'd like to include a Walmart search also, grabbing the largest image between the two sites.  Thanks!

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #13
Quote
david_dl   --   I would be very interested in having a look at your source as well, if that's a possibility.  I'd like to do something more command line oriented.  I have written one that works with Amazon but I'd like to include a Walmart search also, grabbing the largest image between the two sites.  Thanks!
[a href="index.php?act=findpost&pid=352719"][{POST_SNAPBACK}][/a]


I can email it to you, if you give me your email address. I probably wont recieve forum PMs because my ISP's email addresses are banned here, so send your address to daviddl[a]orcon.net.nz

  • kalmark
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #14
It's just an outsider's opinion, but it would be great if you (Sebastian, David, jasnic02) could incorporate all these separate development efforts into one program - that would make the life of users easier
Life is Real...
(But not in audio :) )

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #15
Quote
It's just an outsider's opinion, but it would be great if you (Sebastian, David, jasnic02) could incorporate all these separate development efforts into one program - that would make the life of users easier
[a href="index.php?act=findpost&pid=352780"][{POST_SNAPBACK}][/a]


Hehehe, good idea. We all use different languages though, we would need to choose the best. As I said earlier, my intentions here are to learn/try out C#, so I'm thinking of creating a plugin system for mine, which should be able to cooperate with code written in any of the .NET languages. Its not really necessary, but it would be a good use for the .NET platform.

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #16
Quote
Quote
It's just an outsider's opinion, but it would be great if you (Sebastian, David, jasnic02) could incorporate all these separate development efforts into one program - that would make the life of users easier
[a href="index.php?act=findpost&pid=352780"][{POST_SNAPBACK}][/a]


Hehehe, good idea. We all use different languages though, we would need to choose the best. As I said earlier, my intentions here are to learn/try out C#, so I'm thinking of creating a plugin system for mine, which should be able to cooperate with code written in any of the .NET languages. Its not really necessary, but it would be a good use for the .NET platform.
[a href="index.php?act=findpost&pid=352783"][{POST_SNAPBACK}][/a]


Edit: Hmm, to quote Mr. Simpson, "Can't someone else do it"? 
Attached is my sourcecode complete in all its hideous messy glory.

Edit again 5 seconds later: Whoa, that source had some extra features not in the version above. I've updated the binary version in the first code to reflect this code here.
  • Last Edit: 19 January, 2006, 06:50:59 AM by david_dl

Walmart cover downloader with previews
Reply #17
Quote
We all use different languages though, we would need to choose the best.
[a href="index.php?act=findpost&pid=352783"][{POST_SNAPBACK}][/a]


Definitely not my VB:

  • jett
  • [*]
Walmart cover downloader with previews
Reply #18
having some problems with .net framework
i tried installing the one from windows update :
Microsoft .NET Framework 2.0: x86 (KB829019)

however, the install failed..

i then tried downloading an install version of it
however, when i ran your pgrm it said i needed .net framework 2.0.507575 [or something similar]

so i uninstalled that and

later, i tried installing an older version [NetFx64] and got [during installation]:
Code: [Select]
Error creating process <C:\DOCUMENTS...\Temp\IXP000.TMP/Install.exe>. Reason: C:\WINDOWS\system32\advpack.dll



help please?
thanks a lot


edit:fixed
  • Last Edit: 09 January, 2006, 07:36:35 PM by jett

  • Habla
  • [*][*]
Walmart cover downloader with previews
Reply #19
Works great, thanks!

  • Gabes Dad
  • [*]
Walmart cover downloader with previews
Reply #20
I realize this program is so far detailed as working with foobar, but does anyone know of a way to get this to work with winamp?

Thanks.

  • emfletcher
  • [*]
Walmart cover downloader with previews
Reply #21
It would be nice if you added the image size under each thumbnail so you can tell if the cover you are replacing is bigger or smaller than the new downloaded one.

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #22
Quote
It would be nice if you added the image size under each thumbnail so you can tell if the cover you are replacing is bigger or smaller than the new downloaded one.
[a href="index.php?act=findpost&pid=358113"][{POST_SNAPBACK}][/a]


Try it now. Btw all the walmart images are 500x500, but its useful to see the size of the existing image.

  • emfletcher
  • [*]
Walmart cover downloader with previews
Reply #23
Quote
Quote
It would be nice if you added the image size under each thumbnail so you can tell if the cover you are replacing is bigger or smaller than the new downloaded one.
[a href="index.php?act=findpost&pid=358113"][{POST_SNAPBACK}][/a]


Try it now. Btw all the walmart images are 500x500, but its useful to see the size of the existing image.
[a href="index.php?act=findpost&pid=358374"][{POST_SNAPBACK}][/a]


That was fast!  It works great.  Thanks.  Have you ever considered making it a standalone program that shows all albums in a folder and lets you find covers for it.  I am still looking for a program that will find all albums with covers under a certain size so I can replace them with wal-marts 500x500 covers.

  • david_dl
  • [*][*][*][*][*]
Walmart cover downloader with previews
Reply #24
Quote
That was fast!

That's the beauty of C#

Quote
Have you ever considered making it a standalone program that shows all albums in a folder and lets you find covers for it. I am still looking for a program that will find all albums with covers under a certain size so I can replace them with wal-marts 500x500 covers.


I might do this at some time, it certainly would not take long to implement. I've seen a few programs that do this, but generally they don't work/download poor quality covers.
If I have time, at some stage I will think of a good way to do this, maintaining foobar integration, and possibly providing support for other covers sites.