Coder Social home page Coder Social logo

Comments (2)

nt4f04uNd avatar nt4f04uNd commented on August 19, 2024

I would have expected the queue screen and player screen to close and no song to play.

When this happens I coded this for it to stop the playback, if this doesn't happen - this is a bug. The idea was that having an empty queue is invalid, and I'm not sure I want to change this. Closing the player route seems like kind of an annoying behavior compared to just resetting the queue and stopping playback.

The current behavior is especially weird when removing all items from the All tracks queue.

This likely should be fixed by optimizing the operation of removing from the queue

from sweyer.

Abestanis avatar Abestanis commented on August 19, 2024

When this happens I coded this for it to stop the playback

It is stopping, that part is ok.

This likely should be fixed by optimizing the operation of removing from the queue

I think optimizing this is a good idea, but it will make things even worse. Because then all the user sees is just closing the selection screen. It feels like the request to remove everything didn't work, like it's a bug.

Closing the player route seems like kind of an annoying behavior

For me this feels like a natural step. If I remove the last item from a queue, there is no more queue. It is definitely more expected than having my queue filled by something else. It just doesn't make sense to me that removing an element from a queue would fill it.

from sweyer.

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.