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

76 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. Anonymous23/7/09 15:24

    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. Anonymous15/9/09 17:26

    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. Anonymous26/9/09 13:40

    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. Anonymous6/11/09 19:22

    Thank you, this helped a lot.

    ReplyDelete
  10. Awesome! This was really beginning to annoy me. Worked straight away :-)

    ReplyDelete
  11. Anonymous27/3/10 11:01

    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. Anonymous29/5/10 12:48

    Great! This totally worked for me with my Logitech Illuminated Keyboard and Spotify

    ReplyDelete
  18. Anonymous1/6/10 18:51

    It works great! Logitech MK300 and Windows 7 and latest SetPoint! :)

    Thanks!

    ReplyDelete
  19. Anonymous1/6/10 20:44

    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. Anonymous7/7/10 18:39

    You, Magnus, are a hero. Thanks!

    ReplyDelete
  21. Anonymous25/7/10 17:13

    this dont work with setpoint 6.15

    ReplyDelete
  22. Anonymous11/8/10 22:21

    Thanks! This worked for me, win7 x86, setpoint 6.15

    ReplyDelete
  23. Anonymous13/8/10 06:19

    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. Anonymous2/2/11 20:48

    Great post, thanks for your help!

    ReplyDelete
  28. Anonymous28/2/11 12:56

    Works on XP sp 2 too! Thanks for the help!

    ReplyDelete
  29. Anonymous31/3/11 17:18

    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. you're awesome!

    ReplyDelete
  32. thank you so much for the help!

    ReplyDelete
  33. Thanks!
    I was really annoyed at the play/pause problem.

    ReplyDelete
  34. Thanks a lot man, problem solved :D

    ReplyDelete
  35. Amazing! Thanks a ton. This was the last annoyance I had in the way of fully dropping iTunes.

    ReplyDelete
  36. Glad to help (and to see that finally you are getting Spotify in the US)!

    ReplyDelete
  37. Martin Johansson1/8/11 00:03

    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
  38. 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
  39. 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
  40. 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
  41. Anonymous12/9/11 01:56

    Hi, do now how i can make the media keys on my g19 to work with spotify?

    ReplyDelete
  42. Anonymous14/9/11 20:11

    Does this work with G110? I just can't seem to get it working.

    ReplyDelete
  43. Just updated my spotify and it works perfectly for my logitech G510!

    <3333333

    ReplyDelete
  44. Anonymous26/9/11 02:58

    I have logitech wireless keyboard K350, and this doesn't work! :S i have done what you describe, but no luck...

    ReplyDelete
  45. @26/9/11 02:58
    Have you tried to restart your PC?

    ReplyDelete
  46. And clicking ctrl+shift+esc and shutting off WMP(Windows Media Player) also help :)

    ReplyDelete
  47. Worked perfectly. Thanks

    ReplyDelete
  48. I had to kill wmp (x2) processes. Then play/pause worked normally!

    ReplyDelete
  49. jami kivelä22/3/12 18:08

    ok the play started working but now the next song button doesn't work..

    ReplyDelete
  50. Anonymous24/3/12 18:07

    Thank you so much! This has been annoying me for ages.

    ReplyDelete
  51. Amazing post! It's really lazy by Logitech to not fix this issue since Spotify is used by millions now and there's probably some of them that has to live with SetPoint... Definitely bookmarked if I ever have this issue again!

    ReplyDelete
  52. Anonymous10/5/12 10:30

    Works like a breeze :) Thank you very much!

    ReplyDelete
  53. doesn't work here, please help :(

    ReplyDelete
  54. Editor, post your system details here (OS version, 32/64 bit, language) and your complete player.ini file here and I will have a look.

    To the others having problems, try closing all other media players (Windows Media Player, iTunes, etc.)

    ReplyDelete
  55. Anonymous2/6/12 19:09

    wow...

    Thank you a million for that! It was driving me crazy and I've been searching the interwebs for 3 days!! Worked flawlessly with K360 under windows 7 X64.

    What's most impressive is that Logitech still didn't solve this issue after all this years! Whatever!!

    ReplyDelete
  56. Anonymous18/6/12 23:44

    Works great with my MX5500 keyboard. Anyone know how to get Spotify play info to display on the MX5500's screen?

    ReplyDelete
  57. Anonymous11/7/12 14:12

    super great! thanks

    ReplyDelete
  58. Anonymous30/7/12 19:27

    Hi,

    I have previously used your workaround for multiple logitech keyboards and it has always worked flawlessly. Though with my new Keyboard (MX5500 and SetPoint 6.32.7 on Win7) I still have the issue with that when Spotify is not in focus, the music might "mute", but I can see that the Timeline-indicator is still moving, alas the music is still playing, just not out loud. When the song hits the end, playback of the next song is being started and suddenly it is out loud again. I can't seem to pause the playback, just the volume?

    This is annoying as heck and I was wondering if anyone else has this problem or could pinpoint where its coming from?

    Great thanks!

    ReplyDelete
    Replies
    1. Hi,

      I am usinng the same version of SetPoint with a different keyboard. Everything is working fine. Could you reboot the system and if it still does not work paste in the [Players] section of the ini file here?

      Regards,
      Magnus

      Delete
    2. Anonymous31/7/12 00:20

      Hi Magnus,

      thanks for your reply!
      I am such a numbskull. Just realized, as I was about to copy the [Players]-section, that I had put the code-snippet in the [Players.RUN]-section. Duh...
      Now it works correctly, as it should with your fine piece of code. =)

      Thanks again for the quick support!

      Regards,
      Anon

      Delete
  59. Works great! Thanks a lot! I annoyed myself a lot because of this problem but with your fix it works like a charm! :-)

    ReplyDelete
  60. Anonymous7/2/13 11:37

    Hello, my Logitech MX wireless keyboard works great now with Spotify. Thanks for the code! Gött mos!
    //Patrik, Floda

    ReplyDelete
    Replies
    1. Anonymous7/2/13 15:30

      Strange, now it stopped working when Spotify is not in focus. In focus it works. I read an earlier post that it helped by killing Windows Media player (x2) processes, and when I do that it works. But only for about 5 seconds, after that time WMP autostarts and the buttons don't work for Spotify again. Not sure why WMP is running in the background and autostarts all the time... hope someone have a sollution. Many thanks!

      Delete
    2. Try moving the Spotify-line to beginning of the [Players] section, Patrik. That may work. Hei då.

      Delete
    3. Anonymous7/2/13 17:30

      Sorry, did not help.

      Delete
    4. Don't know then, really. I don't use this setup anymore.

      Delete
    5. Anonymous7/2/13 18:05

      SOLVED!
      Since it worked as long as Windows Media Player proccess wasn't running I search the web for som info why it autostarted a few seconds after I killed it. I found this: http://icrontic.com/discussion/90639
      I forgot I have a Logitech G15 for gaming and it has a LCD display that runs a gadget version of WMP.
      Now my keyboards works great. Thanks once again Magnus for your original code. It is embarassing that a big company such as Logitech can't put this code into Setpoint!

      Delete
  61. Anonymous3/3/13 07:28

    Any chance of a mod for mog?? That's be awesome. Been playing around trying to get it to work but no Joy!

    ReplyDelete
  62. Anonymous15/5/13 10:52

    works great, thanks :)

    ReplyDelete
  63. This is fantastic. Worked like a charm. Thanks for sharing your skills.

    ReplyDelete
  64. Anonymous1/2/14 18:42

    Downgrading Setpoint to 6.32 works too.

    ReplyDelete
  65. Thank you Magnus Akselvoll ;)
    Work perfectly on Logitech K800 with W8.1x64

    ReplyDelete
  66. Anonymous16/6/14 22:04

    I'm using the Y-UY95 and I downloaded the newest version of Setpoint (6.65) and I have no clue how to get passed this as there is no spotify option on the mediaplayer function button on setpoint. Anyone with some more skills around willing to help?

    ReplyDelete