Git Product home page Git Product logo

Comments (5)

ceuk avatar ceuk commented on May 28, 2024

Fixed in 0.1.7

from spotui.

taspelund avatar taspelund commented on May 28, 2024

I pulled down 0.1.7 and now I'm not seeing any options in the devices box. If I open up the native spotify client I see both the client and spotifyd:

➜  ~ pip3 show spotui
Name: spotui
Version: 0.1.7
Summary: Spotify TUI
Home-page: https://github.com/ceuk/spotui
Author: ceuk
Author-email: None
License: MIT
Location: /home/trey/.local/lib/python3.5/site-packages
Requires: spotipy

Screenshot_2020-01-17_01-16-32

Additionally, hitting empty with the empty devices box doesn't close the popup. I'm not sure if this is unintentional or if the user is supposed to hit Escape to close the window.

from spotui.

ceuk avatar ceuk commented on May 28, 2024

Hey @taspelund - I think I was able to recreate this. However, for me, it appeared after about 5-10 seconds. (had to close and re-open the devices menu). Does waiting for a while with the app open work for you?

from spotui.

taspelund avatar taspelund commented on May 28, 2024

@ceuk so far I've not seen the devices box populate after about 10-15 minutes. I've tried opening/closing that menu, as well as adding/playing music from a new device and neither seem to make a difference.

Perhaps there's a timing issue/race condition where the device API call isn't made initially?
I skimmed over the code and at first glance it didn't look like the devices API call is made each time d is pressed, so maybe the code path where the API call is made isn't getting hit.

I'm just surmising, but am happy to try debug versions or more tshooting steps if you'd like.

from spotui.

ceuk avatar ceuk commented on May 28, 2024

@taspelund you were exactly right, I'm stupid. It should be fixed in 0.1.9. It will now refresh devices every time you open the menu. Cheers for the help

from spotui.

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.