Giter Club home page Giter Club logo

keysocket's Introduction

Global keyboard bindings to control your Chrome-based music player.

UPDATE: Now works for all versions of Chrome

Supported sites:

  • Amazon music player
  • Deezer
  • Google Music
  • Grooveshark
  • Jamstash
  • Jango.com
  • Naxos Music Library
  • Pandora
  • Slacker
  • Songza
  • SoundCloud
  • Spotify
  • Synology Audio Station v.5
  • thesixtyone
  • Tracksflow.com
  • vk.com (Vkontakte)
  • Яндекс.Музыка (Yandex.Music)
  • Youtube.com

Usage

  1. Install extension from the chrome web store.
  2. Install the KeySocket server.
    • Mac
      Install Key Socket.app.

    • Windows
      Download and run KeySocket.windows.msi.

    • Linux
      Download and run KeySocket.linux.py. Note that gnome-settings-daemon must be running for KeySocket to work. It is installed by default on Gnome- and Unity-based systems, but may need to be installed and started separately on systems using other deskstop environments (KDE, XFCE, etc.). The script also depends on Autobahn, PyGTK and dbus-python.

    • Linux Alternate Download and run keyserver.bz2.

      Note that this has no gui and requires that you know something of how X maps media keys.

Building

Mac

  1. Prerequisites:
  2. Clone this repository:
    git clone [email protected]:borismus/keysocket.git
  3. Go into the server-mac directory and run setup.py:
    python setup.py py2app
    The app is built in ./dist/Key Socket.app.

Windows

  1. Prerequisites:
  2. Clone this repository:
    git clone [email protected]:borismus/keysocket.git
  3. Go into the server-windows directory and run setup.py:
    python setup.py build
    The executable is built in ./dist/KeySocket.exe.

Linux GTK Client

  1. Prerequisites:

  2. Installation of Prerequisites on Ubuntu/Debian

    • sudo apt-get install python-dbus python-gtk2 gnome-settings-daemon
    • sudo easy_install autobahn
  3. Clone this repository:
    git clone https://github.com/borismus/keysocket.git

  4. No building required. Just run ./server-linux/keysocket.py.

Linux Go Client (less user friendly)

  1. Prerequisites:

  2. Once your go environment is setup:

    • go install -u -v github.com/hobeone/keysocket-server
    • $GOPATH/bin/keysocket-server -help
  3. If you've setup X Media Keys the Go Server listens to XF86AudioNext,Prev and Play by default. These can be changed with command line flags.

Contribute please!

  • Looking for adapters for other music players.

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.