Giter VIP home page Giter VIP logo

chillfindr's Introduction

chillfindr

Get spotify playlist suggestions based on given keywords.

[still in early development]

intro

This app suggest several playlists based on one or more keywords provided by the user. On playlist selection, a new firefox window is opened on a special workspace(*) with the spotify web player.

* this is a i3wm-specific setup. To change the executed command, see here

Suggestions as well as query input are implemented using zenity dialogs.

Examples

Get suggestions for 'lofi' playlists:

chillfindr.py --playlist -q="lofi"

Enter query via a dialog box. This works well for keyboard shortcuts:

chillfindr.py --playlist

Print the currently playing song:

chillfindr.py --now

Configuration

Prerequisites

This app requires a couple of python modules to be installed:

Account Management

Credentials are stored in a hidden file .cred inside the apiHandler/auth/ directory. When no .cred file is found, a default file is created. At least client_id and client_secret must be provided by the user.

The one-time setup is a bit tricky, since this is for testing only. client_id and client_secret are obtained by registering the app on your spotify developer account here. This will provide you with a client_id and client_secret. Additionally, you will have to set a redirect_uri http://localhost:2112/ in the app's settings there. The remaining process of obtaining the necessary permissions and access tokens is automated. Simply follow the instructions after starting the chillfindr.

note: This process will be improved.

chillfindr's People

Contributors

einknie avatar

Watchers

 avatar

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.