WebSearch Panels (updated March 14, 2007) now with installer

Post a reply

Visual Confirmation

To prevent automated access and spam, you are required to confirm that you are human. Please place a check mark next to all images of monkeys or apes. If you cannot see any images, please contact the Board Administrator.

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: WebSearch Panels (updated March 14, 2007) now with installer

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by linn » Sun Feb 24, 2013 2:57 pm

wxdude wrote:I forgot to look further into the script...and of course didn't test....

Try changing every instance of "SDB.Player.CurrentSong" to "SDB.SelectedSongList.Item(0)"

This did the trick ! thanks.

EDIT:
It works if i select a track in file list, but if i select a artist in "column browser" i get: "error executing script event. Object required."

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by wxdude » Sun Feb 24, 2013 2:07 pm

I forgot to look further into the script...and of course didn't test....

Try changing every instance of "SDB.Player.CurrentSong" to "SDB.SelectedSongList.Item(0)"

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by linn » Sun Feb 24, 2013 1:58 pm

wxdude wrote:On line 97 change

Code: Select all
    Script.RegisterEvent SDB, "OnPlay", "PanelInfom"


to

Code: Select all
    Script.RegisterEvent SDB, "OnTrackListSelectionChanged", "PanelInfom"


This should fire when the main tracklist selection is changed.

Thanks but this doesn't work , part of the page reloads ( amazon) , but no new search.

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by wxdude » Sun Feb 24, 2013 12:49 pm

On line 97 change

Code: Select all
    Script.RegisterEvent SDB, "OnPlay", "PanelInfom"


to

Code: Select all
    Script.RegisterEvent SDB, "OnTrackListSelectionChanged", "PanelInfom"


This should fire when the main tracklist selection is changed.

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by linn » Sun Feb 24, 2013 3:32 am

I guess it is not developed anymore, but it works fine for me.
Anyone knows what code i have to change so the search is performed wen a track is selected , instead of played; as it is now?
thanks

Bing Album Art Search - Album & Singles

Post by limex » Tue Aug 09, 2011 4:08 pm

I dunno why but my google images search for album art stopped working.
I added these panels for a search with bing.
Enjoy.

Code: Select all
  <site>
    <name>BingImagesSingleCovers</name>
    <caption>Bing Single Covers</caption>
    <description>Search Bing for Singles Images</description>
    <start>http://www.bing.com/images</start>
    <url>http://www.bing.com/images/search?filt=all&amp;q="%artist%"+"%title%"+cover&amp;qft=+filterui:aspect-square&amp;FORM=R5IR6</url>
  </site>

  <site>
    <name>BingImagesAlbumCovers</name>
    <caption>Bing Album Covers</caption>
    <description>Search Bing for Album Images</description>
    <start>http://www.bing.com/images</start>
    <url>http://www.bing.com/images/search?filt=all&amp;q="%artist%"+"%album%"+cover&amp;qft=+filterui:aspect-square&amp;FORM=R5IR6</url>
  </site>

Re: WebSearch Panels (updated March 14, 2007) now with insta

Post by elbuzzard » Tue Apr 05, 2011 8:06 pm

lyrics-plugin doesn't search anymore and now gives me:
Upgrade to Lyrics Plugin version 0.4


Anyone have any ideas?

Bugfix: Change '&' to '%26', Delete Content in Brackets

Post by limex » Mon Jan 11, 2010 5:31 pm

I modded the script because ...
- '&' in the Search String (appearing very often in the Artist Tag) is destroying the search string. Webpages expect %26 instead to work
- I have many songs with brackets in the title. i.e. Madonna - Holiday (Megamix). But you don't want to be looking for exactly the Megamix. Madonna - Holiday would be sufficient in many cases. So I stripped the bracketed content.

Here you go:
Find the function ReplaceTokens inside Websearch.vbs and replace with the code below. Feel free to comment out the delete bracket feature.

