Kodi Community Forum
Beta Spotify for Kodi - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Music Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=148)
+---- Thread: Beta Spotify for Kodi (/showthread.php?tid=265356)



RE: Spotify for Kodi - glk1001 - 2023-10-09

Hi,

I've managed to get the 'spotty' binaries working for Android 9. I tested the Spotify plugin 1.3.7 on Fire TV Cube and it works fine.

Unfortunately with Android 10+, Google changed the permissions structure making it very difficult for apps to run binaries. Effectively,
the binaries have to be specially bundled with an official Apk; but this doesn't fit the Kodi (unofficial) addon model.

I wonder whether other Kodi addons for Android have run into this problem. Or maybe not many addons need to run binaries.


RE: Spotify for Kodi - kthxbye - 2023-10-09

hey!
I believe my firetv is running android 7, if that somehow gives an oportunity for testing


RE: Spotify for Kodi - glk1001 - 2023-10-10

Should work. Go to https://github.com/glk1001/glk1001.github.io and follow the Kodi spotify install instructions in the README


RE: Spotify for Kodi - kthxbye - 2023-10-10

(2023-10-10, 01:26)glk1001 Wrote: Should work. Go to https://github.com/glk1001/glk1001.github.io and follow the Kodi spotify install instructions in the README

wow awesome Ill give it a try soon! thanks!


RE: Spotify for Kodi - kthxbye - 2023-10-10

unfortunatly it errors with wrong login/pass the same way as before.
I uninstalled previous version I had (which was 1.3.6 I think)
and then installed 1.3.7. entered my username/pass in the configuration and ran it


upd: oh seems it needed a restart. was gonna do a clean start to collect the logs, and then it worked. Ill play with it further then!

upd#2: so far its been stopping playing every started song after some short time (10-30 seconds)


RE: Spotify for Kodi - glk1001 - 2023-10-10

Can you possibly paste a log somewhere. Thanks


RE: Spotify for Kodi - stehohrhase - 2023-10-10

i have install Kodi 20.2 and Spotify 1.3.7 on Windows 11.
Login did not work.  Username and Passwort is correct. I have premium.

in the log I see:

uwinoqoloy (paste)

Any Idea?


RE: Spotify for Kodi - glk1001 - 2023-10-10

The error in the log is saying the plugin couldn't find the username in the settings file (KODI_HOME/.kodi/userdata/addon_data/plugin.audio.spotify/settings.xml).

Have you tried restarting Kodi? Otherwise have a look in that file and see if your username is there.


RE: Spotify for Kodi - stehohrhase - 2023-10-10

the file is there (c:\Users\xxx\AppData\Roaming\Kodi\userdata\addon_data\plugin.audio.spotify\settings.xml)
With the correct dada, I have entered in the gui

<settings version="2">
    <setting id="username">xxx</setting>
    <setting id="password">yyy</setting>
    <setting id="my_recently_played_playlist_name" default="true">My Recently Played</setting>
    <setting id="gap_between_playlist_tracks" default="true">0</setting>
    <setting id="categoryDefaultView" default="true" />
    <setting id="playlistDefaultView" default="true" />
    <setting id="artistDefaultView" default="true" />
    <setting id="albumDefaultView" default="true" />
    <setting id="songDefaultView" default="true" />
    <setting id="appendArtistToTitle" default="true">false</setting>
</settings>


RE: Spotify for Kodi - kthxbye - 2023-10-10

(2023-10-10, 11:08)glk1001 Wrote: Can you possibly paste a log somewhere. Thanks

yeah here it is:
https://pastebin.com/8LRdkC50

It plays for some time, but then stops and skips to the next track + in a few situations it would error with wrong user/password, but that happened only 2 or 3 times


RE: Spotify for Kodi - stehohrhase - 2023-10-11

as workaround I entered my username in spotty_helper.py. This works fine. 
I don't know, why password can read from settings.xml and username not.


RE: Spotify for Kodi - glk1001 - 2023-10-11

Yes, strange. The username is accessed through the Kodi function 'getSetting' which does not seem to be working.

Are there any other errors in the log file?


RE: Spotify for Kodi - glk1001 - 2023-10-11

(2023-10-10, 19:57)kthxbye Wrote:
(2023-10-10, 11:08)glk1001 Wrote: Can you possibly paste a log somewhere. Thanks

yeah here it is:
https://pastebin.com/8LRdkC50

It plays for some time, but then stops and skips to the next track + in a few situations it would error with wrong user/password, but that happened only 2 or 3 times
It streams for about 30 seconds then times out. So there's probably a timeout setting somewhere. I'll have a look. Is the device you're using pretty slow?


RE: Spotify for Kodi - Capslock - 2023-10-11

I have the same issue, with a mini N100 machine with Debian and Kodi freshly installed.

By the way, is it possible with this addon to have a "Spotify Receiver" as Librespot ? I didn't find something similar in the settings, so I guess not.


RE: Spotify for Kodi - kthxbye - 2023-10-12

(2023-10-11, 01:01)glk1001 Wrote:
(2023-10-10, 19:57)kthxbye Wrote:
(2023-10-10, 11:08)glk1001 Wrote: Can you possibly paste a log somewhere. Thanks

yeah here it is:
https://pastebin.com/8LRdkC50

It plays for some time, but then stops and skips to the next track + in a few situations it would error with wrong user/password, but that happened only 2 or 3 times
It streams for about 30 seconds then times out. So there's probably a timeout setting somewhere. I'll have a look. Is the device you're using pretty slow?

hi! the device is rooted amazon fire tv stick 4k. not sure if thats considered to be slow? it does handle most of the audio/video stuff I let it play, but spotify might be a different story in this context. mostly using it to stream some inet radio stations, mp3/flac/wav and videos from a nas
PS it did play  much longer then 30 seconds in some cases. even played few songs without interrupting, so not sure about a particular times limit that is set somewhere?

PPS I looked up the specs - 4x ARM Cortex - A55 up to 2.0 GHz with 1.5gb of ram. not much ram, so could that be the case?