PDA

View Full Version : Populating Cover Art



Victor Brilon
2004-03-08, 09:36
If all of your files are mp3s, check out my utility to
get the album covers for you:
http://www.victorland.com/slimp3

I plan to add Ogg and FLAC support soon it.

Victor
--- Bryce Richards <bryce.richards (AT) partingline (DOT) com>
wrote:
> Pat,
>
> I've grabbed your script and it runs, but errors
> out. Don't know what
> the error means.
>
> Here's my ~/musicutil.conf:
>
> root@MidwestProject:~# more musicutil.conf
> AmazonAffiliateID=webservices-20
> AmazonDeveloperID=D6CF7IOTTSGR2
> ProxyWanted=true
>
> What can you tell me about this output:
>
> root@MidwestProject:~# java
> com.pfarrell.utils.music.AmazonTest Devo
> Mar 7, 2004 6:39:23 PM
> com.pfarrell.utils.net.SocketTools
> getSocketProxyFixup
> SEVERE: SocketTools:can't talk to socket
> java.net.ConnectException: Connection refused
> at
> java.net.PlainSocketImpl.socketConnect(Native
> Method)
> at
>
java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305)
> at
>
java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171)
> at
>
java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:158)
> at java.net.Socket.connect(Socket.java:452)
> at java.net.Socket.connect(Socket.java:402)
> at java.net.Socket.<init>(Socket.java:309)
> at java.net.Socket.<init>(Socket.java:124)
> at
>
com.pfarrell.utils.net.SocketTools.getSocketForUrl (SocketTools.java:85)
> at
>
com.pfarrell.utils.net.SocketTools.getSocketProxyF ixup(SocketTools.java:43)
> at
>
com.pfarrell.utils.net.FetchURL.<init>(FetchURL.java:79)
> at
>
com.pfarrell.utils.music.AmazonCovers.obtainUrls(A mazonCovers.java:96)
> at
>
com.pfarrell.utils.music.AmazonTest.main(AmazonTes t.java:64)
> java.net.ConnectException: Connection refused
> at
> java.net.PlainSocketImpl.socketConnect(Native
> Method)
> at
>
java.net.PlainSocketImpl.doConnect(PlainSocketImpl .java:305)
> at
>
java.net.PlainSocketImpl.connectToAddress(PlainSoc ketImpl.java:171)
> at
>
java.net.PlainSocketImpl.connect(PlainSocketImpl.j ava:158)
> at java.net.Socket.connect(Socket.java:452)
> at java.net.Socket.connect(Socket.java:402)
> at java.net.Socket.<init>(Socket.java:309)
> at java.net.Socket.<init>(Socket.java:124)
> at
>
com.pfarrell.utils.net.SocketTools.getSocketForUrl (SocketTools.java:85)
> at
>
com.pfarrell.utils.net.SocketTools.getSocketProxyF ixup(SocketTools.java:43)
> at
>
com.pfarrell.utils.net.FetchURL.<init>(FetchURL.java:79)
> at
>
com.pfarrell.utils.music.AmazonCovers.obtainUrls(A mazonCovers.java:96)
> at
>
com.pfarrell.utils.music.AmazonTest.main(AmazonTes t.java:64)
> no matching records found at Amazon.com
>
> Thanks for your time,
>
> Bryce.
>
>
>
> Pat Farrell wrote:
>
> > At 11:27 AM 3/7/2004, you wrote:
> >
> >> I have a large library and would like to add
> cover art - ideally as a
> >> single
> >> jpg file within each album directory. I need to
> do this is an automated
> >> unattended batch way.
> >
> >
> > I wrote one,
> > http://www.pfarrell.com/music/slimsoftware.html
> > there are others on the Slim third party list.
> >
> > Mine grabs the images and puts them in the same
> directory as
> > the songs. It does not change the tags in your
> MP3/ogg/flac files.
> >
> >
> >> I don't believe that SliMP3 picks up the cover
> art paths within the ID3V2
> >> files does it ?? It may do but it fails for me as
> it is a network
> >> share - so
> >> the path would be nonsense anyway. Can someone
> just clarify what my cover
> >> art recognition possibilities are with SliMServer
> - will it for
> >> example pick
> >> up a jpg named album-artist.jpg within the album
> directory ??
> >
> >
> > I'm not an expert on it, but it will display
> artwork specifed in the
> > ID3 V2
> > tag of an MP3 file.
> >
> > Or it will look for specific file names in the
> music directory and apply
> > the art in those files to the directory.
> >
> > I'm not sure what the SlimServer does for
> different tunes in a single
> > directory,
> > clearly you'd want differnt art. I just don't have
> any example of that
> > in my
> > collection.
> >
> > Here is some more that may help.
> >
> >
> > The SlimServer can display artwork associated with
> each album. This
> > "cover art" is typically a copy of the CD/album's
> cover.
> >
> > Artwork is displayed in several places within the
> SlimServer Web
> > interface. The details of the display vary
> depending on the skin
> > currently being used. The "Default", "Fishbone,"
> and "Moser" skins
> > have browse by cover art functions, clicking on a
> picture of the
> > CD/album will select the album for playing or
> processing. The
> > "Fishbone" skin also displays the cover art in the
> status display as
> > the songs are played.
> >
> >
> > *What is Artwork, how does the SlimServer
> use it?*
> >
> > Artwork is cover art from CD albums. It is
> displayed both to beautify
> > the SlimServer interface, and in the "Browse by
> artwork" section to
> > specify which albums are selected for playing or
> processing.
> >
> >
> > *How do I get cover art?*
> >
> > We do not provide cover art. Many sites that sell
> CDs include cover
> > art in their catalog. With most browsers, you can
> right click on the
> > image and select "Save image as..."
> >
> > Several third party developers have written
> utilities to automatically
> > retreive cover art based on the internal tags of
> your MP3, Ogg, Flac,
> > or other files. See
> http://www.slimdevices.com/dev_third_party.html
> > for more information.
> >
> >
> > *Graphic file requirements*
> >
> > The SlimServer will display any graphic file that
> your browser can
> > support. Nearly all browsers support .GIF and .JPG
> files, so most
> > SlimDevices customers use one of these file
> formats.
> >
> >
> > *Image sizes*
> >
> > The image files should be modest in size, as they
> are sized to fit on
> > the HTML browser window. There is no reason to
> have images larger than
> > 300x300 pixels, they won't be displayed with that
> size, and it simply
> > takes up space and bandwidth.
> >
>
=== message truncated ===

Peter
2004-03-19, 08:52
Victor Brilon wrote:

> If all of your files are mp3s, check out my utility to
> get the album covers for you:
> http://www.victorland.com/slimp3
>
> I plan to add Ogg and FLAC support soon it.
>

Thanks Victor! Yuor stuff did the trick for me, and I also eventually
found the time to really my Perl environ (cpan) working on my windows
box. Managed to swap exe-version od Slimserver for Perlscript version,
installed firedeamon and got that up and running. Happy camper, more
plugins now available!

/peter