Thanks Marcel for all the overtime over the weekend! I have come across an unusual problem that occurs on all three of my platforms using the latest 1.1.15 build. While playing a album, playlist or radio, I get a slight pause exactly 3 seconds prior to the end of the song. The pause can last up to 2-4 seconds, and then it awkwardly counts off the remaining 3 seconds, and moves on to the next song. For most songs, the last 3 seconds are silent, and you never hear the problem, but for albums like Pink Floyd The Wall, it is very noticeable. You can also watch the track time, and see the stoppage. I did a fresh install of Kodi 17.3 on a Windows 10 machine, with only Spotify loaded. The following log was produced. The freeze starts at 9:18 in the log. Version 1.0.25 does not exhibit the problem. Thanks again, and hello from the Dutch in Holland Michigan!
09:13:49.887 T:10432 DEBUG: Thread JobWorker 10432 terminating (autodelete)
09:18:03.597 T:5952 ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
09:18:03.597 T:5952 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
09:18:03.799 T:11516 DEBUG: plugin.audio.spotify --> Webservice --> [05/Jun/2017 09:18:03] "GET /track/02mkkozonPEDCenOhuWwLc HTTP/1.1" 200 -
09:18:03.799 T:11516 NOTICE: plugin.audio.spotify --> Playback requested for track 02mkkozonPEDCenOhuWwLc
09:18:04.077 T:5952 ERROR: CCurlFile::FillBuffer - Failed: Requested range was not delivered by the server(33)
09:18:04.077 T:5952 DEBUG: CFileCache:
rocess - Source read returned a fatal error! Will wait for buffer to empty.
09:18:04.077 T:5952 DEBUG: Thread FileCache 5952 terminating
09:18:05.266 T:11516 DEBUG: plugin.audio.spotify --> Traceback (most recent call last):
File "C:\Users\mike\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\webservice.py", line 74, in handle
BaseHTTPServer.BaseHTTPRequestHandler.handle(self)
File "C:\Program Files (x86)\Kodi\system\python\Lib\BaseHTTPServer.py", line 340, in handle
self.handle_one_request()
File "C:\Program Files (x86)\Kodi\system\python\Lib\BaseHTTPServer.py", line 328, in handle_one_request
method()
File "C:\Users\mike\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\webservice.py", line 125, in do_GET
self.single_track()
File "C:\Users\mike\AppData\Roaming\Kodi\addons\plugin.audio.spotify\resources\lib\webservice.py", line 144, in single_track
self.wfile.write(line)
File "C:\Program Files (x86)\Kodi\system\python\Lib\socket.py", line 328, in write
self.flush()
File "C:\Program Files (x86)\Kodi\system\python\Lib\socket.py", line 307, in flush
self._sock.sendall(view[write_offset:write_offset+buffer_size])
error: [Errno 10053] An established connection was aborted by the software in your host machine
09:18:05.266 T:11516 WARNING: plugin.audio.spotify --> Exception in webservice ! --> [Errno 10053] An established connection was aborted by the software in your host machine
09:18:05.456 T:5600 INFO: PAPlayer:
rocessStream - Stream Finished
09:18:05.456 T:5600 DEBUG: CApplication::OnQueueNextItem: play state was 2, starting 0
09:18:05.463 T:4152 DEBUG: Thread JobWorker start, auto delete: true