slartibartfast wrote: 
> > 
Code:
--------------------
  >   > [17-12-07 16:39:58.3629][17-12-07 16:47:31.6685] 
Plugins::Spotty::Connect::getNextTrack (143) We're approaching the end of a 
track - get the next track
  > [17-12-07 16:47:31.6720] Plugins::Spotty::API::_call (1293) API call: 
me/player/next
  > [17-12-07 16:47:31.8765] Plugins::Spotty::API::_call (1293) API call: 
me/player
  > [17-12-07 16:47:32.0562] Plugins::Spotty::Connect::__ANON__ (152) Got a new 
track to be played next: spotify:track:2E5tEyCqn9conRgZrXTF3Y
  > [17-12-07 16:47:32.0654] 
Plugins::Spotty::Plugin::purgeAudioCacheAfterXTracks (398) Played 3 song(s) 
since last audio cache purge.
  > [17-12-07 16:51:24.6481] Plugins::Spotty::Connect::getNextTrack (143) We're 
approaching the end of a track - get the next track
  > [17-12-07 16:51:24.6501] Plugins::Spotty::API::_call (1293) API call: 
me/player/next
  > [17-12-07 16:51:24.8127] Plugins::Spotty::API::_call (1293) API call: 
me/player
  > [17-12-07 16:51:24.9823] Plugins::Spotty::Connect::__ANON__ (152) Got a new 
track to be played next: spotify:track:2E5tEyCqn9conRgZrXTF3Y
  > [17-12-07 16:51:24.9858] 
Plugins::Spotty::Plugin::purgeAudioCacheAfterXTracks (398) Played 4 song(s) 
since last audio cache purge.
--------------------
> > 
> 
> You can see the same track number has been called twice.
> Raspberry Pi with max2play 7.9.1 - 1509357021 and plugin 1.99

Hmm... that's really odd, because the plugin doesn't manage the playlist
itself. Whenever it reaches the end of the track ("... - get next
track") it would ask Spotify what to play next ("me/player/next").
Spotify then would tell us what track to play next. In your case Spotify
seems to have returned the same track twice. But that's outside the
plugin's control. I'd have to double check whether there could be some
race condition.



Michael

http://www.herger.net/slim-plugins - Spotty, MusicArtistInfo
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=108030

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

Reply via email to