Here is my (verbose) title formatting code for running a Google search using 'foo_run' (and my default browser).
Basically speaking, my approach to finding more info on Google is to create a very long string of words and let Google do its job; Im not particular about trying to filter down the results by adding specific domain names.
Before you view the code further down, here is a sample selected item from my fb2k Playlist Viewer;
this shows you how I always tag my files; especially note the 'Comment' tag
========================================================================================
TRACK NUM: 01.
TRACK NAME: Allegro non troppo
ARTIST: Henryk Szeryng . Hendl, Orch Chicago
ALBUM ARTIST:
ALBUM: LALO: Symphonie Espagnole
DATE: 1961
GENRE: Classical
COMMENT: <IDX>Szeryng Henryk . Hendl, Orch Chicago</IDX/><PRODUCTID>Vinyl | Classic Records 'RCA Living Stereo' reissue series (1994), 'Deluxe 1S' Box Set, item: LSC-2456 | Ripped: Oct 2011</PRODUCTID/>
========================================================================================
The code should now be a bit more understandable...
// Code (A)
// Lines are split here for easy viewing of the code; use Code (B) for pasting into foo_run preferences
http://www.google.com/search?q=$replace(music' '
// ========== DEFINITION OF VARIOUS ARTIST ==> "VA"
$puts(va_string,'VA ')
$if($stricmp($meta(va),'1'),$puts(va,1))
$if($stricmp($meta(various),'1'),$puts(va,1))
$if($stricmp($meta(various artists),'1'),$puts(va,1))
$if($trim($meta(album artist)),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v : '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v: '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v. '),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v / '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v/ '),$puts(va,1))
$if($stricmp($left($meta(artist),2),'v/'),$puts(va,1))
$if($stricmp($left($meta(artist),4),'v - '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v- '),$puts(va,1))
$if($stricmp($left($trim($meta(artist)),2),'va'),$puts(va,1))
$if($stricmp($left($meta(artist),3),'va '),$puts(va,1))
$if($stricmp($left($meta(artist),3),'v a'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'v.a.'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'v. a.'),$puts(va,1))
$if($stricmp($left($meta(artist),8),'various '),$puts(va,1))
$if($stricmp($trim($meta(artist)),'various'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'various artists'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'varios'),$puts(va,1))
$if($stricmp($trim($meta(artist)),'varies'),$puts(va,1))
$if($stricmp($left(%directoryname%,4),'v - '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'v_ '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'v- '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va-'),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va '),$puts(va,1))
$if($stricmp($left(%directoryname%,3),'va_'),$puts(va,1))
$if($strstr($lower(%path%),'\v '),$puts(va,0))
$if($strstr($lower(%path%),'\v\'),$puts(va,1))
$if($strstr($lower(%path%),'\va. '),$puts(va,1))
$if($strstr($lower(%path%),'\va- '),$puts(va,1))
$if($strstr($lower(%path%),'\va '),$puts(va,1))
$if($strstr($lower(%path%),'\va\'),$puts(va,1))
$if($strstr($lower(%path%),'\various\'),$puts(va,1))
$if($strstr($lower(%path%),'\various artists\'),$puts(va,1))
$if($strstr($lower(%path%),'\_va\'),$puts(va,1))
$if($strstr($lower(%path%),'\_various\'),$puts(va,1))
$if($strstr($lower(%path%),'\_various artists\'),$puts(va,1))
$if($strstr($lower(%path%),' va - '),$puts(va,1))
$if($strstr($lower(%path%),' va- '),$puts(va,1))
$if($strstr($lower(%path%),' va . '),$puts(va,1))
$if($strstr($lower(%path%),' va. '),$puts(va,1))
$if($strstr($lower(%path%),' various artists'),$puts(va,1))
// ========== IF ALBUM, IF TRACKNUMBER
$if(%album%,
$if(%tracknumber%,
// ========== FORMAT - HAS ALBUM, HAS TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%)
),
// ========== FORMAT - HAS ALBUM, HAS NO TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))
),
// ========== FORMAT - HAS NO ALBUM, HAS NO TRACKNUMBER
$if($stricmp($get(va),1),
$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),
$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))
)
// ========== REPLACE SPECIAL CHARACTERS ==> All to "+" (becomes space in Google search field)
,' ','+','&','+','/','+','\','+','|','+','[','+',']','+','(','+',')','+','-','+',',','+',';','+',':','+','.','+','','+')&ie=utf-8
// Code (B)
// Paste this code into 'foo_run' preferences Path: field .
// This code generates a long string of alphanumeric characters and words separated by spaces, and all special characters are replaced by spaces.
// For example, the sample playlist item from above would end up looking like this in the Google search field:
// [!--sizeo:1--][span style=\"font-size:8pt;line-height:100%\"][!--/sizeo--]music Henryk Szeryng Hendl Orch Chicago LALO Symphonie Espagnole 1961 Vinyl Classic Records RCA Living Stereo reissue series 1994 Deluxe 1S Box Set item LSC 2456 Ripped Oct 2011 Allegro non troppo[/size]
// Note: I paste this exact same code into the Label: field ...EXCEPT I prefix: 'Google -' to the beginning ...AND I strip off the starting string: http://www.google.com/search?q= ...AND I strip off the ending string: &ie=utf-8
http://www.google.com/search?q=$replace(music' '$puts(va_string,'VA ')$if($stricmp($meta(va),'1'),$puts(va,1))$if($stricmp($meta(various),'1'),$puts(va,1))$if($stricmp($meta(various artists),'1'),$puts(va,1))$if($trim($meta(album artist)),$puts(va,1))$if($stricmp($left($meta(artist),4),'v : '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v: '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v. '),$puts(va,1))$if($stricmp($left($meta(artist),4),'v / '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v/ '),$puts(va,1))$if($stricmp($left($meta(artist),2),'v/'),$puts(va,1))$if($stricmp($left($meta(artist),4),'v - '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v- '),$puts(va,1))$if($stricmp($left($trim($meta(artist)),2),'va'),$puts(va,1))$if($stricmp($left($meta(artist),3),'va '),$puts(va,1))$if($stricmp($left($meta(artist),3),'v a'),$puts(va,1))$if($stricmp($trim($meta(artist)),'v.a.'),$puts(va,1))$if($stricmp($trim($meta(artist)),'v. a.'),$puts(va,1))$if($stricmp($left($meta(artist),8),'various '),$puts(va,1))$if($stricmp($trim($meta(artist)),'various'),$puts(va,1))$if($stricmp($trim($meta(artist)),'various artists'),$puts(va,1))$if($stricmp($trim($meta(artist)),'varios'),$puts(va,1))$if($stricmp($trim($meta(artist)),'varies'),$puts(va,1))$if($stricmp($left(%directoryname%,4),'v - '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'v_ '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'v- '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va-'),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va '),$puts(va,1))$if($stricmp($left(%directoryname%,3),'va_'),$puts(va,1))$if($strstr($lower(%path%),'\v '),$puts(va,0))$if($strstr($lower(%path%),'\v\'),$puts(va,1))$if($strstr($lower(%path%),'\va. '),$puts(va,1))$if($strstr($lower(%path%),'\va- '),$puts(va,1))$if($strstr($lower(%path%),'\va '),$puts(va,1))$if($strstr($lower(%path%),'\va\'),$puts(va,1))$if($strstr($lower(%path%),'\various\'),$puts(va,1))$if($strstr($lower(%path%),'\various artists\'),$puts(va,1))$if($strstr($lower(%path%),'\_va\'),$puts(va,1))$if($strstr($lower(%path%),'\_various\'),$puts(va,1))$if($strstr($lower(%path%),'\_various artists\'),$puts(va,1))$if($strstr($lower(%path%),' va - '),$puts(va,1))$if($strstr($lower(%path%),' va- '),$puts(va,1))$if($strstr($lower(%path%),' va . '),$puts(va,1))$if($strstr($lower(%path%),' va. '),$puts(va,1))$if($strstr($lower(%path%),' various artists'),$puts(va,1))$if(%album%,$if(%tracknumber%,$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%)),$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))),$if($stricmp($get(va),1),$get(va_string)[$if2($meta(album artist),$meta(artist))]' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%),$if3($meta(album artist),$meta(artist),'%artist%')' '$if2($trim(%album%),'%album%')' '$if2('('$trim(%date%)')','(%date%)')' '$if2($substr(%comment%,$add($strstr(%comment%,<PRODUCTID>),$len(<PRODUCTID>)),$sub($strstr(%comment%,</PRODUCTID/>),1)),$directory(%path%,2)' '$directory(%path%,1))$if2(' '%title%,' '%filename%))),' ','+','&','+','/','+','\','+','|','+','[','+',']','+','(','+',')','+','-','+',',','+',';','+',':','+','.','+','','+')&ie=utf-8