• 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 131
Beta Spotify for Kodi
The Addon still wont start for me Sad
Login Error : unable to connect to server

from log :
20:23:47 T:140536202352384 NOTICE: Spotify --> Starting background service...
20:24:17 T:140536223328000 NOTICE: Spotify --> logged in: 8
20:24:17 T:140536223328000 NOTICE: Spotify --> logged out
20:24:17 T:140536202352384 NOTICE: Spotify --> Background service stopped


I am using Libreelec
Reply
Nice work! Am looking forward to switching to this add-on instead of the ones I'm currently using! Smile

However, have run in to the same issues as others before me in this thread; getting this error when starting the add-on (after logging on and adding the app to Spotify in the browser):

Login error: 'ascii' codec can't decode byte 0xb5 in
position 0: ordinal not in range (128)

My username doesn't have any special characters, although my password may have. My account was previously linked to my Facebook account that has special characters (but is no longer linked to it).

Am using the (as of this writing) latest available build of your add-on (1.0.12) and Jarvis 16.1 on MacOS X 10.11.3.

Here's the relevant parts of the log-file:
Code:
23:06:10 T:123145318019072  NOTICE: Spotify --> Your platform (x86_64 System.Platform.OSX)
23:06:10 T:123145307746304  NOTICE: virtual bool CAESinkDARWINOSX::Initialize(AEAudioFormat &, std::string &): Opening default device HDMI
23:06:10 T:123145318019072  NOTICE: Spotify --> Starting background service...
23:06:10 T:123145318019072  NOTICE: Spotify --> Cached session found
23:06:10 T:123145332469760  NOTICE: Spotify --> logged in: 0
23:06:15 T:123145318019072  NOTICE: Spotify --> starting proxy at port 8081
23:06:15 T:123145318019072  NOTICE: Spotify --> ERROR in backgroundservice! 'ascii' codec can't decode byte 0xb5 in position 0: ordinal not in range(128)
23:06:15 T:123145318019072  NOTICE: Spotify --> Background service stopped
23:06:15 T:123145332469760   ERROR: Exception in thread Thread-1:
                                            Traceback (most recent call last):
                                              File "/Users/Shared/jenkins/workspace/OSX-64/tools/depends/xbmc-depends/macosx10.10_x86_64-target/lib/python2.6/threading.py", line 532, in __bootstrap_inner
                                              File "/Users/olle/Library/Application Support/Kodi/addons/plugin.audio.spotify/resources/playbackservice.py", line 102, in run
                                                self.__mainloop.loop(self.__session)
                                              File "/Users/olle/Library/Application Support/Kodi/addons/plugin.audio.spotify/resources/libs/spotify/__init__.py", line 166, in loop
                                                timeout = session.process_events()
                                            ReferenceError: weakly-referenced object no longer exists
23:07:11 T:123145316945920 WARNING: DARWINOSX: underflow (0 vs 16384 bytes)

Again, thank you for developing this add-on - contemplated doing something similar before, but then realised I don't speak Python and shelved the idea xD



Edit: Messed a bit with passwords and whatnot, and it seems that the issue is unrelated to passwords at least, and likely to username too (as neither of them now contain non-ascii characters).
Reply
(2016-05-14, 10:58)Capone2381 Wrote: I am running OSMC on a Raspberry Pi 2 and have used the workaround. Everything appears to be working fine other than the fact that the tracks only play for 30 seconds. Does anybody have a fix for this? Thanks for your work on the add-on.

I have the exact same issue on the same platform. Hopefully it will be fixed later.
Reply
For the 30 seconds playback problem :
https://github.com/spotify/web-api/issues/57

Apparently it s normal Big Grin
Reply
(2016-05-14, 23:27)olmok Wrote: Edit: Messed a bit with passwords and whatnot, and it seems that the issue is unrelated to passwords at least, and likely to username too (as neither of them now contain non-ascii characters).

Does your kodu userdata path contain any special characters perhaps ?
Seems that the libspotify doesn't handle that very well. I'll take a look if I missed a spot but would be great if you can confirm
Reply
(2016-05-17, 21:44)marcelveldt Wrote: Does your kodu userdata path contain any special characters perhaps ?

