Giter Club home page Giter Club logo

Comments (6)

miraclx avatar miraclx commented on May 11, 2024

Hi, please what's the URI for this playlist?

Also, do you already have something working that fixes this?

from freyr-js.

miraclx avatar miraclx commented on May 11, 2024

Found it. spotify:playlist:7tGXcabHcJOCMeWSJw0Ntr

from freyr-js.

jessicah avatar jessicah commented on May 11, 2024

I haven't added the caching yet, can do in a later commit, if you'd like. Apologies for all the earlier noise :)

from freyr-js.

miraclx avatar miraclx commented on May 11, 2024

A downside to this is the track inquisition stage is substantially time-costly as it wastefully waits until all track metadata is collected

Freyr already employs smarter solutions around the source in fixing problems like these, a future PR would utilize the already implemented asyncQueue to make this a lot faster and to process tracks as the metadata for them arrive.

from freyr-js.

miraclx avatar miraclx commented on May 11, 2024

I'm skipping caching playlist tracks here too, the getTrack line already does internal caching.

And it would be better for tracks whose metadata collection failed to be retried as opposed to being fed static and potentially incomplete data subsequent times.

from freyr-js.

miraclx avatar miraclx commented on May 11, 2024

Also, thanks for this (this led here: b08aca0...0359a35)

from freyr-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.