IPB

Welcome Guest ( Log In | Register )

5 Pages V  < 1 2 3 4 > »   
Reply to this topicStart new topic
> [WS] Google Images Cover Search, cover art only
pone
post Mar 3 2011, 16:16
Post #16


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(laurin148 @ Mar 3 2011, 14:32) *
first of all, thanks for updating. But i have one last suggestion:

You can search for quadratically pictures like i discribed here:
http://h-4.abload.de/img/fail3apes.jpg

Then you'll be sure you will find a cover. Its to avoid that you'll find pics which are not the covers, because covers are always quadratically!

And it would be great if i can search the other pages of the google results if its possible, because i've had one titel which only got low resolution (80x80 etc) in the first google page, but in the second a found a good resolution (600x600)


Anyway, I wrote a guide in the starting post how to costomize the script to use google advanced image search.

I'm sorry, but I don't know how to display more than 20 results.
Go to the top of the page
 
+Quote Post
laurin148
post Mar 5 2011, 00:07
Post #17


Member


Group: Members
Posts: 4
Joined: 2-March 11
Member No.: 13934
Mp3tag Version: 2.47



QUOTE (pone @ Mar 3 2011, 16:16) *
Anyway, I wrote a guide in the starting post how to costomize the script to use google advanced image search.

I'm sorry, but I don't know how to display more than 20 results.

thanks for this guide, now I can be sure to find the right cover in a good resolution .. now more than 20 results are not needed wink.gif thanks for help ..
Go to the top of the page
 
+Quote Post
songdog
post Mar 29 2011, 15:56
Post #18


Member


Group: Full Members
Posts: 7
Joined: 29-March 11
From: Northern California - Where the Palm Trees meet the Pine
Member No.: 14102
Mp3tag Version: 2.47b



QUOTE (pone @ Nov 22 2010, 15:43) *
This script searches for cover art with google images.
It stores only the cover art, no other tags are written.

I used google.de/images for search because it's simpler than the .com version.
The tags album & artist are used for search input.

Feel free to write comments and suggestions for improvement!


Script Installation & Usage:
1. Download the script
2. Move the file into this folder: %appdata%\Mp3tag\data\sources
(just copy&paste this into windows explorer adress bar)
3. Run the script from Mp3Tag with this button:


How to edit the script ot use Google Advanced Image Search:
The scipt searches for all picture, regardless of size and aspect ratio.
But you can customize this:

1. open the script with a text editior (e.g. notepad.exe or wordpad.exe).

2. go to the line:
[IndexUrl]=http://www.google.de/images?q=%s
This is the standard search. By adding certain codes to it, you can make use of Google's Advanced Image Search.

3. Place this after the index url to use advanced search
&tbs=

4. Add the following codes separated by comma to limit your search:
iar:s _ _ _ quadratic pictures only

isz:s _ _ _ small (side length under 400 px)
isz:m _ _ _ medium (side length between 400 and 800 px)
isz:l _ _ _ large (side length over 800 px)
isz:lt,islt:qsvga _ _ _ larger than 400x300
isz:lt,islt:vga _ _ _ larger than 640x480
isz:lt,islt:svga _ _ _ larger than 800x600
isz:lt,islt:xga _ _ _ larger than 1024x768
isz:ex,iszw:500,iszh:500 _ _ _ exact file size (500x500 in this example)

ift:jpg _ _ _ .jpg files only
ift:png _ _ _ .png files only
ift:bmp _ _ _ .bmp files only
ift:gif _ _ _ .gif files only
ift:svg _ _ _ .svg files only

Example:
[IndexUrl]=http://www.google.de/images?q=%s&tbs=iar:s,isz:l,ift:jpg
gives you only quadratic large jpg files

If you want, you can make more verions of the script by giving them different filenames.


download:



When I save this script what should I name it in order for Mp3tag to recognise it?

-- Songdog


--------------------
-- Songdog
Go to the top of the page
 
+Quote Post
pone
post Mar 29 2011, 16:02
Post #19


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(songdog @ Mar 29 2011, 16:56) *
When I save this script what should I name it in order for Mp3tag to recognise it?

-- Songdog


Script Installation & Usage:
1. Download the script
2. Move the file into this folder: %appdata%\Mp3tag\data\sources
(just copy&paste this into windows explorer adress bar)
3. Run the script from Mp3Tag with this button:

