kodi-community-addons / plugin.audio.spotify

Unofficial spotify plugin for Kodi
GNU General Public License v3.0
298 stars 103 forks source link

Spotify Connect stops after 1 song #154

Open laurentpi opened 3 years ago

laurentpi commented 3 years ago

Hi, i have exactly the same issue as #43 i use OSMC (version 20201019) on a Raspberry Pi2. The Kodi version is 18.9 and the addon version is 1.1.59

logs : 2020-12-13 17:44:26.670 T:1763700960 WARNING: Seek - failed to get remaining data 2020-12-13 17:44:26.670 T:1315430624 ERROR: CFileCache::Process - Error 0 seeking. Seek returned -1

have a nice day

CoolDevelopment commented 3 years ago

Same on RPI4

HighFi-Code commented 3 years ago

Same on RPI3+ LibreELEC (Leia) 9.2.6 and 9.2.5 Kodi 18.9 and 18.8 and latest addon version

ztm0802 commented 3 years ago

Same, latest version, galliumos on chromebox.

yesrod commented 3 years ago

Same, with the added fun that the Kodi interface stops responding entirely. Raspberry Pi 4 4GB LibreELEC 9.2.6 Kodi 18.9 Latest addon version installed manually from GitHub

I get the following in the Kodi log when this happens.

2021-01-23 22:36:30.538 T:2871518064  NOTICE: Previous line repeats 64 times.
2021-01-23 22:36:30.538 T:2871518064  NOTICE: plugin.audio.spotify --> Logged in to Spotify - Username: <removed>
2021-01-23 22:36:30.540 T:2403279728  NOTICE: plugin.audio.spotify --> trying AP Port 443
2021-01-23 22:38:02.867 T:2863125360  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder pcm_s16le
2021-01-23 22:40:34.134 T:2386494320  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder pcm_s16le
2021-01-23 22:40:54.144 T:2394887024   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2021-01-23 22:41:01.039 T:2863125360   ERROR: Previous line repeats 1 times.
2021-01-23 22:41:01.039 T:2863125360 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2021-01-23 22:41:14.174 T:2394887024   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2021-01-23 22:41:14.175 T:2394887024   ERROR: CCurlFile::Open failed with code 0 for http://localhost:52308/nexttrack:
2021-01-23 22:41:14.175 T:2394887024   ERROR: Open - failed to open source <http://localhost:52308/nexttrack>
2021-01-23 22:41:14.175 T:2394887024   ERROR: Init: Error opening file http://localhost:52308/nexttrack
2021-01-23 22:41:21.045 T:2863125360   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2021-01-23 22:41:21.045 T:2863125360 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 2
2021-01-23 22:41:34.259 T:2394887024   ERROR: CCurlFile::Stat - Failed: Timeout was reached(28) for http://localhost:52308/nexttrack
2021-01-23 22:41:41.051 T:2863125360   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2021-01-23 22:41:46.052 T:2863125360 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 1
2021-01-23 22:41:54.290 T:2394887024   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
2021-01-23 22:41:54.290 T:2394887024   ERROR: CCurlFile::Open failed with code 0 for http://localhost:52308/nexttrack:
2021-01-23 22:42:08.561 T:2863125360   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2021-01-23 22:42:08.561 T:2863125360 WARNING: CCurlFile::FillBuffer - Reconnect, (re)try 2
2021-01-23 22:42:16.865 T:2394887024   ERROR: CCurlFile::FillBuffer - Failed: Couldn't connect to server(7)
2021-01-23 22:42:16.865 T:2394887024   ERROR: CCurlFile::Open failed with code 0 for http://localhost:52308/nexttrack:
2021-01-23 22:42:16.865 T:2394887024   ERROR: Open - failed to open source <http://localhost:52308/nexttrack>
2021-01-23 22:42:16.865 T:2394887024   ERROR: Init: Error opening file http://localhost:52308/nexttrack
2021-01-23 22:42:16.865 T:2394887024   ERROR: CAudioDecoder: Unable to Init Codec while loading file http://localhost:52308/nexttrack
2021-01-23 22:42:16.866 T:2394887024 WARNING: PAPlayer::QueueNextFileEx - Failed to create the decoder
2021-01-23 22:42:16.867 T:2667049840   ERROR: EXCEPTION: XBMC is not playing any file
2021-01-23 22:42:17.129 T:2667049840   ERROR: Previous line repeats 1 times.
2021-01-23 22:42:17.245 T:2667049840  NOTICE: Previous line repeats 1 times.
2021-01-23 22:42:17.245 T:2667049840   ERROR: EXCEPTION: XBMC is not playing any file
2021-01-23 22:42:18.041 T:2394887024   ERROR: Previous line repeats 1 times.
2021-01-23 22:42:18.041 T:2394887024  NOTICE: CDVDAudioCodecFFmpeg::Open() Successful opened audio decoder pcm_s16le
2021-01-23 22:42:20.373 T:2667049840   ERROR: EXCEPTION: XBMC is not playing any file
2021-01-23 22:42:24.382 T:2667049840   ERROR: Previous line repeats 3 times.
maxberghammer commented 3 years ago

Same problem here. The log is exactly the same as the one by yesrod. If I wait 1min or so, the Kodi-UI comes back again and works like it should. But: Not playing next song in playlist.

Source: Win10-Laptop with Spotify-App 1.1.56.595.g2d2da0de-a Spotify Premium-Account

Destination: RPi4 4GB Linux retropie3 5.10.17-v7l+ #1403 SMP Mon Feb 22 11:33:35 GMT 2021 armv7l, Kodi 18.7, Spotify-Addon 1.1.58

shanduur commented 3 years ago

I have the same issue, log looks the same. RPi3, Kodi Leia.

kristoficko commented 3 years ago

Hi,

as many probelms (and side effects) came with plugin spotify, I uninstalled it and replaced with "librespot" plugin, which is

1) lightweight, 2) stable 3) easy to use (Spotify connect target)

AFAIK it is available for Libre/Coreelec OS in the respective repository.

Kind regards

Mike