Posts: 8,283
Joined: Jul 2014
(2017-06-06, 09:44)xbmosx Wrote: Did some more testing today (Ubuntu 16.0.4, Kodi NUC). With local playback everything seems to be working. I cannot get connect client mode to work though. After a Kodi fresh start I can see the Spotify client advertising on the network. But the spotty-x84_64-musl process crashes or stops very soon afterwards (vanishes from the system monitor processes list without an error notification). I also tried to restart spotty manually from outside of Kodi, but that didn't work either.
Please test with 1.1.16... This was already discussed here in the posts.
Posts: 16
Joined: Jun 2017
Reputation:
0
2017-06-06, 10:23
(This post was last modified: 2017-06-06, 10:29 by borgybz.)
Hi marcel! I can't find any .16 version on your repo. Did you find a solution about the impossibility to play any song? Did you watch the log you asked me to post?
For me is still not working/not playing anything
Posts: 37
Joined: Feb 2012
Reputation:
1
2017-06-06, 11:12
(This post was last modified: 2017-06-06, 11:22 by mazeeff.)
I can confirm that 1.1.16 fixes the issue that I reported in post#885, regarding songs freezing 3 seconds from end of song. Thanks for the great work!
Posts: 8,283
Joined: Jul 2014
(2017-06-06, 11:43)mazeeff Wrote: (2017-06-06, 11:24)borgybz Wrote: (2017-06-06, 11:12)mazeeff Wrote: I can confirm that 1.1.16 fixes the issue that I reported in post#885, regarding songs freezing 3 seconds from end of song. Thanks for the great work!
Where did you download it? I can't see any .16 version on official repo...
https://github.com/marcelveldt/repositor...io.spotify
Please install the repository and not link to the file directly, otherwise you will end up with dependency mismatches!
Posts: 8,283
Joined: Jul 2014
(2017-06-06, 12:36)borgybz Wrote: I was able to install it. Now when trying to play a song whole kodi freezes
I have no clue what's going on with your machine. It's working fine at multiple of my machines.
Make sure that you have installed version 1.1.16 through my repo and just to be safe restart your computer afterwards.
If the playback is still failing after that, I need a Kodi debug log captured after you tried the playback.
Can you browse the menus of the addon successfully ?
Posts: 8,283
Joined: Jul 2014
(2017-06-06, 13:09)borgybz Wrote: As you asked me I already posted the log in previous page. Now trying several times I realized that sometimes the playback starts, but the streaming is very bad and slow and playback keeps stopping and I hear cracking sounds! I believe to think that the problem is about the port used by this type of connection. Can you explain me what type of connection does the addon use to connect to Spotify servers? Maybe could be blocked by my isp? I connect through a Vodafone Wi-Fi hotspot with captive portal login... ( I made a script to auto connect that runs every five minutes..)
Well, there's the answer... At this time I did not implement any cache or buffer of any kind. The audio is just streamed directly in PCM format from libreelec, which receives the stream in realtime as ogg vorbis from Spotify's servers. So, on slow or bad internet connections this will not perform well.
The previous version had caching to disk enabled by default This will solve the issue you describe but this is a drama for users running the addon on a pi because it will wear out the SD card. For that reason, and because I made the assumption that nowadays everyone has a very fast connection, I disabled the whole caching part.
What I will do is implement a toggle option in the addon settings to enable caching to disk.
Once that's done, I will give you a headsup to test again. Hopefully later today already as it shouldn't be too much work.
Posts: 13
Joined: Jun 2017
Reputation:
0
I've got a relatively fresh windows 10 install that's never had kodi on it so I'll give that a try sometime later this week.