About this snippet
Overview
I released a Spotify Now-Playing DLL for mIRC which read the title from Spotify window. To use this simple script you need to download the latest DLL file on github https://github.com/turbosmurfen/spoton/releases, and then follow the simple information at https://github.com/turbosmurfen/spoton/wiki/Howto. Use /snp to write out the title.
Edit: Updated the Script to use the correct MSL variable. Edit 2: Updated the script to follow the correct way.
Edit: Updated the Script to use the correct MSL variable. Edit 2: Updated the script to follow the correct way.
alias snp {
var %status $dll(spoton.dll,status,)
if (%status == 0) echo -a Spotify is not running.
else if (%status == 1) echo -a Spotify is paused.
else if (%status == 2) echo -a Spotify is playing Advertisement.
else {
say Spotify » $dll(spoton.dll,song,)
}
}