Code: Select all
    Function ReplaceTokens(ByVal URL, ByVal Song)
       'limex: replace & with the code and delete everything inside brackets
       Dim clean
       Dim openbracket,closebracket, cleanleft, cleanright
        With Song
              clean = Replace(.ArtistName,"&","%26")
            URL = Replace(URL, "%artist%", clean)
            clean = Replace(.Title,"&","%26")
                  'delete brackets content start
                  'comment this section if feature is unwanted
            openbracket = InStr (clean, "(")
            closebracket = InStr (clean, ")")
            If openbracket > 0 And closebracket > 1 And openbracket < closebracket Then
               cleanleft = Trim(Left(clean, openbracket -1))
               cleanright = Trim(Mid (clean, closebracket +1))
               clean = Trim (cleanleft & " " & cleanright)
             End If 
             'delete brackets content end
            URL = Replace(URL, "%title%", clean)
           
            clean = Replace(.AlbumName,"&","%26")
            URL = Replace(URL, "%album%", clean)
           
            clean = Replace(.AlbumArtistName,"&","%26")
            URL = Replace(URL, "%albumartist%", clean)
        End With
        ReplaceTokens = URL
    End Function

Re: WebSearch Panels (updated March 14, 2007) now with installer

Post by TigerSoul » Thu Dec 17, 2009 5:13 am

I see what I think is a huge lack here but it seems nobody has thought about it but I, which is strange, I must be after something strange.

The idea here is that I want a feature in this plugin or by other means to scroll down the webpage within the panel to a certain position X and Y wise to get rid of undesired parts of the webpages. I can't find any information about this, hasn't it been done yet?

Kristian

Re: LyricsPlugin: how to upgrade to 0.3

Post by m_bojangles » Thu Sep 10, 2009 8:47 am

shawn wrote:
greenflash wrote:I fixed it by modifying WebSearch.xml:

Where is this file found?

greenflash wrote:<url>http://www.lyricsplugin.com/winamp03/plugin/?title=%title%&amp;artist=%artist%</url>

What do I do with this string?


WebSearch.xml is found in the Scripts\Auto folder of your MM installation directory (usually Program Files\MediaMonkey).
This file contains all of the entries for the various web sites you want to access with this script.
Each entry looks like this example:
Code: Select all
      <site>
        <name>lyricsplugin</name>
        <caption>lyricsplugin</caption>
        <description>Search current title's lyrics in lyricsplugin.com</description>
        <start>http://www.lyricsplugin.com/</start>
        <url>http://www.lyricsplugin.com/plugin/?title=%title%&amp;artist=%artist%</url>
      </site>


As you can see, the <url></url> part is what is being suggested that you replace. Save the WebSearch.xml after modifying and then restart MediaMonkey.

-m_b

Re: LyricsPlugin: how to upgrade to 0.3

Post by shawn » Thu Sep 10, 2009 5:13 am

greenflash wrote:I fixed it by modifying WebSearch.xml:

Where is this file found?

greenflash wrote:<url>http://www.lyricsplugin.com/winamp03/plugin/?title=%title%&amp;artist=%artist%</url>

What do I do with this string?


Thank you.

Re: LyricsPlugin: how to upgrade to 0.3

Post by greenflash » Sat Aug 01, 2009 9:41 pm

When you try to edit the lyric in the current panel setup it prompts to upgrade to 0.3...
I fixed it by modifying WebSearch.xml:

<url>http://www.lyricsplugin.com/winamp03/plugin/?title=%title%&amp;artist=%artist%</url>

And you get some different features. Hope it's useful for someone!

I finally got my MM as I like it. Thanks!!

Post by charlyg » Sat Aug 01, 2009 6:27 pm

Hey finally with the lyrics webpanel, monkeyrok, magic nodes, now playing and of course monkeyflow, it's my MP3 dream!!
Image

Finally something to rival songbird's lyrics!!!

Post by charlyg » Sat Aug 01, 2009 5:13 pm

Thanks!!! finally could dump that minilyrics stuff and can get simply lyrics as in Songbird, but in MM. And lyricsplugin.com have LOTS of lyrics. I don't really needed them to roll up for karaoke, just to read them. THANKS!!!

Re:

Post by charlyg » Sat Aug 01, 2009 5:09 pm

DiddeLeeDoo wrote:Actually, I didn't get that ActiveX warning. This most likely is related to the 'My Computer' Security Zone.

Internet and Intranet Zones are configurable by the Control Panel - Internet Options - Security, but the Zone for "My Computer" is hidden in the Registry.

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0
Key 0="My Computer"


If only that this at last fixed my issue with MonkeyRok always prompting for authorization! :) Thanks.

Top