WebSearch Panels for MediaMonkey
The following script adds as many panels as defined to the MediaMonkey screen. Eeach of these panels performs a specific web search on Artist, Title of Album.The script needs a XML file as a configuration file.
Using the Installer
You can download and use this installation program Note: If you already have a site configuration file, this file won’t get overwritten!
Copy this script code, paste it to an empty text file and save it to “%MM_DIR%/Scripts/Auto/WebSearch.vbs”.
Setting up the configuration file
The configuration file needs to be named WebSearch.xml and must be located in the same directory as the script.
For each site, you need a
|name||a unique name for the site. This is used internally only, but must really be unique…|
|caption||The caption of the panel||<caption> Google Music </caption>|
|description||The desription is shown in the “Search” menu bar|
|start||the start page that is shown when no title is played||<start> http://www.google.com/musicsearch?q= </start>|
|url||The “url” parameter is the Web Search URL, and the placeholders %artist%, %title% asd %album% are replaced accordingly.|
As an example, see this file. You can use it as a starting point. Copy the xml code to an empy text file. Throw away the
Using the script
Start (or re-start) MediaMonkey. For each <site> entry you put in xml file, one panel will be opened. You can close those you don’t want to be open at the moment. To re-open a panel, in the Search Toolbar click on the “Search The Web” button and choose desired site.
Saving Lyrics and Comments
Let’s suppose you want to save the lyrics fetched from lyrics-songs.com site to ID3 tag. Just play a song a wait for the panel to show the lyrics. Select the lyrics text and press “Lyrics” button. Done! No CTRL+C is needed in this case. Same procedure to save a text to Comment field.
If, for some reason, the text you want to paste is outside the panel (a text file, for example) do the following: DO NOT select any text inside the panel itself, just open the file, select the text and copy it (now CTRL+C is needed). Come back to MediaMonkey and press the “Lyrics” or “Comment” button. Done! Your text is saved in corresponding field.
Working with local html files
This method works with local files as well. As a POC use the following HTML file, save it somewhere and make an entry to WebSearch.xml for the file like
SongInfoSongInfo Displays Information on the current song about:blank file:///C:/Programs/MediaMonkey/Scripts/Song.htm
The corresponding HTML file:
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> Artist: Title: Album:
Error #424 – Microsoft VBScript runtime error
You’ll get this error without a valid configuration file in place
Support is given at the MediaMonkey support forum.