Created
June 29, 2014 17:45
-
-
Save saihtaM/0332b84f1499f4329632 to your computer and use it in GitHub Desktop.
Click on link with Spotify URI in your mIRC client. Uses DDE ( http://www.mirchelp.net/helpfile/dde.htm ) for talking directly with Spotify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias -l spotrx { return /(?:http:\/\/open\.)?spotify(?:\.com)?.(track|artist|album|user.*playlist).([0-9a-zA-Z]+)/ } | |
on $*:HOTLINK:$($spotrx):*:{ dde -e Spotify OpenLink $+(spotify:,$replace($regml(1),/,:),:,$regml(2)) } | |
on $^*:HOTLINK:$($spotrx):*:{ return } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment