Giter Club home page Giter Club logo

remotify's Introduction

Remotify

Quick, easy and dirty Spotify control. Uses Mac OSX helper program and an iOS app.

Explanation

I once wrote this solution because I needed a quick and easy way to control Spotify at a party we hosted at home. I only built the bare minimum because it worked for me. Add your own additions to make it more awesome and report back! I love to see some new functionality or to hear some great ideas.

Note that I am NOT responsible for malfunctioning of one of the two components. It was used once and I wrote it in an hour or so... Don't blame me if your party sucks because of the music :P

Used libraries

To get an easy access to the Spotify controls in the host application I used Tomek Wójcik's awesome tiny command-line program tune-control. It enabled me to interact with Spotify in a very easy way.

The host application serves some kind of API that the iOS app uses. Is used Robbie Hanson's library called CocoaHTTPServer. I absolutely love the simplicity of this library.

Usage

Connect your Mac running Spotify and your iOS device to the same network!!

First fire up Spotify, no need to play a song yet. Now fire up the host application. It may ask for the permission to access the internet. Allow this. The application shows some buttons and should also show the title of the song that is on pause or is playing in Spotify. At the bottom of the application it shows the IP-address your iOS app needs to connect to. You can click on the IP-address to fire up your browser and show some kind of documentation page explaining the "API".

Now fire up the iOS app on your phone and input the IP-address as shown in the host application. Also add the port! The app should automatically connect to the host. The app also shows the song info with the controls. Enjoy it!

Getting it up and running

I made a copy of the host application (OSX) available here for download. It is signed using an old certificate I had from the iOS program I followed at school so ignore any warnings. If you don't trust the package you could also compile it yourself via XCode.

For non-developers the journey ends here... The iOS app is not available in the app store. It was built for one-time usage so I didn't feel the need to deploy it. If you are an iOS developer yourself you can compile and deploy the app to your phone yourself.

Example

schermafdruk 2015-03-02 19 16 30

2015-03-02 19 16 23

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.