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: A new resource for downloading artist images (Read 32371 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

A new resource for downloading artist images

Update 22nd Feb: New super awesome download application, no need to install anything, just pass the artist as a parameter to the .exe, the artist image will be downloaded as a .jpg to the same directory.

The files:
http://host.trivialbeing.org/up/artistimagebig.exe
http://host.trivialbeing.org/up/artistimagethumb.exe

More details at Fooblog2000

NEW
A quick note to say that I have updated the artist image downloading service to include a browse of the files cached: http://artists.trivialbeing.org/browse.php
Also, appending a URL with &imgs=large will download and display the full artist image rather than just a thumbnail.
=========================

I've been working on developing a little service that anyone can use for downloading or finding artist images, mainly for use in their track info panels.

I have created this service here: http://artists.trivialbeing.org/?a=ARTIST where ARTIST is the performer's image you are looking for, for instance:

"http://artists.trivialbeing.org/?a=system of a down"
http://artists.trivialbeing.org/?a=the microphones
http://artists.trivialbeing.org/?a=blondie
http://artists.trivialbeing.org/?a=radiohead

Images are first sourced from Last.fm before being cached so as not to cause any undue strain on last.fm's servers.

To make things more useful you can append the URL with &outputmode=img,
e.g. http://artists.trivialbeing.org/?a=blondie...;outputmode=img
and a wrapper of sorts is available via http://artists.trivialbeing.org/pic/ARTIST.jpg
e.g. http://artists.trivialbeing.org/pic/blondie.jpg
which can be used on forums:


or in an artist download script. I use the URL2File command line application with this command:

Code: [Select]
URL2File http://artists.trivialbeing.org/pic/%1.jpg  C:\artistimages\thumbnails\%1.jpg -o 60

Where %1 is the first parameter passed to the batch file and 60 is a one minute timeout.

Using a custom run component I can call this using foobar and a keyboard shortcut or button, when passing the artist to the batch file you should take care to replace characters that cannot be used in creating windows filenames. I have not extensively tested how the service deals with foreign characters and it may be buggy for such artists. Foreign characters do not currently work. EDIT: I think I have this sorted now, try it out and gimme some feedback on your results please.

When using image output, if no artist is found the script returns the image:


With regards to copyright issues, Last.fm's uploading policy states:
Because copyrighted images tend to be very restrictive about where they can be used we ask that you only upload images which are public domain, or that are explicity licensed for promotional use. There are a number of places you can find images open to public use. First, try to find out if the artist has any promotional pictures on their official homepage (they usually do).

CiTay has given me the all clear to post this. The code is heavily based on Chronial's efforts, so many thanks to him. I do not plan to make the code public, mainly at Chronial's request.

My web host should offer enough bandwidth and web space for this service. And for these reasons only thumbnails and not full images are used. Depending on how this pans out full images may become available.

If you notice any bugs or have improvement suggestions please discuss them here.

A new resource for downloading artist images

Reply #1
great news! i just requested this for discogs


A new resource for downloading artist images

Reply #3
this is really cool.

maybe on the main page (the one with the text and information, etc), a link back to the artist page and/or artist picture page would be nice if you want to maybe find a different picture?

A new resource for downloading artist images

Reply #4
Using this i get bad request? any idea

URL2File.exe http://artists.trivialbeing.org/pic/%1.jpg  C:\artistimages\thumbnails\%1.jpg -o 60

Edit: might help if i replaced those %1 lol


 

A new resource for downloading artist images

Reply #6
just did most of my collection, thanks alot

although it cant find quite a few, 1 example

i tried it on a mp3 tagged as artist "The White Stripes"

said file not found but if you look on their page on last fm they have a pic

do they miss off 'the' or something?

it didnt find Elvis Presley either - there is a pic

A new resource for downloading artist images

Reply #7
Both of these work just fine for me. How are you passing the variables to the batch file? passing "The White Stripes" will replace %1 with "The" and not the complete artist name.

You may need to do a $replace(%artist%, ,+) I also recommend replacing the & character to "and".

A new resource for downloading artist images

Reply #8
Is there a way to display these pictures in trackinfo_mod without "manually" downloading them to your pc first? Like inserting an image "http://artists.trivialbeing.org/?a=%artist%"?
Les mots d'amour...


A new resource for downloading artist images

Reply #10
Both of these work just fine for me. How are you passing the variables to the batch file? passing "The White Stripes" will replace %1 with "The" and not the complete artist name.

You may need to do a $replace(%artist%, ,+) I also recommend replacing the & character to "and".


yeh u were right lack of sleep screws with my brain, thanks for the great prog


A new resource for downloading artist images

Reply #12
what do i need to change to get this one?

Royce Da 5'9"

take it i need to replace "'" with something

otherwise i got all of my artists except 'Jadakiss' which i cannot think why it didnt work so i just got it manually


A new resource for downloading artist images

Reply #14
sorry to be a pain fofr but i cant get it to work with '

it does manually if i type it into the address bar, but im using foo_run

"\PortableApps\new foobar2000 9.4\URL2File\URL2File.exe" http://artists.trivialbeing.org/pic/$replace(%artist%, ,+).jpg  "\PortableApps\new foobar2000 9.4\dark1\thumbnails\%artist%.jpg" -o 60

another simpler example artist "Cam'Ron"

Now if i change the output filename to the same as the search eg:

$replace(%artist%, ,+).jpg"

i get cam'ron which is what i expect but when i open it, its the no image found!

thanks for taking the time to help


A new resource for downloading artist images

Reply #16
$replace($replace(%artist%, ,+),',).jpg
That should work, I believe that will remove all the 's


tried it earlier and again now to double check, it doesnt work

$replace(%artist%, ,+),',).jpg

i also tried

$replace($replace(%artist%, ,+),',+).jpg

Edit: as soon as u add a 2nd replace or $replace(%artist%, ,+,',).jpg it doesnt download anything not even on a straight forward artist

A new resource for downloading artist images

Reply #17
Try a double single quote, remember the single quote is a special character in tagz.




A new resource for downloading artist images

Reply #21
Hmmm, 8000 cached artist images and 40,000 requests later and my bandwidth has not been dented. Thus, as a present to the late comers -full size images are no available:

Simple append the URL with &imgs=large

e.g.http://artists.trivialbeing.org/?a=the%20m...&imgs=large
or:
http://artists.trivialbeing.org/?a=the%20m...;outputmode=img

No .jpg wrapper for this yet however.

I am getting a lot of AutoHotkey browsers (http://www.autohotkey.com/), this may be a better service for automated downloads. I'll check it out when I get my internet at home back up and running.


A new resource for downloading artist images

Reply #23
Update: The database now has 17500 artist images, large and small. This comes to 380mb and has served 2GB of bandwidth since launched. This is all much less than anticipated so try and leech more, thanks.

A new resource for downloading artist images

Reply #24
Well, if you want people to leech, please tell us how to make a button in foobar to allow us to download this stuff. If you do, and if you give me your permission, I'll do a stress-test.