IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Walmart cover downloader with previews, because the python one no longer works..
david_dl
post Dec 26 2005, 13:09
Post #1





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



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
"[%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:
Attached Image




This post has been edited by david_dl: Jan 19 2006, 22:14
Attached File(s)
Attached File  albumart.zip ( 12.02K ) Number of downloads: 1105
 
Go to the top of the page
+Quote Post
Tri
post Dec 26 2005, 14:30
Post #2





Group: Members
Posts: 134
Joined: 11-December 01
Member No.: 627



I always get an error, no matter what I searched for. huh.gif


--------------------
Always defragment your MP3s to avoid subtle lack in harmonics.
Go to the top of the page
+Quote Post
david_dl
post Dec 26 2005, 20:55
Post #3





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (Tri @ Dec 27 2005, 02:30 AM)
I always get an error, no matter what I searched for. huh.gif
*


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. ohmy.gif
Download it again.
(If the error persists, I'm thinking maybe its a country specific variation in walmart.com?)
Go to the top of the page
+Quote Post
Tri
post Dec 26 2005, 21:14
Post #4





Group: Members
Posts: 134
Joined: 11-December 01
Member No.: 627



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.
Go to the top of the page
+Quote Post
david_dl
post Dec 27 2005, 06:06
Post #5





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE
Some suggestions: A browse button for the target file; a linebreak for many thumbnails.
*


Good idea, i've updated it.
Go to the top of the page
+Quote Post
gfngfgf
post Dec 27 2005, 07:31
Post #6





Group: Members
Posts: 899
Joined: 2-November 04
Member No.: 17951



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.
Go to the top of the page
+Quote Post
Sebastian Mares
post Dec 27 2005, 11:01
Post #7





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



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?


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
david_dl
post Dec 27 2005, 11:47
Post #8





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (Sebastian Mares @ Dec 27 2005, 11:01 PM)
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?
*


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 smile.gif, 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.
Go to the top of the page
+Quote Post
Sebastian Mares
post Dec 27 2005, 12:08
Post #9





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



QUOTE (david_dl @ Dec 27 2005, 11:47 AM)
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.
*


Would be cool, thanks. smile.gif

sebastianmares@web.de


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
david_dl
post Dec 27 2005, 12:35
Post #10





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (Sebastian Mares @ Dec 28 2005, 12:08 AM)
QUOTE (david_dl @ Dec 27 2005, 11:47 AM)
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.
*


Would be cool, thanks. smile.gif

sebastianmares@web.de
*



Sent
Go to the top of the page
+Quote Post
Sebastian Mares
post Dec 27 2005, 14:56
Post #11





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



Thanks! Didn't look at the source code yet - are you using a ListView for the thumbnails or are you drawing the images?


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
david_dl
post Dec 27 2005, 21:30
Post #12





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (Sebastian Mares @ Dec 28 2005, 02:56 AM)
Thanks! Didn't look at the source code yet - are you using a ListView for the thumbnails or are you drawing the images?
*


Just drawing them. Sorry, I didn't give you the GUI source, I didn't realise that was what you were interested in.
Go to the top of the page
+Quote Post
jasnic02
post Dec 28 2005, 01:43
Post #13





Group: Members (Donating)
Posts: 55
Joined: 8-November 02
Member No.: 3721



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!
Go to the top of the page
+Quote Post
david_dl
post Dec 28 2005, 11:21
Post #14





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (jasnic02 @ Dec 28 2005, 01:43 PM)
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!
*


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
Go to the top of the page
+Quote Post
kalmark
post Dec 28 2005, 11:50
Post #15





Group: Members
Posts: 599
Joined: 9-October 03
From: ZZ 9 Plural Z Alpha
Member No.: 9230



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 smile.gif


--------------------
Life is Real...
(But not in audio :) )
Go to the top of the page
+Quote Post
david_dl
post Dec 28 2005, 11:59
Post #16





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (kalmark @ Dec 28 2005, 11:50 PM)
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 smile.gif
*


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.
Go to the top of the page
+Quote Post
david_dl
post Dec 28 2005, 12:10
Post #17





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (david_dl @ Dec 28 2005, 11:59 PM)
QUOTE (kalmark @ Dec 28 2005, 11:50 PM)
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 smile.gif
*


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.
*



Edit: Hmm, to quote Mr. Simpson, "Can't someone else do it"? laugh.gif
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.

This post has been edited by david_dl: Jan 19 2006, 12:50
Go to the top of the page
+Quote Post
Sebastian Mares
post Dec 28 2005, 13:05
Post #18





Group: Members
Posts: 3629
Joined: 14-May 03
From: Bad Herrenalb
Member No.: 6613



QUOTE (david_dl @ Dec 28 2005, 11:59 AM)
We all use different languages though, we would need to choose the best.
*


Definitely not my VB: biggrin.gif


--------------------
http://listening-tests.hydrogenaudio.org/sebastian/
Go to the top of the page
+Quote Post
jett
post Jan 9 2006, 06:53
Post #19





Group: Members
Posts: 22
Joined: 6-January 06
Member No.: 26918



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
Error creating process <C:\DOCUMENTS...\Temp\IXP000.TMP/Install.exe>. Reason: C:\WINDOWS\system32\advpack.dll



help please?
thanks a lot


edit:fixed

This post has been edited by jett: Jan 10 2006, 01:36
Go to the top of the page
+Quote Post
Habla
post Jan 9 2006, 07:38
Post #20





Group: Members
Posts: 132
Joined: 23-December 05
From: Seattle, WA
Member No.: 26598



Works great, thanks!
Go to the top of the page
+Quote Post
Gabes Dad
post Jan 9 2006, 15:02
Post #21





Group: Members
Posts: 39
Joined: 27-August 04
Member No.: 16564



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.
Go to the top of the page
+Quote Post
emfletcher
post Jan 18 2006, 21:24
Post #22





Group: Members
Posts: 11
Joined: 30-November 05
Member No.: 26118



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.
Go to the top of the page
+Quote Post
david_dl
post Jan 19 2006, 21:52
Post #23





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



QUOTE (emfletcher @ Jan 19 2006, 09:24 AM)
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.
*


Try it now. Btw all the walmart images are 500x500, but its useful to see the size of the existing image.
Go to the top of the page
+Quote Post
emfletcher
post Jan 20 2006, 01:08
Post #24





Group: Members
Posts: 11
Joined: 30-November 05
Member No.: 26118



QUOTE (david_dl @ Jan 19 2006, 03:52 PM)
QUOTE (emfletcher @ Jan 19 2006, 09:24 AM)
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.
*


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



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.
Go to the top of the page
+Quote Post
david_dl
post Jan 20 2006, 08:39
Post #25





Group: Members
Posts: 604
Joined: 17-December 05
From: New Zealand
Member No.: 26461



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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 20th April 2014 - 14:48