


greenflash wrote:I fixed it by modifying WebSearch.xml:
greenflash wrote:<url>http://www.lyricsplugin.com/winamp03/plugin/?title=%title%&artist=%artist%</url>

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%&artist=%artist%</url>
What do I do with this string?
<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%&artist=%artist%</url>
</site> 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 FunctionUpgrade to Lyrics Plugin version 0.4
<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&q="%artist%"+"%title%"+cover&qft=+filterui:aspect-square&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&q="%artist%"+"%album%"+cover&qft=+filterui:aspect-square&FORM=R5IR6</url>
</site>
Script.RegisterEvent SDB, "OnPlay", "PanelInfom" Script.RegisterEvent SDB, "OnTrackListSelectionChanged", "PanelInfom"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.
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)"
Users browsing this forum: No registered users and 13 guests