Skip to content
TG007 community snippet #69

mIRC Spotify Now Playing

A small snippet and a .dll that allows you to retrieve the current playing track from spotify. You may download spotify.dll from: http://www.tg007.net/dls/file/1460

By guest Added Feb 11, 2012
General IRC All snippets
mIRC script 35 lines
About this snippet

Overview

A small snippet and a .dll that allows you to retrieve the current playing track from spotify.
You may download spotify.dll from: http://www.tg007.net/dls/file/1460
Source code

mIRC script

35 lines · 903 characters
; spotify now playing script
; written by Aaron Blakely <[email protected]>
;
; Requires spotify.dll, get it here: http://www.tg007.net/dls/file/1460
; Put spotify.dll in your mIRC directory.
 
 
on *:START: {
  timer -o 0 1 setnp
}
 
alias spotifynp {
  ; used for including this np in your own scripts
  ; not much other use, change the format here or do some
  ; string opperations in your own alais, to extract the data.
  ; ~ Aaron
 
  return $dll(spotify.dll, song,) - $dll(spotify.dll, artist,)
}
 
alias setnp {
  if (%lastnp != $spotifynp) {
    set %lastnp $v2
    clipboard $v2
  }
}
 
alias np {
  ; change the format if you desire.
  ; artist: $dll(spotify.dll, artist,)
  ; song: $dll(spotify.dll, song,)
  ; Will add support for others soon.
  ; ~ Aaron
  me is listening to ' $+ $dll(spotify.dll, song,) $+ ' by $dll(spotify.dll, artist, ) on Spotify.
}
Community

Comments

Want to join the discussion? Sign in to TG007.
BelonThursday, 5 August, 2021
can't download spotify.dll the files not exist anymore