Hi there,
Last year, I made for myself a simple modification to this script, to let me enter web URL's in the Comment field.
The result is straightforward and open URL in Internet Explorer or any default active web browser that uses IE engine.
MOD:With a text editor, open the file: Mediamonkey\Scripts\Auto\LyricsViewer.vbs
The HtmlMarkup function (line 407) needs to be changed
from this:
- Code: Select all
Function HtmlMarkup(Txt)
Txt=Replace(Txt,"<","(")
Txt=Replace(Txt,">",")")
HtmlMarkup=Replace(Txt,vbNewLine,"<br>" & vbNewLine & " ")
End Function
to this:
- Code: Select all
Function HtmlMarkup(Txt) 'Mod by Eyal - Sept 5, 2011.
Txt=Replace(Txt, "[[", "<a target=" &Chr(34) &"_New" &Chr(34) &" href=" &Chr(34)) '&"http://")
Txt=Replace(Txt, ">", Chr(34) &">")
Txt=Replace(Txt, ">]", ">(link)]")
Txt=Replace(Txt, "]]", "</a>")
HtmlMarkup=Replace(Txt,vbNewLine,"<br>" & vbNewLine & " ")
End Function
- Save the file.
- Close and restart MediaMonkey.
HOW TO USE:In the Comment field, an URL
- must be delimited in double bracket,
- must begin with http:// and end with > sign,
- can be followed by an optional descriptive text.
EXAMPLES:- Comment: CD bought on [[http://www.psyshop.com/shop/CDs/sut/sut1cd021.html>Psyshop]] April 7, 2012.
- Displays: CD bought on
Psyshop April 7, 2012.
- Comment: CD bought on Psyshop.com [[http://www.psyshop.com/shop/CDs/sut/sut1cd021.html>]] April 7, 2012.
- Displays: CD bought on Psyshop.com
(link) April 7, 2012.
- Comment: Album released 2011-03-03 on [[http://www.suntriprecords.com/release/cat/SUNCD21/>Suntrip Records]] label. [[http://www.discogs.com/release/2751823>Discogs link]]. Also available as digital on [[http://www.beatport.com/release/exodus/352030>beatport]] music store site.
- Displays: Album released 2011-03-03 on
Suntrip Records label.
Discogs link. Also available as digital on
beatport music store site.
Cool, isn't it?
:~)
Eyal