SpotiAmp

 

Spotify is a great service! I have been using it for quite a while, but I felt that something was missing.
Winamp has been my main player for years and I got inspired to make a combination support thing with this application, here is what SpotiAmp is all about.

SpotiAmp v0.95

Features

  • Global keyboard hotkeys to control play, stop, pause, next, previous, volume up/down and mute
  • Mute commercials / ads. It comes with a price, read about below!
  • Simple Webserver support, now Ajax-support
  • Winamp WM_COMMAND / WM_WA_IPC support to let other applications (like girder) control Spotify
  • Version 0.95 fixes bugs regarding the interface and have some new eye candy

Requirements
You must install Microsoft Visual C++ 2010 SP1 Redistributable Package to use SpotiAmp (This also apply to Vista and Windows 7!)

    32-bit version (You need 32-bit, even if you have a 64-bit system. Spotiamp is a 32-bit software)

Download

Download html for webserver
The Ajax HTML shall be unpacked in the same directory as the Spotiamp.exe.
If you put Spotiamp.exe in the same directory as Spotify then the directory structure should look like this:
C:\Program Files\Spotify\Spotify.exe
C:\Program Files\Spotify\Uninstall.exe
C:\Program Files\Spotify\SpotiAmp.exe
C:\Program Files\Spotify\html\ <-- All files from ajaxhtml.zip here

Download old versions (v0.9 uses 2010 Redist, older 2008)

You must install Microsoft Visual C++ 2008 SP1 Redistributable Package to use SpotiAmp v0.8 (This also apply to Vista and Windows 7!)
32-bit version

Known limits:
1. It has been tested with Windows XP (SP3) and Windows 7. Vista suck and does not work quite right. Wine is NOT supported!
2. This version is confirmed working with Spotify v0.9.7.17 (Spotify updates itself each time you start it, you should check version, if you have trouble)

Global hotkeys, neat
SpotiAmp hotkeys
You select the hotkey combination you like. Windows-key has also been added (made a new hotkey-ctrl for that silly button).
Should be pretty straight forward to configure, you’ll get an error if a combination already exists.

Mute commercials, wtf?
SpotiAmp commercial muting
I know, but after hours of programming I got really, really, reeeeally tired of the commercials.
Audio commercials should be banned in my eyes, especially when Spotify actively pauses when you want to mute. This is your counter-measure, but remember it could easily be “fixed” by Spotify-crew if they want.
In the other end Spotify needs to live and royalties has to be paid. Just to nag you and not letting you forget that you don’t use premium a nag-screen has been implemented.
It looks like this:
SpotiAmp nagscreen
(Note: If Spotify actively contacts me regarding this function, I will permanently remove the feature.)

Webserver support
Download the really simple html-page and extract it in the same where you have SpotiAmp.exe (desktop is not a good place for it, if you want to use webserver).

A really simple interface has been added, by requesting control.htm?[command] on the port the server is opened to a command is executed.
Here are the [command] alternatives: PREV, PLAY, NEXT, VOLUP, VOLDOWN and MUTE.

If the SpotiAmp works in Wine a simple wget should be able to execute commands on your Spotify :) Perfect for HTPC computers who want to control Spotify a little.

The html look like shit and if you bother check out degeros version. Neat solution to grab the screen!

Winamp WM_COMMAND support
Many people have Girder or something similar together with a remote (or simular).
By adding a simple WM_COMMAND Winamp-style based IPC you’ll manage Spotify the same way as Winamp.
It fakes the Winamp v1.x window and you can use the PostCommand(::FindWindow(NULL, L”Winamp v1.x”), WM_COMMAND, NULL, WINAMP_BUTTON2) or simular.

Please check out Winamp developer site and download the SDK extract the WINAMPCMD.H and wa_ipc.h. Most functions are not supported, but you can control the basics.

