Last Hurrah Spotify Driver

I wanted my remote to control Spotify and now it does. No thanks to NEEO.

https://github.com/wuggawugga/neeo-driver-spotify

Reply
14replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
  • Thorbjørn Lorentzen - how do you get this to work? I'm struggling because its not on npm repository

    Like
    • Adam Vine Sorry for the late response. It's been a while since I messed with this. It does work though :)

      You start by cloning or downloading the .zip from github. Inside the unpacked neeo-spotify-master directory, you run 'npm up' to download all the prerequisites via npm. After that, 'npm start' should work.

      It should print a URL to the internal web interface, with instructions for the Spotify API setup.

      If you're still in trouble, let me know and I'll see if I can't fix it :)

      Like
      • JeanArnaud
      • JeanArnaud
      • 10 mths ago
      • Reported - view

      Thorbjørn Lorentzen 

      Like
  • Hello Thorbjorn, thanks for the message, actually I was just playing around with your plug-in, will try with your added instructions.

    One question, do you also have problem connecting to NEEO Cloud? Is it down for good or just momentary (or just me)? 

    Like
  • I have been restricted to cellular Internet for the past few weeks, so unfortunately my setup is offline at the moment :(

    Like
  • I managed to install well the plug in, somehow the authorisation requested in the url where not correct and I had to suppress a few to have a positive answer from spotify. 

    Like
  • I mean in the url you provide in your Web interface for authorisation. So now the driver work but I have been unable to browse my device, I will have a look at it this week end. 

    Like
  • Hi Thorbjørn Lorentzen thank you for writing this custom driver.

    I gave it a try today. Unfortunataly i am getting the error "Illegal scope" after "Click me!".

    Also the console is throwing various errors at me.

    E:\neeo-driver-spotify-master>npm start
    
    > neeo-driver-spotify@1.0.0 start E:\neeo-driver-spotify-master
    > neeo-sdk start
    
    # Spotify driver HTTP Interface listening on port 3043
    # Visit http://192.168.178.28:3043 to get started
    No Brain address configured, attempting to discover one...
    # SPOTIFY driver ready
    - Brain discovered: NEEO
    - Start server, connect to NEEO Brain: { brain: 'NEEO', host: 'NEEO-09073506.local', port: 3000 }
    (node:14240) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'body' of undefined
        at api.getMyCurrentPlaybackState.catch.then (E:\neeo-driver-spotify-master\lib\SpotifyController.js:104:48)
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:188:7)
    (node:14240) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
    (node:14240) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    # Your devices are now ready to use in the NEEO app!

    When searching for the driver i see two devices. I can add them Neeo but i am not able to browse directories and the authorization status is "not authorized".

    Can you please help?!

    Like
      • Markus M
      • Markus_M
      • 3 mths ago
      • Reported - view

      Thorbjørn Lorentzen I stumbled across this post: https://github.com/...

      So i have removed "user-read-birthdate " from the generated url and i was able to connect my Spotify Acount.

      I still had some errors in the console. I finally got rid of them by a fresh install of the driver from the zip file.

      Like
  • Thorbjørn Lorentzen do you think it is possible to upgrade the driver to the player UI of the sonos driver?

    Like the one in the kodi driver by Niels de Klerk : https://www.youtube.com/watch?v=9xBgYtKOlAQ

    Like
    • Markus M Markus, do you know if this version of the Kodi drive of Niels is working properly with the last firmware? From my observations, only the images of the list are properly diaplayed. 

      I have written a driver for volumio and snapcast (for multiroom) but the images are only displaying well in the list. 

      Like
      • Markus M
      • Markus_M
      • 3 mths ago
      • Reported - view

      JeanarnaudNew Actually i dont know that. I was just suggesting an improvement to the driver from what i have seen in the video.

      Like
    • Markus M oh OK, I will still give it a try, the interface is so cool. 

      Like
  • Hi Guys,

    I seen the noise on the forum and had a peep. 

    This installs and runs easy and just needs "'user-read-birthdate'," removed from line 35 of config.js prior to installing and first running.

    Physical button functionality, volume in recipe do not work.  

    Artwork is quick changing.  Current track and device work.  Although only PCs, Mobile, Alexa device show up.  Have not seen Google or Sonos speakers show up. 

    Volume and track change with physical buttons would be nice.  May have broken since released. 

    Have a play...

    Like
Like1 Follow