DLL to be used with mIRC and obtain Spotify status without needing to access the API
Download the latest release
List of mircify.dll procedures
Returns the current state of Spotify, which could be:
0
if Spotify is not running.1
if Spotify is running but not playing song (paused).2
if Spotify is running and playing advertisement.3
if Spotify is running and playing song.
Usage: $dll(mircify.dll, status, $null)
Returns the song currently playing on Spotify. Will return an empty if Spotify is not running, paused or playing advertising.
Usage: $dll(mircify.dll, song, $null)
Returns the artist of the song currently playing on Spotify. Will return an empty if Spotify is not running, paused, playing advertising or if there is no " - "
.
Usage: $dll(mircify.dll, artist, $null)
Returns the title of the song currently playing on Spotify. Will return an empty if Spotify is not running, paused, playing advertising or if there is no " - "
.
Usage: $dll(mircify.dll, title, $null)
Spotify media controls.
Usage: /dll mircify.dll control <cmd>
<cmd>
can be:
playpause
play or pause playbackplay
play trackpause
pause tracknext
go to next trackprevious
go to previous track
Prints dll information in the active window.
Usage: /dll mircify.dll dllInfo
Returns the dll version.
Usage: $dll(mircify.dll, version, $null)
Dependencies:
- Nim 2.0.0 or higher;
- C compiler (GNU GCC, LLVM Clang or Microsoft Visual C++); and
- Nimble Packages: mdlldk 0.2.0 or higher; and winim 3.9.2 or higher.
Clone this repository and type: nim c --app:lib --cpu:i386 --mm:arc --noMain -d:noRes -d:useMalloc -d:danger --threads:off src/mircify