Giter VIP home page Giter VIP logo

spot's Introduction

spot

Spotify TUI

spot's People

Contributors

a-yee avatar

Watchers

 avatar

spot's Issues

PlayerInfo Toggle bar not showing current player info

If you press 'i' to see the player info, it will eventually not reflect the state of the player. I think the bar sets the state on the initial press of 'i' but will not update. Bug in the Update method for playinfo.

Currently empty, needs to have update to grab the latest info to update the playinfo bar.

Optimize API requests related to the playbar

The playbar ticks every 500ms or 1s and triggers an API request to check the player info. See if there is a way to cut down on the number of requests to the API. The playbar mainly uses these API calls to grab the current song and track the position within the song.

Potentially, you could force the update only on a new song if there is a way to detect it. Then track the track position for the progress bar locally on the client side.

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.