Giter Site home page Giter Site logo

soundcloud-player's Introduction

SoundCloud Player

Control Soundcloud from your toolbar, with ease.

One of my favourite sites at the moment is SoundCloud.com; I’m playing my ever growing stream all day long while coding, so I knew exactly what to build: sound player controls in Australis style!

I was in for a pleasant surprise. Not only were the APIs straightforward to use, but the Addon-SDK APIs were also pleasantly well-documented.

Time for a couple of screenshots of the end result:

You can find the add-on on AMO at https://addons.mozilla.org/en-US/firefox/addon/soundcloud-player/

License: MPL.

Sources and build instructions of the binary components can be found at https://github.com/mstange/mediakeysappleremotesimfy/tree/895c6b9a86ab919feb4d4b93481e78db3aff8ae5

Features:

  • Looks up the first open SoundCloud tab and starts playing the first song in it.
  • Opens a new tab when it can’t find one
  • Skip to next or previous song
  • Polls the SoundCloud page structure to track player status
  • Localizable (standard SDK feature)
  • Support for OSX media keys and Apple Remote - thanks to Markus Stange!
  • Repo contains some tools that I built around it to make creating future add-ons easier:
    • CSS pre-processor, so you can write Mozilla-style CSS(tm): %define, %ifdef…else…endif
    • variable substitution
    • and more fun stuff.
    • Simple abstraction for writing wide-widget add-ons.
    • No docs. Yet. :-/

Cheers and have fun!

Mike.

soundcloud-player's People

Contributors

mikedeboer 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.