• 1
  • 23
  • 24
  • 25(current)
  • 26
  • 27
  • 131
Beta Spotify for Kodi
There is a way to get authenticated without a webbrowser installed on the computer. (My case: i'm using Vera 2, and don't have kodi installed on another computer.).
The idea is to get the url called by the webbrowser, and use SSH port redirection to play the authentication process through it.

  1. ssh to the device from your current OS (works by default on OSX and Linux):
    Code:
    ssh -L 52308:127.0.0.1:52308 IP_TO_YOUR_DEVICE

  2. on the device with Kodi, create a "fake" firefox script (sudo nano /usr/bin/firefox) with the content:
    Code:
    #!/bin/bash
    echo "$@" >> /tmp/ff

  3. make it executable:
    Code:
    sudo chmod +x /usr/bin/firefox

  4. in Kodi, go on Music > Addons > Spotify. It will try to connect and wait the authentification.

  5. during the connection, look at the file in /tmp/ff, you'll see an url like
    Code:
    https://accounts.spotify.com/authorize?scope=playlist-mo.....

  6. copy/paste the url into your webbrowser on your computer

  7. after accepting the authorization, the redirect failed for me. In the url, replace localhost with 127.0.0.1, press enter

  8. "You can now close this browser window.". You're done!
Reply
While I am saving firefox file getting this error:

Code:
Error writing /usr/bin/firefox: Read-only file

How can I get writing permission? Libreelec 7.02 (Odroid C2)
Reply
Hi. I need a little help. I need a little more detail on how to install spotify an android box like which repository is it in? I'm not the most advanced Kodi user so I'm completely lost lol. I love using my Spotify account on my phone and would be great on my Kodi. A step by step would be great if you have time. Thank you for your help Smile
Reply
http://sprunge.us/MaWQ

What's going on with spotify? Suddenly it refuses to play songs
Samsung ES7005 55" led tv - Denon AVR-3313 - NAD C275BEE - B&W DM683 - B&W HTM61 - B&W 686
Intel NUC D34010WYK - 128GB Crucial ssd, Built in IR Receiver
And a Logitech Harmony Touch to control it all. https://libreelec.tv
Retired: Asus EB1501P ION2 - OCZ Vertex 2 64gb ssd - Built in IR Receiver
Reply
You're getting the same error as everyone else is posting about.

Not working on current krypton builds. Hasn't been working for me for a long time now.
Might have something to do with this error

ERROR: CAudioDecoder: Unable to Init Codec while loading file

It's the same thing I see in all the debug logs.

We'll have to wait for marcelveldt to respond, he hasn't been very active lately.

I'm sure it'll be fixed soon.

I find it really strange though, if you delete your addons.db file from kodi (backup first) reboot and then enable the spotify addon only, it'll work.
As soon as you enable other addons it stops working again.

It'll also work if you select "play using - video player" but it's incredibly slow at loading and crashes when trying to stop or skip a song.
Reply
(2016-03-21, 23:35)marcelveldt Wrote: Currently supported platforms:

Windows 32+64 bits
iOS
Android ARM-based (not aarch64 like nvidia shiield!)
Linux x86/x64/arm/arm64
OSX

So, no support for arm64 or x86 on Android, sorry!
If someone is interested in compiling libspotify for these platforms, let me know.

Thanks to @mazkolain for the libspotify python implementation!

Thanks for testing and enjoy the spotify experience on Kodi

yes, it would be great if you can compile libspotify for odroid c2. Because I just changed to it but my favorite app dosn't work on that platform ;-(
What to do?

Thanks,
Olli
Reply
(2016-08-10, 21:57)loggio Wrote: You're getting the same error as everyone else is posting about.

Not working on current krypton builds. Hasn't been working for me for a long time now.
Might have something to do with this error

ERROR: CAudioDecoder: Unable to Init Codec while loading file

It's the same thing I see in all the debug logs.

We'll have to wait for marcelveldt to respond, he hasn't been very active lately.

I'm sure it'll be fixed soon.

I find it really strange though, if you delete your addons.db file from kodi (backup first) reboot and then enable the spotify addon only, it'll work.
As soon as you enable other addons it stops working again.

It'll also work if you select "play using - video player" but it's incredibly slow at loading and crashes when trying to stop or skip a song.

Like I said before: KRYPTON IS NOT SUPPORTED!

There was a change in recent Krypton build that causes the spotify stream to fail, it did work once with a small fix but that fix is also broken again. I have to wait for the Kodi devs to reply to my call for help.

In the meanwhile just use Jarvis as your daily driver, Krypton is at alpha stage atm
Reply
Works on rpi with Libreelec and krypton Smile
Reply
(2016-08-11, 17:37)Jönke Wrote: Works on rpi with Libreelec and krypton Smile

Hmm, that is interesting... On my Windows machine it's failing.
Did you do anything special ? Or does it just work out of the box on libreelec (except for the authenticaion workaround) ?
Reply
No nothing special, just work out of the box on libreelec (except for the authenticaion workaround)
Reply
(2016-08-11, 21:09)Jönke Wrote: No nothing special, just work out of the box on libreelec (except for the authenticaion workaround)

Is this a fresh install? And have you installed any other skins/addons etc?
Reply
(2016-08-11, 21:09)Jönke Wrote: No nothing special, just work out of the box on libreelec (except for the authenticaion workaround)

Is it a recent krypton build? E.g. Alpha 3 ?
Reply
No , not fresh , updated a couple of days ago. Beta 1
Reply
(2016-08-11, 23:18)Jönke Wrote: No , not fresh , updated a couple of days ago. Beta 1
Milhouse nightly builds ?
Reply
(2016-08-11, 23:18)Jönke Wrote: No , not fresh , updated a couple of days ago. Beta 1

Can you do me a favour and navigate to /storage/.kodi/userdata/Database backup and remove all addon .db files

Reboot, re-enable spotify and test... This should work.
After that, go through and re enable your addons 1 by 1 testing spotify after each to see if it still works.
Install some skins too, Eminence, Titan etc...
After all said and done you can just restore your old .db files
Reply
  • 1
  • 23
  • 24
  • 25(current)
  • 26
  • 27
  • 131

Logout Mark Read Team Forum Stats Members Help
Spotify for Kodi17