Posts: 424
Joined: Sep 2016
Reputation:
25
Thank you very much. Now it works again in Windows. I notice that the tracks in the playlist "Discover weekly" are not the same as in my online account. Can you check this and do you plan to improve the app further such as shorter loading times between playing tracks?
Thanks
HTPC: Windows 10 Pro 22H2, Zalman HD135, Intel i3-7100, GTX 1070, UHD ASUS BW-16D1HT
NAS: Xpenology 7.2 Update 1, Intel i5-6600
Posts: 45
Joined: Jan 2023
Reputation:
7
Have you tried "refresh listing" when you're in the Discover Weekly playlist?
I will keep looking at things that can be improved.
Posts: 45
Joined: Jan 2023
Reputation:
7
The issue seems to be with the 'Spotty' binary which is the thing that requests tracks from Spotify to get played by Kodi. As far as I know Spotty does not work on Android. I've asked the Spotty author to confirm this.
Posts: 23
Joined: Sep 2019
Reputation:
0
Thanks for the info. That is to bad if that is the case.
Posts: 45
Joined: Jan 2023
Reputation:
7
Hi,
I've just updated the Spotify plugin to version 1.3.5. It includes a fix for long delays between tracks when
playing a playlist. And a fix for the wrong spotty binary binary being used on Arm64 devices. (Thanks hsteininger.)
I simplified the code quite a lot and managed to remove the rather large 'cherrypy' dependency and supporting files,
and replaced it with the smaller 'bottle' web app manager.
Also I've recently discovered that because this plugin uses 'librespot - spotty', whenever a track is played it
is not reported back to Spotify as played. This is an outstanding issue with librespot since early 2021. This is
not ideal for two reasons:
1) The artists aren't getting their royalities,
2) Spotify doesn't know what you're listening to, so can't give useful recommendations.
I've added a clunky workaround for this. There is a now a "My Recently Played Playlist" setting, that if enabled
(by having a non-empty string as the setting), will save all played tracks to the 'My Recently Played' playlist
(or whatever named playlist you've chosen). Then, at a later date, on another device with an official Spotify app,
you can just play this playlist to update Spotify's recently played tracks.
Posts: 23
Joined: Sep 2019
Reputation:
0
2023-08-24, 09:16
(This post was last modified: 2023-08-24, 10:40 by Tecko71. Edited 1 time in total.)
The problem on andriod is at version 1.2.0 it goes to the spotify login screen. At version 1.3.5 it does not. That is why the library directory stays empty and you got a login error. So in deed I think spotify on android is not working sadly enough.
I tested in windows 11. There also no login screen to spotify and also login error.
Posts: 45
Joined: Jan 2023
Reputation:
7
Can you show me the Kodi log for Windows 11 please. I tested on Windows 10.
Posts: 45
Joined: Jan 2023
Reputation:
7
So the log had this: "Failed to create session or connect to servers" which came from the Spotty exe having trouble talking to Spotify.
Can you restart Kodi, or ideally restart Windows and try again. Send me the log if it fails.
Posts: 45
Joined: Jan 2023
Reputation:
7
I just tried 1.3.5 on a Windows 11 virtual machine and Spotify connected and worked OK.
Posts: 23
Joined: Sep 2019
Reputation:
0
I downloaded spotify now directly from spotify and not from the store and now I am in, it is working