Skip to content

Just a simple Chrome extension to map the media keys of my keyboard to the 8tracks web player

License

Notifications You must be signed in to change notification settings

tibo/8tracksKeyboardControl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

8tracksKeyboardControl

Just a simple Chrome extension to map the media keys of a keyboard to the 8tracks web player and display track change as Chrome notifications.

Just tested on a Mac keyboard for now.

Features

  • Play/Pause key mapping
  • Next key mapping
  • Track change as Chrome notification
  • Play the first suggested playlist or launch the playlist if the player is hidden

How to install

The extension is not available on the Chrome store for now. You need to install it manually :

  • Clone the repository or download the source archive and unzip it
  • Go to your Chrome Settings
  • Go the Extensions section, make sure to enable the Developer mode and click on Load unpacked extension
  • And finally select the folder you've just unzipped earlier and you should see the extension at the top of you extension list

At this point it should find itself if you have a tab open on 8tracks and observe for new tabs. You just need to launch a playlist manually first (to make the player appear).

Development setup

Install Node and NPM and run npm install from the extension folder to install Grunt.

Run grunt or grunt debug for a live watch of the sources with automatic run of jshint and a live reload of the Chrome extension itself.

Known issues

  • May have some issues with the notifications caused by the the player update at the end of a playlist and/or the switch between two playlist.
  • May loose focus of media key if an other music/player app is launched (observed with iTunes, Spotify, VLC...). At this point this is about the concurency in the managment of the keys by the OS and there is not much we can do from a Chrome extension.

About

Just a simple Chrome extension to map the media keys of my keyboard to the 8tracks web player

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published