OSX Spotify controller

Another Mac controller... Since I use my Mac Mini as central hub, I'm adding some NEEO drivers to control the Mac Mini. This one shows the current track name & artwork on the remote and let you navigate the current playlist via the remote.

 

https://github.com/meijerpeter/neeo-osx-spotify-controller

 

Let me know if you have any issues!

Reply
17replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Peter Meijer

    Sounds very cool. Would love something similar but currently stream Spotify from an iOS device to an Apple TV. For starters it would be nice if Spotify developed an app for Apple TV so I wouldn’t need to stream it from my iOS device all the time. Next I wonder why I abandoned my original plan to use a Mac mini as a HTPC and went for the Apple TV ...

    Like 1
    • Geert Van Der Linden Thx! I would definitely recommend the Mac Mini as HTPC over an Apple TV. I can do much more, and run nice services to integrate within your smart home....

      Like
    • Peter Meijer 

      One of the things I use my Apple TV for however is streaming Netflix and I am planning to upgrade to 4K soon. It seems this is not possible on a Mac (unless you use Bootcamp and switch to Win10), which is a bit of a dealbreaker for me. Also, I wonder how realistic it is to control everything through NEEO alone. Do you use Plex, Kodi or something similar?

      Like
    • Geert Van Der Linden 

      you’re right, I can’t control everything with the NEEO remote. I use a combination of remote buddy for customizing the menus on my Mac, and Airfoil for controlling my airplay speakers. With remote buddy I can start Netflix / Plex / etc easily. The rest is done via BT trackpad & keyboard, or the remote buddy app. My hope is that Apple releases a proper 4K Mac mini in September. Let me know if you have any other question!

      Like
    • Peter Meijer 

      the Mac mini has not received an update in many years now ... maybe they’ll come with an Apple TV pro instead 😉

      Like
  • Peter Meijer

    Hi Peter,

    Was wondering whether you can help me out with this one. I've been trying to use the NEEO API to make changes to my brain configuration, using the RESTED app for mac, and I cannot make it work. GET statements work fine but I am struggling with a POST statement.

    I've been using wireshark to monitor the changes I made through the eui and can see the POST statement (first screenshot) and the arguments (second screenshot). But when I use the following statement in RESTED I get an 'parameter "name": missing' error:

    POST http://IP_BRAIN:3000/v1/projects/home/rooms/6389247357384392704?details=false {"name": "A/V Devices", "icon": "neeo.icon.room.basement", "key":"6389247357384392704", "weight": 6389247357384393000, "hasController": false, "nrDevices": 3}  

    What am I doing wrong? Thanks!

    Like
    • Geert Van Der Linden how are you zending it? Could you share that?

      Like
    • Niels de Klerk 

      I use RESTed, an app for OSX, as there are no plugins for safari

      Like
    • Geert Van Der Linden can you show how you are doping it?

      Like
    • Niels de Klerk doing

      Like
    • Niels de Klerk 

      I just figured out what was going on ... you enter the parameters in RESTed and the app takes care of encoding them. I couldn't understand the error message I was getting (parameter name is missing) because I surely was providing all correct parameters, including name.

      Turns out the encoding went wrong with the key parameter (in this case the room ID) ... this is a number, just as the weight parameter is a number and numbers normally don't get quotes. Yet, NEEO must have given this a string data type and thus expects quotes ... which RESTed wasn't automatically adding. So I added the quotes myself in the parameter section and the POST went through!

      No restart of the brain required either, pick up the remote, updating starts almost immediately and see the change!

      Like 1
    • Two days wondering what was going on ... in the end it was just a couple of missing quotes, go figure!

      Like
    • Geert Van Der Linden sometimes these things can be a B. 

      Like
    • Niels de Klerk 

      it happens ... I still feel silly for not spotting it earlier, oh well.

      Like
    • Geert Van Der Linden Lol, i would say welcome to my world. I'm dyslectic and these kind of things happen to me all the time. A good thing is that i expect myself to error on these kind of things.

      Like
    • Niels de Klerk 

      Lol, and messing with NEEO is a hobby, which means it happens late at night, when all work is done, the kids are sleeping and I should too ...

      Like
    • Geert Van Der Linden before you know it it’s far beyond midnight

      Like
Like5 Follow