Posts: 45
Joined: Jan 2023
Reputation:
7
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.
Posts: 21
Joined: Mar 2017
Reputation:
1
hey!
I believe my firetv is running android 7, if that somehow gives an oportunity for testing
Posts: 21
Joined: Mar 2017
Reputation:
1
2023-10-10, 09:18
(This post was last modified: 2023-10-10, 09:42 by kthxbye. Edited 2 times in total.)
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)
Posts: 45
Joined: Jan 2023
Reputation:
7
Can you possibly paste a log somewhere. Thanks
Posts: 45
Joined: Jan 2023
Reputation:
7
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.
Posts: 5
Joined: Jul 2020
Reputation:
0
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>
Posts: 5
Joined: Jul 2020
Reputation:
0
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.
Posts: 45
Joined: Jan 2023
Reputation:
7
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?
Posts: 56
Joined: May 2015
Reputation:
1
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.