Since today Spotty doesn't go to the next track in the queue anymore but
keeps repeating the first song. 
The Windows app stops at the end of the song, but my SB keeps playing. 
pressing forward in the app moves to the next song, and the end the same
happens. 

log looks like this 

Code:
--------------------
    [18-02-21 18:30:55.8062] Plugins::Spotty::Connect::_connectEvent (230) Got 
called from spotty helper: start
  [18-02-21 18:30:55.8100] Plugins::Spotty::API::_call (1307) Trying to read 
from cache for me
  [18-02-21 18:30:55.8114] Plugins::Spotty::API::_call (1316) API call: me
  [18-02-21 18:30:55.8906] Plugins::Spotty::API::_call (1316) API call: 
me/player
  [18-02-21 18:30:56.0162] Plugins::Spotty::API::__ANON__ (1361) Caching result 
for 60 using max-age (https://api.spotify.com/v1/me)
  [18-02-21 18:30:56.0190] Plugins::Spotty::API::__ANON__ (1363) Data cached 
(https://api.spotify.com/v1/me)
  [18-02-21 18:30:56.0301] Plugins::Spotty::Connect::__ANON__ (266) Got a new 
track to be played: spotify:track:3PdKO3LjW0wqqiaFxoBAH7
  [18-02-21 18:30:56.0449] Plugins::Spotty::API::_call (1307) Trying to read 
from cache for me
  [18-02-21 18:30:56.0461] Plugins::Spotty::API::_call (1310) Returning cached 
data for me
  [18-02-21 18:30:56.0469] Plugins::Spotty::Connect::getNextTrack (109) Don't 
get next track as we got called by a play track event from spotty
  [18-02-21 18:30:56.0517] Plugins::Spotty::Plugin::purgeAudioCacheAfterXTracks 
(432) Played 5 song(s) since last audio cache purge.
  [18-02-21 18:30:56.0985] Plugins::Spotty::Plugin::purgeAudioCacheAfterXTracks 
(432) Played 6 song(s) since last audio cache purge.
  [18-02-21 18:30:56.1736] Plugins::Spotty::Connect::_onPause (187) Got a stop 
event within 5s after start of a new track - do NOT tell Spotify Connect 
controller to pause
  [18-02-21 18:31:11.0013] Plugins::Spotty::Plugin::purgeAudioCache (446) 
Starting audio cache cleanup...
  [18-02-21 18:31:11.0026] Plugins::Spotty::Plugin::purgeAudioCache (500) 
Starting temporary file cleanup... (/var/lib/squeezeboxserver/cache/spotty)
  [18-02-21 18:31:11.0051] Plugins::Spotty::Plugin::purgeAudioCache (520) Audio 
cache cleanup done!
  [18-02-21 18:33:08.1967] Plugins::Spotty::API::_call (1307) Trying to read 
from cache for me
  [18-02-21 18:33:08.1982] Plugins::Spotty::API::_call (1316) API call: me
  [18-02-21 18:33:08.2040] Plugins::Spotty::Connect::getNextTrack (115) We're 
approaching the end of a track - get the next track
  [18-02-21 18:33:08.2083] Plugins::Spotty::API::_call (1316) API call: 
me/player/next
  [18-02-21 18:33:08.3751] Plugins::Spotty::API::__ANON__ (1385) error: 411 
Length Required
  [18-02-21 18:33:08.3827] Plugins::Spotty::API::__ANON__ (1396) bless({
  _content => "",
  _headers => bless({
  "content-length" => 1564,
  "content-type" => "text/html; charset=UTF-8",
  date => "Wed, 21 Feb 2018 17:33:08 GMT",
  "referrer-policy" => "no-referrer",
  }, "HTTP::Headers"),
  _msg => "Length Required",
  _previous => [],
  _rc => 411,
  _request => bless({
  _content  => undef,
  _headers  => bless({
  "accept" => "application/json",
  "accept-encoding" => ["deflate, gzip", "gzip"],
  "accept-language" => "de",
  authorization => "Bearer 
BQD5dZkJacKuouo90nlr1R7vFhGkuW6ZexP2g0lwDOahlIWAp5BPQklv4RQCfZ9Iax12Mtp9gezP2gZwdGQZUmm9DZFyY4bGnisGCBwXrNIODeRNTOLUG0G8oYjwAVHh7siboB5o5-yr53AXTJ8qK9To_CNUFZWNda1GPgpcNaP3BDcu170ltXuuxuwfjk2oaeK81lilxz30TfFoOXl2foMk6KVk41L0QnARixbNzZHEH5oJ2Eh2OLimif-r5oUalPkHATswmjRW82qctwbHvwM4Cw",
  "cache-control" => "no-cache",
  connection => "close",
  host => "api.spotify.com",
  "icy-metadata" => 1,
  "user-agent" => "iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; DE; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.1/1513951369",
  }, "HTTP::Headers"),
  _method   => "POST",
  _protocol => "HTTP/1.0",
  _uri      => bless(do{\(my $o = 
"https://api.spotify.com/v1/me/player/next";)}, "URI::https"),
  }, "HTTP::Request"),
  }, "HTTP::Response")
  [18-02-21 18:33:08.3857] Plugins::Spotty::API::_call (1316) API call: 
me/player
  [18-02-21 18:33:08.4642] Plugins::Spotty::API::__ANON__ (1361) Caching result 
for 60 using max-age (https://api.spotify.com/v1/me)
  [18-02-21 18:33:08.4663] Plugins::Spotty::API::__ANON__ (1363) Data cached 
(https://api.spotify.com/v1/me)
  [18-02-21 18:33:08.5407] Plugins::Spotty::Connect::__ANON__ (129) Got a new 
track to be played next: spotify:track:3PdKO3LjW0wqqiaFxoBAH7
  [18-02-21 18:33:08.5419] Plugins::Spotty::Connect::__ANON__ (135) Stopping 
playback, as we have likely reached the end of our context (playlist, album, 
...)
  [18-02-21 18:33:08.5475] Plugins::Spotty::Plugin::purgeAudioCacheAfterXTracks 
(432) Played 1 song(s) since last audio cache purge.
  [18-02-21 18:33:18.1773] Plugins::Spotty::API::_call (1316) API call: 
me/player/pause?device_id=b2135ab465edddeadc63e6330591f98cf2cdc149
  [18-02-21 18:33:18.2702] Plugins::Spotty::API::__ANON__ (1385) error: 411 
Length Required
  [18-02-21 18:33:18.2788] Plugins::Spotty::API::__ANON__ (1396) bless({
  _content => "",
  _headers => bless({
  "content-length" => 1564,
  "content-type" => "text/html; charset=UTF-8",
  date => "Wed, 21 Feb 2018 17:33:18 GMT",
  "referrer-policy" => "no-referrer",
  }, "HTTP::Headers"),
  _msg => "Length Required",
  _previous => [],
  _rc => 411,
  _request => bless({
  _content  => undef,
  _headers  => bless({
  "accept" => "application/json",
  "accept-encoding" => ["deflate, gzip", "gzip"],
  "accept-language" => "de",
  authorization => "Bearer 
BQD5dZkJacKuouo90nlr1R7vFhGkuW6ZexP2g0lwDOahlIWAp5BPQklv4RQCfZ9Iax12Mtp9gezP2gZwdGQZUmm9DZFyY4bGnisGCBwXrNIODeRNTOLUG0G8oYjwAVHh7siboB5o5-yr53AXTJ8qK9To_CNUFZWNda1GPgpcNaP3BDcu170ltXuuxuwfjk2oaeK81lilxz30TfFoOXl2foMk6KVk41L0QnARixbNzZHEH5oJ2Eh2OLimif-r5oUalPkHATswmjRW82qctwbHvwM4Cw",
  "cache-control" => "no-cache",
  connection => "close",
  host => "api.spotify.com",
  "icy-metadata" => 1,
  "user-agent" => "iTunes/4.7.1 (Linux; N; Debian; armv7l-linux; DE; utf8) 
SqueezeCenter, Squeezebox Server, Logitech Media Server/7.9.1/1513951369",
  }, "HTTP::Headers"),
  _method   => "PUT",
  _protocol => "HTTP/1.0",
  _uri      => bless(do{\(my $o = 
"https://api.spotify.com/v1/me/player/pause?device_id=b2135ab465edddeadc63e6330591f98cf2cdc149";)},
 "URI::https"),
  }, "HTTP::Request"),
  }, "HTTP::Response")
--------------------


------------------------------------------------------------------------
ElFishi's Profile: http://forums.slimdevices.com/member.php?userid=15528
View this thread: http://forums.slimdevices.com/showthread.php?t=108561

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to