Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 02-10-2004, 04:49 PM   #1
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
Album art downloader

Here is the app

Windows: http://homer.meso.com/crap/art.zip
Linux: http://homer.meso.com/crap/zart.tar.gz


This is version .009

Bugs Fixed & Additions
-----------------
11/03/04
- fixed an issue with saving album art

4/28/04
- fixed an issue on how amazon handles its xml request. Now it works
- added the linux which is also the source code.. scroll down for instructions on how to install it for linux

3/16/04
- i fixed an error on not finding some album art even though it was there.
- i took away the dos console window from running
- i added a popup error log
- all program errors that cause a crash should be written to a log file now

3/12/04 part 2
- fixed the null image problem people were seeing. This was due to amazon listing the album but not having a small or large image for that album. I found some had the medium though.
- I also added to the status bar when you are saving so you know when its done

3/12/04
- fixed a nasty bug in the amazon library where if it got a http error code it would die
- added a log file called debug.txt to the dir so it'll show you which albums it could not find album are for
- some minor bug fixes and speed tweaks.

3/11/04
-I got the bug that rgardjr pointed out. There was a problem with a library not being compiled in correctly.
- I also added in two labels on the main app
- the top one shows you the root dir
- the second one shows you the status of the search. Only search for album art when its idle.


Features
-------------
- auto looks up album art from amazon.com
- has 2 types of directory structure
- artist - album
- artist
- ablum

- option to show all art by a artist to custom select album are

known bugs!
------------------
- its a bit laggy. I know this. Its a problem with amazon's web services.
- closing the app will crash if a thread is still running

How to run me in Windows
-------------------
- extract the .zip file to anyplace on your system and run art.exe
- select the options and choose your directory structure type
- Then load up mass load and select your root directory. MAKE SURE it selects into the dir and just don't highlight it.
- Then wait. I have 400 albums and it takes like 30 minutes to finish. If you don't see anything just wait.. something will happen