Comments
If you have any comments regarding the release, please add it below.

 Posted by at 22:44:15

  116 Responses to “SpotiAmp”

  1. HI,

    It works fine, but could be possible change the app so when I minimized it, disappear from my task bar, and stay as a background aplicacion?

  2. Is this updated still? Would it be possible to change playlists? Else it seems to work very well :)

    • Hi, it is not heavily updated, but it works as expected.
      It does not change the playlists by command, but if there has been introduced keyboard shortcuts or simular it can be integrated.

      Cheers, Lars

  3. Hi again

    I don’t use spotify that much lately,but when I do and I try using spotiamp I came across some annoying behaviour that keeps me from using spotiamp. Whenever an ad is playing, spotiamp is trying to mute it and now it is stuck in some endless loop, the name of the song is alternating with “paused”, spotify is paused and there’s no way out of it other than closing spotiamp and manually unmuting.

    Thanks

    Shay

    • Hi Shay,

      It might be changes in the Spotify client, I dunno since I pay for premium.
      Without running Spotiamp, try this while a commercial is running:
      1. Press mute On in Windows
      2. Notice that Spotify client automatically pauses the commercial.
      3. Press play, without unmuting.

      Here you can have 2 scenarios:
      1. If the commercial still continues, the commercials.ini file is probably wrong.
      Try to rename it to something else, and start collecting commercials again.
      2. If it pauses again, the Spotify client have changed behaviour.
      Please let me know what is the smallest volume it continues to play on…

      -Lars

  4. […] Spotify Friends Una de las comunidades más grandes para compartir listas spotify con cerca de 8000 miembros. […]

  5. […] SpotiAmp Un plugin para Spotify en Windows que agrega la funcionalidad de teclas rápidas, silenciando de anuncios, inferface de control basado en web y más. […]

  6. […] Spotify Friends Una de las comunidades más grandes para compartir listas spotify con cerca de 8000 miembros. […]

  7. I like SpotiAmp and use it all the time, but lately the commercials are using just an artist name with no title at all, and looks like SpotiAmp cannot deal with this.
    Also – I’m using the french version of Spotify and SpotiAmp cannot deal with special letters (e.g letters with accents).

    Is this possible to publish the source code? or even just restructure the software such that the whole regular expression match will be in its own DLL and publish this code?
    Thanks in advance

    • Thank you for the feedback Shay.
      Could you please send/paste me the commercials.ini file when it failes?

      Also examples on the “special” characters, I think I might have forgotten some Unicode for handling the text?

  8. What do I have to do to make it work with girder?

    • What do you want Girder todo with Spotiamp, send hotkeys?
      Create a new command: Under “Keyboard” put in whatever hotkey combo SpotiAmp/Spotify uses.

  9. can’t you upload a commercial.ini that includes all commercials that can be avoided for now?

    • Sorry no… I’m currently paying for Spotify and don’t use the commercial-part of the app anymore.
      I guess adding Spotify* in both artist/song will mute a lot of crap ;)

  10. […] Fuente LikeBe the first to like this post. […]

  11. […] y cada vez que oigas un anuncio puedes marcarlo como publicidad y la siguiente vez que lo emitan SpotiAmp lo […]

  12. Still no news abaout why it only mutes the left speakers on some systems?

    • I haven’t been able to reproduce the issue.

      My suggestion is to update the sound drivers + SRS software since Spotiamp mutes the “master” channel. When master is muted no sound should be heard from any software.

  13. […] tu teclado para controlar completamente spotify (espotifai o spoti para los amigos xD). Se trata de SpotiAmp […]

  14. The program can’t find the ‘MS Visual C++ 2008 SP1′ in Windows 7 x64.
    Yes it’s installed.

  15. Any fixes for the muting of only the left speakers? If I click the mute button four times it mutes both sides, but it does not do it automatically.

  16. Thanks for a very nice software.

    I love you Lars, you make my computer life a lot easier.

    Keep on rocking.

  17. Thank you for this wonderful tool.
    It works great on my desktop, but on my netbook I get the error message “Could not find Visual C++ 2008 SP1 runtime files. …” when I try to run.
    I’ve installed and reinstalled the Visual C++ 2008 SP1 Redistributable Package several times but no luck. Seems like SpotiAmp is looking for the runtime files at the wrong location.
    Any idea how to fix this?
    Running Windows 7 Home Premium 64-bit.

  18. Har Spotify 0.4.3.426, WinXP, og SpotiAmp 0.8. Dell laptop med “IDT High Definition Audio Codec” og “SRS Premium Sound”.

  19. Nei, forresten, den muter venstre, men ikke høyre.

Leave a Reply