name it name.src

This post has been edited by pone: Mar 29 2011, 16:14
Go to the top of the page
 
+Quote Post
songdog
post Mar 29 2011, 23:20
Post #20


Member


Group: Full Members
Posts: 7
Joined: 29-March 11
From: Northern California - Where the Palm Trees meet the Pine
Member No.: 14102
Mp3tag Version: 2.47b



QUOTE (pone @ Mar 29 2011, 17:02) *
Script Installation & Usage:
1. Download the script
2. Move the file into this folder: %appdata%\Mp3tag\data\sources
(just copy&paste this into windows explorer adress bar)
3. Run the script from Mp3Tag with this button:

name it name.src



OK I did this and I don't see that anything has changed.
Here is the section of the script that I edited.

[Name]=Google Images Cover Search v 1.3
[BasedOn]=www.google.de
[IndexUrl]=http://www.google.de/images?q=%s&tbs=
[WordSeperator]=+
[IndexFormat]=%_url%|%filename%|%website%|%imagesize%|%filesize%|
[SearchBy]=$replace(%album%+$if2(%albumartist%,%artist%),&,+,#,+,?,+,=,+,%,+)

What did I do wrong mt_help.png


-- Songdog


--------------------
-- Songdog
Go to the top of the page
 
+Quote Post
pone
post Mar 30 2011, 01:25
Post #21


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(songdog @ Mar 30 2011, 00:20) *
[IndexUrl]=http://www.google.de/images?q=%s&tbs=

What did I do wrong


&tbs= alone means nothing, it has to be used in combination with one or more of the codes in step 4 of my detailed explanation. You simply forgot step four:


4. Add the following codes separated by comma to limit your search:
iar:s _ _ _ quadratic pictures only

isz:s _ _ _ small (side length under 400 px)
isz:m _ _ _ medium (side length between 400 and 800 px)
isz:l _ _ _ large (side length over 800 px)
isz:lt,islt:qsvga _ _ _ larger than 400x300
isz:lt,islt:vga _ _ _ larger than 640x480
isz:lt,islt:svga _ _ _ larger than 800x600
isz:lt,islt:xga _ _ _ larger than 1024x768
isz:ex,iszw:500,iszh:500 _ _ _ exact file size (500x500 in this example)

ift:jpg _ _ _ .jpg files only
ift:png _ _ _ .png files only
ift:bmp _ _ _ .bmp files only
ift:gif _ _ _ .gif files only
ift:svg _ _ _ .svg files only

Example:
[IndexUrl]=http://www.google.de/images?q=%s&tbs=iar:s,isz:l,ift:jpg

this gives you only quadratic (iar:s) large (iar:l) jpg (ift:jpg) files

This post has been edited by pone: Mar 30 2011, 01:39
Go to the top of the page
 
+Quote Post
songdog
post Mar 30 2011, 02:28
Post #22


Member


Group: Full Members
Posts: 7
Joined: 29-March 11
From: Northern California - Where the Palm Trees meet the Pine
Member No.: 14102
Mp3tag Version: 2.47b



QUOTE (pone @ Mar 30 2011, 02:25) *
&tbs= alone means nothing, it has to be used in combination with one or more of the codes in step 4 of my detailed explanation. You simply forgot step four:


4. Add the following codes separated by comma to limit your search:
iar:s _ _ _ quadratic pictures only

isz:s _ _ _ small (side length under 400 px)
isz:m _ _ _ medium (side length between 400 and 800 px)
isz:l _ _ _ large (side length over 800 px)
isz:lt,islt:qsvga _ _ _ larger than 400x300
isz:lt,islt:vga _ _ _ larger than 640x480
isz:lt,islt:svga _ _ _ larger than 800x600
isz:lt,islt:xga _ _ _ larger than 1024x768
isz:ex,iszw:500,iszh:500 _ _ _ exact file size (500x500 in this example)

ift:jpg _ _ _ .jpg files only
ift:png _ _ _ .png files only
ift:bmp _ _ _ .bmp files only
ift:gif _ _ _ .gif files only
ift:svg _ _ _ .svg files only

Example:
[IndexUrl]=http://www.google.de/images?q=%s&tbs=iar:s,isz:l,ift:jpg

this gives you only quadratic (iar:s) large (iar:l) jpg (ift:jpg) files


The way I read step 4 I understood that I only added those codes if I wished to limit my search wink.gif
I'll try adding one ift:jpg and see if that works. sorcerer.gif


--------------------
-- Songdog
Go to the top of the page
 
+Quote Post
pone
post Mar 30 2011, 02:29
Post #23


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(songdog @ Mar 30 2011, 03:28) *
The way I read step 4 I understood that I only added those codes if I wished to limit my search wink.gif
I'll try adding one ift:jpg and see if that works. sorcerer.gif


If you don't want to limit your search, you do not have to edit at all!

(i'will make this clear in the starting post)

This post has been edited by pone: Mar 30 2011, 02:33
Go to the top of the page
 
+Quote Post
SaJo
post May 19 2011, 21:57
Post #24


Member


Group: Members
Posts: 4
Joined: 17-May 11
Member No.: 14473
Mp3tag Version: 2.48



Hi

this is also a nice script.
Think you're mr. nice script maker right?

ok
Another question i want to Search for Artist + Titel so what i have to change?
Because i have many digitalisied Vinyls and so on many different Songs (Albums/Vinyls) from
1 Artist so i have to search for Artist & Titel.

thx 4 help
Go to the top of the page
 
+Quote Post
pone
post May 20 2011, 12:32
Post #25


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(SaJo @ May 19 2011, 22:57) *
Another question i want to Search for Artist + Titel so what i have to change?


1. open the script with a text editior (e.g. notepad.exe or wordpad.exe).

2. go to the line:
[SearchBy]=$replace(%album%+$if2(%albumartist%,%artist%),&,+,#,+,?,+,=,+,%,+)

3. in this line, replace %album% with %title%
Go to the top of the page
 
+Quote Post
pone
post Jul 2 2011, 16:27
Post #26


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



Updated to 1.4

Fixed: Script did not work after changes at google.de/images

Fixed: Picture URLs with a ";" in it did not work
Go to the top of the page
 
+Quote Post
pone
post Dec 9 2011, 16:31
Post #27


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



Update 1.5:

FIXED:
Google introduced a new layout at images search. That stopped the script from working. Now it works again.

NEW:
I introduced two new columns at the "List of search results..." window:
"description" gives you an text extract form the page where the picture is from
"page" gives you the URL of the page where the picture is from

CHANGED:
The old script was made for google.de/images, this version is now for google.com/images. You can change that by simply changing the [IndexUrl]=.. line. I guess you can also put in other country domain ending to get country-specific search results. Just test it!

CHANGED:
I rearranged the different columns in at the "List of search results..." window.

CHANGED:
The "website" column comes now without leading "www."


- see starting post for download -

This post has been edited by pone: Dec 9 2011, 16:40
Go to the top of the page
 
+Quote Post
TGK
post Jan 27 2012, 18:25
Post #28


Member


Group: Full Members
Posts: 43
Joined: 24-January 12
Member No.: 15953
Mp3tag Version: 2.50



Hi !

Do you plan to do the same plug-in for www.discogs.com?
Go to the top of the page
 
+Quote Post
pone
post Jan 27 2012, 18:33
Post #29


Member


Group: Full Members
Posts: 1687
Joined: 15-March 09
From: Germany
Member No.: 9103
Mp3tag Version: 2.59b



ZITAT(TGK @ Jan 27 2012, 18:25) *
Hi !

Do you plan to do the same plug-in for www.discogs.com?


You can already do this with my discogs script.
http://forums.mp3tag.de/index.php?showtopic=10431


Set all "DISCOGS..." fields to "no"
Set "DISCOGS~TRACK_OPTION: LEAVE TRACK EMPTY?" to "yes"

Then the only thing which will be stored is the artwork.
Go to the top of the page
 
+Quote Post
Hanstersex
post Apr 25 2012, 16:36
Post #30


Member


Group: Full Members
Posts: 9
Joined: 20-July 11
Member No.: 14907
Mp3tag Version: 2.55a



1.5 stop working for me now
Go to the top of the page
 
+Quote Post

5 Pages V  < 1 2 3 4 > » 
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: 29th July 2014 - 09:42