How to run me in Linux
-------------------
- extract the .tar.gz file on your system
- You need to following libraries installed on your system
TKinter (should come with python)
PIL (http://www.pythonware.com/products/pil/)
PMW Mega widgets (http://pmw.sourceforge.net/)

- once all libraries are installed you can run python art.py
- select the options and choose your directory structure type
- Then load up mass load and select your root directory. MAKE SURE it selects into the dir and just don't highlight it.
- Then wait. I have 400 albums and it takes like 30 minutes to finish. If you don't see anything just wait.. something will happen

if you have any issues running in linux contact me

ToDo
--------------------
- try to make it faster finding an album. The problem is that I can only search by artist and then try to find the album name via what the search results are. So if you have beatles albums amazon has like 400 results.. so it'll take a long time to crawl through them all
- id3 support. go into a dir and read the id3 tag on all of the files in the dir and if most of them have the same album name then that must be t he album.

Let me know any features you want



__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done

Last edited by hijinks21; 11-03-2004 at 01:39 PM.
hijinks21 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 02-10-2004, 06:38 PM   #2
Constant Bitrate
 
monger's Avatar
 
Join Date: Nov 1999
Location: Good ole Maine. Gotta love trees and deer.
Posts: 210
monger is on a distinguished road
HELL YEAH!!!!! I have been looking for an app like this for a long time. command line interface is fine by me just so long as you can make it span several directories so it can cover all my mp3's without having to tell it which one is which. Well I guess that it would have to read the ID3 tag to do that. Oh yeah, if you could port it to winblows, that would be handy too...
__________________
Monger
ICQ-7207702
UPDATE: I moved farther north. Now its even too cold for the deer; only moose now
monger is offline   Reply With Quote
Old 02-10-2004, 07:41 PM   #3
Variable Bitrate
 
mutilator's Avatar
 
Join Date: Jul 2002
Location: Staffordshire - united kingdom
Posts: 363
mutilator
oh yea go for it dude
__________________
Http://www.StairBox.com
mutilator is offline   Reply With Quote
Old 02-10-2004, 10:34 PM   #4
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
Quote: Originally Posted by monger
HELL YEAH!!!!! I have been looking for an app like this for a long time. command line interface is fine by me just so long as you can make it span several directories so it can cover all my mp3's without having to tell it which one is which. Well I guess that it would have to read the ID3 tag to do that. Oh yeah, if you could port it to winblows, that would be handy too...


Well my idea is this.. all my albums are labeled like this

artist - Album
artist - album2
etc


You can use amazon's webservice to search via that so if you tell the seperator value to be - then it'll try to grab all the art it can find if it finds a match. If it finds more then one match.. you will be prompted to select which image you want to use. So it'll be a quick way to fill a large collection of albums.

I could easily read the id3 tags but that might be in a later release.. right now i'm just gonna do dir names. I know a lot of people have it setup different and i'll try to make it support as many formats as possible

As for the porting there is no need. Python is cross platform so it'll run on windows/linux/mac..etc
__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks21 is offline   Reply With Quote
Old 02-10-2004, 10:50 PM   #5
Variable Bitrate
 
rgardjr's Avatar
 
Join Date: Oct 2003
Posts: 374
rgardjr is on a distinguished road
Quote: Originally Posted by hijinks21
Well my idea is this.. all my albums are labeled like this

artist - Album
artist - album2
etc


You can use amazon's webservice to search via that so if you tell the seperator value to be - then it'll try to grab all the art it can find if it finds a match. If it finds more then one match.. you will be prompted to select which image you want to use. So it'll be a quick way to fill a large collection of albums.

I could easily read the id3 tags but that might be in a later release.. right now i'm just gonna do dir names. I know a lot of people have it setup different and i'll try to make it support as many formats as possible

As for the porting there is no need. Python is cross platform so it'll run on windows/linux/mac..etc

Sounds perfect! I'd love a copy of it when it's done!
rgardjr is offline   Reply With Quote
Old 02-11-2004, 11:41 AM   #6
Low Bitrate
 
Join Date: Oct 2002
Location: Georgia
Posts: 67
mercury
I love the idea.

Any chance you could have it read this directory tree:
Artist1
- Album
- Album2
Artist2
- Album
- Album2
__________________
-Merc
1996 Jeep Grand Cherokee
[:::::::::.]99.9%
Working On: Fixing wireless network interference
Specs: 8.4inch vga touch, 1.?? ghz, 256 DDR, 4gig OS HD, 120gig Media HD, opus
mercury is offline   Reply With Quote
Old 02-11-2004, 12:44 PM   #7
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
Quote: Originally Posted by mercury
I love the idea.

Any chance you could have it read this directory tree:
Artist1
- Album
- Album2
Artist2
- Album
- Album2


Yes i am going to build that in also since that is the other major way people have their albums sorted.
__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks21 is offline   Reply With Quote
Old 02-13-2004, 11:24 AM   #8
Constant Bitrate
 
monger's Avatar
 
Join Date: Nov 1999
Location: Good ole Maine. Gotta love trees and deer.
Posts: 210
monger is on a distinguished road
any updates?
__________________
Monger
ICQ-7207702
UPDATE: I moved farther north. Now its even too cold for the deer; only moose now
monger is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Old 02-13-2004, 01:18 PM   #9
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
i have it fully working in console mode.. it grabbed all the album art it cound find automatically.. around 90% of my collection. I'm working on the gui now. I hope to have something by the middle of next week.
__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks21 is offline   Reply With Quote
Old 02-13-2004, 01:43 PM   #10
Variable Bitrate
 
rgardjr's Avatar
 
Join Date: Oct 2003
Posts: 374
rgardjr is on a distinguished road
Quote: Originally Posted by hijinks21
i have it fully working in console mode.. it grabbed all the album art it cound find automatically.. around 90% of my collection. I'm working on the gui now. I hope to have something by the middle of next week.

Sounds great! I can't wait to use it. Thank You!
rgardjr is offline   Reply With Quote
Old 02-13-2004, 03:26 PM   #11
Jesus Freak
 
antimatter's Avatar
 
Join Date: Jan 2004
Location: California
Posts: 4,273
antimatter is on a distinguished road
Sounds interesting. I would use this

Where does the albumn art get stored locally?
__________________
-Jesus- King of Kings Lord of Lords
antimatter is offline   Reply With Quote
Old 02-13-2004, 03:33 PM   #12
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
antimatter

the images will get placed in the dir of the album. I have no plans to place the image into the mp3(s) since i have no clue how to even do that It took me like a week to write a working id3 tag reader in python


Here is a screenshot. This is just the album are it can find if you directories are listed like

artist - album

If it cannot find it there will be a button that you click and it'll bring up a list of all the cover art it can find based on that artist. From there you can pick the covert art you want to use. Don't mind all the other buttons they are just junk that i will get rid of

__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks21 is offline   Reply With Quote
Old 02-18-2004, 08:02 PM   #13
Low Bitrate
 
Join Date: Oct 2002
Location: Georgia
Posts: 67
mercury
updates?
__________________
-Merc
1996 Jeep Grand Cherokee
[:::::::::.]99.9%
Working On: Fixing wireless network interference
Specs: 8.4inch vga touch, 1.?? ghz, 256 DDR, 4gig OS HD, 120gig Media HD, opus
mercury is offline   Reply With Quote
Old 02-19-2004, 09:06 AM   #14
Super Moderator
 
hijinks21's Avatar
 
Join Date: May 2002
Location: Albany, NY
Posts: 1,802
hijinks21 is on a distinguished road
yep.. i pretty much have to do an options windows and then make the

artist
-album1
- album2

work.. So it should be done hopefully soon
__________________
'98 Explorer Sport
http://mp3car.zcentric.com (down atm)
AMD 800mhz 192megs RAM 60gig hard drive 9 inch widescreen VGA
80% done
hijinks21 is offline   Reply With Quote
Old 02-19-2004, 09:54 AM   #15
Raw Wave
 
Defiler's Avatar
 
Join Date: Jan 2002
Location: Temple Terrace, Fl.
Posts: 2,641
Defiler is on a distinguished road
This is looking very nice. Keep up the good work. I wish I had something like this about 6 Months ago.
Defiler is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do album covers work for MP3 rgardjr MediaCar 28 09-07-2004 12:23 PM
Album art download utility?? liquid_smoke Software & Software Development 24 09-28-2003 10:38 PM
how about album art? Stine161 Auto-Play 0 04-15-2003 11:18 PM
Album cover art question... Defiler ME Archive 2 03-26-2003 11:02 PM
album cover art ? hotwater9 ME Archive 6 01-05-2003 04:28 AM



All times are GMT -5. The time now is 06:32 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics