#mopidy

/

      • connrs joined the channel
      • connrs has quit
      • Phixyn has quit
      • Phixyn joined the channel
      • connrs joined the channel
      • connrs has quit
      • connrs joined the channel
      • connrs has quit
      • sumpfralle has quit
      • j_ybt joined the channel
      • j_ybt joined the channel
      • connrs joined the channel
      • connrs has quit
      • connrs joined the channel
      • connrs has quit
      • connrs joined the channel
      • connrs has quit
      • j_ybt has quit
      • j_ybt joined the channel
      • Ricaz joined the channel
      • asdf482_i joined the channel
      • asdf482 has quit
      • connrs joined the channel
      • kingosticks
        adamcik: anything else to add to that mopidy-spotify PR or shall i merge? It does need tests but I'd quite like to crack on with fixing playlists
      • adamcik
        it could go in like this if it's blocking you
      • main thing I want to add is some 401 handling and backoffs around that
      • something along the lines of if we get a 401 for an API request, try getting a new token and try again. And for 401s on getting a token mark the client as broken and log an error with instructions
      • potentially also doing like in the dirble client where you try again with exponential backoff, and any requests that go in before that just return {}
      • but yes all that would need tests to be safe...
      • while I was thinking that the other lookup branch could perhaps cache all tracks it sees irrespective of what API endpoint got it, so say an album or playlist lookup would prime the track cache
      • though for images this would break as the links expire within a day
      • jancoow joined the channel
      • perplexa joined the channel
      • kingosticks
        Yes that's what I was thinking too. The expir
      • the expiry might want to be different for each type. searches and artist info should expire quickly. maybe albums could live on longer
      • but a unified track cache across all API endpoints would be nice
      • adamcik
        my hope is that even with backend looksups doing a single URI at a time the cache could save us
      • or at least make things less bad until we have a new major release
      • kingosticks
        hmm. but you should be able to load an m3u full of spotify tracks.
      • and I think that's still screwed
      • connrs has quit
      • connrs joined the channel