It sure does, the default path on MacOS X contains a space; in my case that results in
Code:
/Users/olle/Library/Application Support/Kodi

Not sure if that's even something I have any control over :/
Reply
(2016-05-10, 20:50)ArthurJam Wrote: I am the user waiting for nvidia shield support Big Grin
This project have a github ? So we can follow your development.

https://github.com/marcelveldt/plugin.audio.spotify

Nvidia shield support can only be happening if someone is willing to compile libspotify for android on that architecture.
Reply
(2016-05-10, 11:14)benji791 Wrote: Another thing I'm missing is possibility to add to my music in Spotify when in play mode. In list mode the option is available in the context menu but there is no such thing in play mode. That would be great to have this feature in play mode. Do you think it is possible?

In play mode ? You mean when a track is playing you want to add that exact track to your spotify library ?
Hmm, I don't know if that is even possible, considering that Kodi handles the playback
Reply
(2016-05-10, 12:29)mystic84 Wrote: Wrap Raw Revise
06:04:32 T:18446744073168365872 NOTICE: special://profile/ is mapped to: special://masterprofile/
06:04:32 T:18446744073168365872 NOTICE: -----------------------------------------------------------------------
06:04:32 T:18446744073168365872 NOTICE: Starting Kodi (16.1 Git:2016-04-24-eaa012d). Platform: Android x86 32-bit
06:04:32 T:18446744073168365872 NOTICE: Using Release Kodi x32 build

Sorry, no support for Android x86 yet as there is no precompiled libspotify available for that platform.
If someone is reading this with a high level of Linux skills and willing to help:
The libspotify module needs to be build for Android aarch64 and Android x86, all other platforms are covered.

Offcourse once the webapi supports the playback I will drop the libspotify completely
Reply
(2016-05-17, 16:25)ArthurJam Wrote: For the 30 seconds playback problem :
https://github.com/spotify/web-api/issues/57

Apparently it s normal Big Grin

True, they have not yet added support for full-length playback in the new API.
That's why this addon still utilizes the good old (legacy) libspotify SDK for playback only.

Problem with that is that it's only available for platforms that existed 4 years ago, so no Android x86 or Android with the ARM-based chips like in the shield.

See my request I did here a couple of times, if someone is willing to help out to compile the libspotify SDK for the missing platforms this can be solved.
Reply
(2016-05-14, 20:29)Purge Wrote: The Addon still wont start for me Sad
Login Error : unable to connect to server

That error comes straight from the spotify SDK: unable to contact the server.
Maybe you're using some firewall that is blocking the requests ?
Reply
(2016-05-17, 22:26)olmok Wrote: It sure does, the default path on MacOS X contains a space; in my case that results in

Hmm, a space shouldn't matter at all. I have added a little more3 debug logging to the addon, next version will be on the repo within an hour. Can you test with that please ?
Reply
(2016-05-12, 20:30)MatLCFC Wrote: I am getting the fanart/logo/covers/cdart to download however I keep getting a weird glitch
On the home page, it seems to display the correct disc image (cdart). As below..
When I go full screen, it downloads a weird screen shot from Youtube (I think) & overlays the disc. As below

Maybe you should ask the developer of the skin you're using ?
Or did you add the skinhelper support yourself to the skin ?
Reply
(2016-05-10, 17:33)Last_Angel Wrote: This works like a charm but lately i have encountered some issues regarding the "this track is not available in your country" - message, even when i have no problem with the track on my smartphone...

That issue should be resolved in the most recent version of the addon.
Reply
(2016-05-12, 13:25)RoloK Wrote: I see wich artist it is if ilook into the "media info", but there is no Artist names in the "list"

Got it, I've now appended the artistname to the Multi-artist results.
New version is coming up
Reply
  • 1
  • 13
  • 14
  • 15(current)
  • 16
  • 17
  • 131

Logout Mark Read Team Forum Stats Members Help
Spotify for Kodi17