Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Spotify now playing for mIRC

License

NotificationsYou must be signed in to change notification settings

turbosmurfen/spoton

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Note

Due to lack of time I dont update the code and script anymore.

Github All ReleasesCodeQL

Spoton - Spotify Now Playing for mIRC

Spoton on mIRC 7.67

Spoton running on mIRC 7.67

Requirements

  • Supported Operating System: Windows 10 and 11.
  • Visual C++ Redistributable 2015-2022 (x86)
  • mIRC Version: 7.61 - 7.78
  • Spotify Version: 1.1.91 - 1.2.52
  • HDD/SSD Space: 17,5 KB

Note

mIRC and Spotify version ABOVE is not going to be updated frequently.

Installation

  1. Downloadspoton_vx.x.x.zip zip archive of Spoton in Assets in theReleases section.
  2. If you don't haveVisual C++ Redistributable 2015-2022 (x86) installed, download from here:https://aka.ms/vs/17/release/vc_redist.x86.exe.
  3. Right Click on the archive which is namedspoton_vx.x.x.zip, extract the archive.
    • Optional - verify the hash:
      1. Open up powershell andcd tospoton_vx.x.x folder.
      2. Run this commandGet-FileHash spoton.dll.
      3. Then look if the sha256 checksum is correct fromReleases.
      4. If it's correct you should be fine.
  4. Open mIRC.
  5. In mIRC, write//run $mircdir, then move spoton.dll from the downloaded archive to the opened folder.

Usage

Use:$dll(spoton.dll,command,)

CommandDescription
versionVersion of the plugin
creatorCredits of the plugin creator
status0 - Spotify is not running, 1 - Spotify is paused, 2 - Spotify is playing an advertisement, 3 - Spotify is playing a track.
songThe entire window title, usually "artist - song title"
artistIf the title contains a dash ("-"), returns the left side, usually the artist. Otherwise, nothing.
titleIf the title contains a dash ("-"), returns the right side, usually the song title. Otherwise, nothing.

Controlling Spotify from mIRC

Use:/dll spoton.dll controlcommand

CommandDescription
playpausePlays or Pauses the track.
playPlays the track.
pausePauses the track.
nextPlay next track.
previousPlay previous track.
forwardForward the current track.
rewindRewind the current track.
showOpen the Spotify Window.

Show current song as status

Please ensure Spoton aliassnp is not triggered by any other scripts.

To add the script:

  1. In mIRC, click onScripts Editor orALT +R
  2. Select Remote.
  3. Click on File > New.
  4. Copy the code below and paste inside the new Script file
  5. Save. Now you can use/snp in any channel or private messages.
alias snp {  var %status $dll(spoton.dll,status,)  if (%status == 3) say Spotify » $dll(spoton.dll,song,)  else echo -ag Spotify is $replace(%status,0,Not Running,1,Paused,2,Playing Advertisement)}

Add playback buttons to interface

This script adds playback buttons to your chat interface. Playback buttons is disabled by default.

  1. Download and extract the archive "Spoton.mIRC.Addon.zip"
  2. Copy the contents and paste to the mIRC folder. Ensure you have spoton.dll there as well (from releases).
  3. Type/load -rs spoton.mrc in mIRC. The script will return that it is loaded.
  4. Right click in status > Spoton > Interface, and toggle the playback buttons.

Removal:

  1. Type/unload -rs spoton.mrc in mIRC.
  2. Remove spoton.dll and the folder img.

Frequently Asked Questions

Q: I can't find vx.x.x on download section, what do I do wrong?

A:x.x.x stands for the version number, look for that in releases.

Q: How does Spoton work?

A: It works by using the Windows API calls from Spotify to detectartist - title, plus using Spotify's media controls.

Q: Does Spoton require a Spotify API key or internet connection?

A: No. Spoton does not use Spotify API keys and it works offline.

Q: I am getting an error:$dll: unable to open 'C:\Users\USERNAME\AppData\Roaming\mIRC\spoton.dll

A: This can show up for 2 reasons:

  1. You have put the DLL file in the wrong location.
  2. You need to installVisual C++ Redistributable 2015-2022 (x86)

Q: I am getting an error:/echo: insufficient parameters orArtist - ??? ?????? ??? or nothing.

A: You are using an outdated version of Spoton. Please update.

Credits

I have learned more about making mIRC reading and writing for DLL-file fromWikichip
Thanks to@Westor for helping me out with fixing vulnerables and other things in the "Spoton mIRC Addon".
Thanks to@moobsmc for Stop Control for Spotify.
Thanks to@Madis0 for helping me with the readme and other things.


[8]ページ先頭

©2009-2025 Movatter.jp