Giter Site home page Giter Site logo

spotui's Introduction

SpoTUI

Version Badge License Badge Code size Badge

Spotify in the terminal.

screenshot

Getting Started

Install with pip install spotui

Please Note: SpoTUI will not work with free Spotify accounts.

Register a developer application at: https://developer.spotify.com/dashboard/login. Once you create the application you'll need to edit it to add a Redirect URI. Use something like 'http://localhost:8888/callback' (it doesn't matter what you use really as long as it matches what's in your config file).

Run spotui to generate a sample config file at ~/.config/spotui/.spotuirc or create one manually with the following:

[spotify_api]
user_name = *Your spotify username*
client_id = *Your application client ID*
client_secret = *Your application secret*
redirect_uri = http://localhost:8888/callback

[other]
use_nerd_fonts = yes
config_version = 1 

Once you're done start the app with spotui, log in via your browser and copy the URL of the broken web page you're taken to. (This ugly authentication process is part of the underlying Spotipy library I use so don't blame me ๐Ÿ˜œ)

This app acts like a kind of remote control for Spotify. The best way to use it is in conjunction with Spotifyd which means you won't need to actually have Spotify open. Alternatively, you can just open Spotify on your computer, phone etc. (press d to pick the device to play on).

Controls

Navigation

tab Switch section

k/โ†‘ Up

j/โ†“ Down

g Scroll to top

G Scroll to bottom

Enter Select

/ Search

d Open device menu

Esc/q Quit/Back

Playback

space Play/Pause

n Next track

p Previous track

โ†’ Seek 10s forwards

โ† Seek 10s backwards

s Toggle shuffle

r Toggle repeat

FAQ

  • What do I do if something breaks? Raise an issue or submit a PR to fix my crappy code ๐Ÿ™
  • Why can't I play anything? Check you have a device selected (d) and make sure you're using a paid Spotify account
  • I get an error page when I log into Spotify This is correct - just copy the URL and paste it back into the terminal
  • Podcasts aren't playing See: #13

Dependencies

LICENSE

MIT

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.