Giter Club home page Giter Club logo

swipo's People

Contributors

alanduong07 avatar jacob-y-pan avatar marcolagos avatar parvs1 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

swipo's Issues

When one gets to the end of a playlist, the program crashes.

This is because I recently added the "current_track" global state that allows for automatic audio playing/pausing based on the currently focused card. Swipo is currently setting current_track to undefined, so there should be a way to know when the last song is currently current_track and we just swiped it. Ideally, we should even redirect to the genrePicker for a seamless experience.

Audio should automatically play once the play button is clicked once. And it should stop whenever it is clicked again.

Right now, Swipo will play music for a card only when the play button is clicked. Ideally, we want the user to click play once and play cards automatically, whenever swiped. And then when they don't want anymore sound, they can click the button again.

This intuitively entails a wrapper component/button/module around the cards that controls all of them at once, as currently, the user is clicking on each individual card's play button.

This is a good time to explore a new audio player library, one that is customizable and programmable.

Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().

This is a strange bug that seems to occur whenever one loads an album after a playlist, or the symmetric of that, when you load an album after a playlist. Interestingly enough, there seems to be no consequences of this bug.

Steps to recreate this bug:

  1. Open Swipo
  2. Log in normally
  3. Search for a playlist
  4. after the playlist starts playing in player, click to the genrePicker page again.
  5. Search an album
  6. Done.

The most semantic error is this one: Uncaught (in promise) DOMException: The play() request was interrupted by a call to pause().

A useful thread that may be useful: https://developers.google.com/web/updates/2017/06/play-request-was-interrupted

Homepage button does not work

Similar to the genre page problem, clicking on the homepage button results in the URL auth tokens being erased. So nothing will load. Also there is no state that saves what the current playlist is, so any page changes at all will erase the URL.

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.