tglogo.png
0 LIKES

Snippet


mIRC Spotify Now Playing

In Category General IRC Posted by guest On 02/11/12

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
; 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.
}


Comments 1

Belon - Thursday, 5 August, 2021
can't download spotify.dll the files not exist anymore

Please note that on our website we use cookies necessary for the functioning of our website, cookies that optimize the performance. To learn more about our cookies, how we use them and their benefits, please read our Cookie Policy.
I Understand