Beta - Spotify for Kodi

  Thread Rating:
  • 11 Vote(s) - 4.55 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
marcelveldt Offline
Skilled Skinner
Posts: 7,959
Joined: Jul 2014
Reputation: 318
Location: The Netherlands
Post: #781
(2017-05-24 08:12)xbmosx Wrote:  
(2017-05-24 07:32)marcelveldt Wrote:  If you're just seeking for a Spotify connect add-on to stream music from your phone, you'd better go with the libreElec librespot add-on.
I'm focusing on playback and control of Spotify on Kodi itself

Maybe a stupid question, but is it possible to use this add-on with a a regular Kodi installation that is not libreelec (e.g. Kodi & Ubuntu) ?


Yes, that is what I am currently working on. The Spotify playback would than be handled by the Kodi player.


Verzonden vanaf mijn iPhone met Tapatalk
find quote
infinity85 Offline
Senior Member
Posts: 162
Joined: Jul 2015
Reputation: 9
Location: Germany
Post: #782
(2017-05-24 12:00)xbmosx Wrote:  well, the problem with that is, that the reported missing dependency is libreelec itself.
Ah okay :/

In this case you could try to use librespot directly (not the addon version): https://github.com/plietar/librespot
The addon-way is only necessary on libreelec because of its restricted system style. The addon itself is working as a service in the background, so it hasn't any interaction or playercontrols etc. in kodi itself. So once you install the original librespot code on your system, it will run in background the same way on any system.
find quote
xbmosx Online
Member
Posts: 71
Joined: Jun 2014
Reputation: 0
Post: #783
I'm not in a hurry tbh. I'm just gonna wait until marcelveldt is finished with his implementation and give it a shot then. thanks for your inputs anyways.
(This post was last modified: 2017-05-24 13:52 by xbmosx.)
find quote
MarcelMAH Offline
Junior Member
Posts: 5
Joined: Sep 2016
Reputation: 0
Location: The Netherlands
Post: #784
(2017-05-24 13:20)xbmosx Wrote:  I'm not in a hurry tbh. I'm just gonna wait until marcelveldt is finished with his implementation and give it a shot than. thanks for your inputs anyways.
So am I...
find quote
Wild Penguin Offline
Junior Member
Posts: 25
Joined: Jul 2013
Reputation: 0
Post: #785
Ok, I was blind:

(2017-05-14 19:41)Wild Penguin Wrote:  
Code:
if xbmc.Dialog().yesno("No webbrowser detected", "The webbrowser could not be auto detected. Do you have one installed ?"):
I was currently using the plugin on a LibreELEC installation which does not have a DE save a web browser installed. I thought I had made the authentication correctly - because there is no clear error message (unless you consider this line in the error log "clear" ... it kind of is, but because of the THIS CAN LEAD TO MEMORY LEAK! written in cat sized letters above, I thought something has gone horribly wrong.)

I fixed it by copying the whole plugin.audio.spotify config tree from another, working installation (I could find several "cache" files and I'm not sure which contains the actual authentication tokens, and could not get it working by copying them randomly; so just copying the whole tree is easier).
(This post was last modified: Yesterday 19:40 by Wild Penguin.)
find quote
eusi Offline
Junior Member
Posts: 9
Joined: Mar 2014
Reputation: 0
Post: #786
Hey,

first of all: great addon!

However, since I changed from RPi3 to ODROID C2 I cannot make it work. Sad
Currently I am using a community build of LibreELEC (by Raybuntu, 64bit Kernel but 32bit userspace - Linux ARM 32bit).

Ref: https://forum.libreelec.tv/thread/4248-l...tek-play2/

When I execute Spotify, the addon opens and after some seconds of freeze, the ODROID restarts Kodi.

Last lines of my log:
21:36:34.298 T:3545535392 ERROR: GetDirectory - Error getting
21:36:35.309 T:3630232480 ERROR: Previous line repeats 3 times.
21:36:35.309 T:3630232480 NOTICE: Spotify --> Your platform (armv7 System.Platform.Linux)
21:36:36.364 T:3630232480 NOTICE: Spotify --> Starting background service...
21:36:36.490 T:3630232480 NOTICE: Spotify --> Checking remembered_user ..
21:36:36.690 T:3621843872 NOTICE: Spotify --> logged in: 0

Known issue?
(This post was last modified: Yesterday 22:07 by eusi.)
find quote
eusi Offline
Junior Member
Posts: 9
Joined: Mar 2014
Reputation: 0
Post: #787
(Yesterday 21:46)eusi Wrote:  Hey,

first of all: great addon!

However, since I changed from RPi3 to ODROID C2 I cannot make it work. Sad
Currently I am using a community build of LibreELEC (by Raybuntu, 64bit Kernel but 32bit userspace - Linux ARM 32bit).

Ref: https://forum.libreelec.tv/thread/4248-l...tek-play2/

When I execute Spotify, the addon opens and after some seconds of freeze, the ODROID restarts Kodi.

Last lines of my log:
21:36:34.298 T:3545535392 ERROR: GetDirectory - Error getting
21:36:35.309 T:3630232480 ERROR: Previous line repeats 3 times.
21:36:35.309 T:3630232480 NOTICE: Spotify --> Your platform (armv7 System.Platform.Linux)
21:36:36.364 T:3630232480 NOTICE: Spotify --> Starting background service...
21:36:36.490 T:3630232480 NOTICE: Spotify --> Checking remembered_user ..
21:36:36.690 T:3621843872 NOTICE: Spotify --> logged in: 0

Known issue?

Ok, this issue occurred, because I copied the entire ...\addon_data\plugin.audio.spotify-folder from PN (Win32).
Only the cache-files of this folder is needed to copy, when you have no web browser.

I do not why, but the copied \plugin.audio.spotify\libspotify\settings-folder occurred the issue actually. I just deleted the settings-folder and it was created again by the addon => then it worked fine.
(This post was last modified: Today 13:45 by eusi.)
find quote
Post Reply