04 March 2009

Make Spotify work with Logitech SetPoint

Edited 25.03.2011 to match current version of Logitech SetPoint.

If you use a Logitech keyboard with media keys (such as my Logitech Elite Media Keyboard), you might need to do some tweaking to make the media keys work with Spotify (play, pause, stop, skip). This tweak assumes that you use the latest version of Logitech SetPoint (currently v 6.20.50) in Windows 7 (Vista may also work).

You will probably notice that media keys work well when the Spotify window has focus, while they work unreliably (may pause but not play again) when the window is either minimized or behind other windows.

The procedure to fix this is as follows:

  1. Close Logitech SetPoint by right-clicking the icon in the system tray.
  2. Open notepad as administrator (right click and Run as administrator).
  3. In notepad, open the file "C:\Program Files\Logitech\SetPointP\players.ini" (your folder may be named SetPoint instead of SetPointP on older versions or upgrades). (Hint: If you don't see the file, you must select "All Files" in the drop down that says "Text Documents)
  4. At the end of the section [Players], add the following line:
    spotify=wac,spotify.exe,SpotifyMainWindow,xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Spotify
  5. Save the file. (If this fails or the Save As dialog pops up, this is probably because you didn’t run notepad as admin. Since this is inside the Program Files directory, you need to be admin to edit.)
  6. Launch SetPoint again ("Mouse and Keyboard Settings" in the start menu or restart the system) and verify that the media keys now work better.

PS. To do the same for foobar2000 v0.9.6.2, the line to add is as follows:
foobar2000=wac,foobar2000.exe,{97E27FAA-C0B3-4b8e-A693-ED7881E99FC1},xxx,xxx,xxx,xxx,xxx,xxx,xxx,0,1,Foobar2000

50 comments:

  1. Thanks for this great post!

    Cheers from Finland
    ReplyDelete
  2. You're welcome Niklas. I refer to this post myself whenever I reinstall my operating system :-)
    ReplyDelete
  3. This does not work with the latest Spotify player and Setpoint 4.72.
    I'm running Windows 7 Beta 7600 and can't understand why this seems to be hard to implement.
    ReplyDelete
  4. First of all, this is not hard at all to implement. The problem is that Logitech Setpoint is very poorly designed software.

    I just reconfigured my system (Windows 7 RC 7100 x64) and it still works (with the latest spotify).

    If you post your players.ini file here, I will see if I can debug your problem.
    ReplyDelete
  5. I just gotta love you people that come up with these kinds of small fixes to bad software like Setpoint. Thanks a bunch, works perfectly!
    ReplyDelete
  6. Do you know how to display the Spotify information of the song playing in the LCD display?
    ReplyDelete
  7. No, sorry. My keyboard has no lcd display.
    ReplyDelete
  8. Thanks a million for this tip. Works perfectly (Spotify ver. 0.3.19rev52352 and SetPoint ver. 4.8.103). Now I can use my Dinovo Edge without any problems for Spotify.
    ReplyDelete
  9. Thank you, this helped a lot.
    ReplyDelete
  10. Awesome! This was really beginning to annoy me. Worked straight away :-)
    ReplyDelete
  11. Works perfectly!
    ReplyDelete
  12. tnx alot!

    it bugged me alot when it worked without setpoint and didnt when I installed it, but now it works like a charm again :D
    ReplyDelete
  13. it didnt work, setpoint wasnt started... :S

    Windows 7
    Spotify v. 0.4.3.383.g278a6e51
    Setpoint v. 6.00.84

    Drivers v. 4.90.80 (shouldnt matter)
    ReplyDelete
  14. Hi Linder. I just tested this again on Windows 7 (x64) with the same versions of Spotify and Setpoint as you did, and it is working fine.

    Could you double check that you followed the procedure? Note that if you have more than one media player open (iTunes, Windows Media, etc), it may not work.
    ReplyDelete
  15. Nope, just Spotify and Setpoint running, shall reinstall windows now and see if that works :/

    without setpoint it works as it should, and with it on it just works when spotify is in focus
    ReplyDelete
  16. Sure. Don't hesitate in contacting me (@magnusak on twitter) or here through the comments if you need any advice.
    ReplyDelete
  17. Great! This totally worked for me with my Logitech Illuminated Keyboard and Spotify
    ReplyDelete
  18. It works great! Logitech MK300 and Windows 7 and latest SetPoint! :)

    Thanks!
    ReplyDelete
  19. Thanks, this has been bothering me for a few weeks now.
    The fix worked perfectly and it lets me mute&play past commercials again :)
    I should really learn to google things sooner because usually solutions like this are right around the corner.
    Thanks again!
    ReplyDelete
  20. You, Magnus, are a hero. Thanks!
    ReplyDelete
  21. this dont work with setpoint 6.15
    ReplyDelete
  22. Thanks! This worked for me, win7 x86, setpoint 6.15
    ReplyDelete
  23. Worked like a charm, thank you!

    Logitech Illuminated & diNovo Edge w/ SetPoint 6.15.6 and latest Spotify (0.4.3.426) on Windows 7 x64.
    ReplyDelete
  24. I can also confirm that this works in version 6.15, but if you upgrade from an earlier version you have to re-apply the procedure (it overwrites the players.ini).
    ReplyDelete
  25. Works wonderfully with Setpoint 6.15.6 and a Wireless Waves Keyboard
    ReplyDelete
  26. Thanks very much for this - bought a new Media Keyboard 600 a few days ago and Spotify was sometimes working with it, sometimes not.

    Now after following this guide it's working perfectly!
    ReplyDelete
  27. Great post, thanks for your help!
    ReplyDelete
  28. Works on XP sp 2 too! Thanks for the help!
    ReplyDelete
  29. Genius fix! Thank you.

    Works on XP sp3 and Set Point 4.80.
    ReplyDelete
  30. Thanks a lot, I've had a problem with Spotify being "muted" for a while when trying to pause it, and then it coming back randomly, really fucks me up when I watch videos on YouTube. ;) This fixed it, and I also got the driver for my gaming mouse :)
    ReplyDelete
  31. thank you so much for the help!
    ReplyDelete
  32. Thanks!
    I was really annoyed at the play/pause problem.
    ReplyDelete
  33. Thanks a lot man, problem solved :D
    ReplyDelete
  34. Amazing! Thanks a ton. This was the last annoyance I had in the way of fully dropping iTunes.
    ReplyDelete
  35. Glad to help (and to see that finally you are getting Spotify in the US)!
    ReplyDelete
  36. Martin JohanssonJul 31, 2011 03:03 PM
    Seems to work great.. But the specialkey (F9 - note) for opening a mediaplayers mainwindow doesn't work. I can't select spotify in Setpoint-settings, only iTunes and WMP in that list. Is there a way to add Spotify there as well?
    ReplyDelete
  37. Hi,

    I've used this to great success in Spotify. You're a saviour! :-)

    Any chance a trick like this can be used to get the buttons to work with itunes when it is minimised to the tray?

    Thanks :-)
    ReplyDelete
  38. YEAH! Awesome man! I applaud you.

    This might help some of you others:
    I didn't get it to work at first. The problem was that I pasted the line of code at the end of the players.ini file. Thats NOT correct! You have to paste it at the end of the SECTION "Players" inside the players.ini file (exactly as he said, I just didn't RTFM firmly)

    Hope this will help you guys that are as stupid as me!
    ReplyDelete
  39. Don't work for me. i put it after the first set of lines under (#Pctutu=key,PPStream.exe,xxx,xxx,xxx, , ,^S,^0x21,^0x22,0,1,Pctutu) am i putting it wrong or?

    SetPoint version 6.30.41
    Windows 7 x32
    and Logitech G510
    ReplyDelete
  40. Hi, do now how i can make the media keys on my g19 to work with spotify?
    ReplyDelete
  41. Does this work with G110? I just can't seem to get it working.
    ReplyDelete
  42. Just updated my spotify and it works perfectly for my logitech G510!

    <3333333
    ReplyDelete
  43. I have logitech wireless keyboard K350, and this doesn't work! :S i have done what you describe, but no luck...
    ReplyDelete
  44. @26/9/11 02:58
    Have you tried to restart your PC?
    ReplyDelete
  45. And clicking ctrl+shift+esc and shutting off WMP(Windows Media Player) also help :)
    ReplyDelete
  46. Worked perfectly. Thanks
    ReplyDelete
  47. I had to kill wmp (x2) processes. Then play/pause worked normally!
    ReplyDelete