Giter Club home page Giter Club logo

remotespotifyapp's Introduction

RemoteSpotifyApp

A custom Spotify iOS app that allows remote control commands to be taken from a Bluetooth device.

The app currently has the following features:

  • Play tracks from user playlists randomly
  • Integration with the "Now Playing" section on the lock screen and ability to receive remote control events from the lock screen.
  • Use an RFduino to advance to the next track or go back to the previous track.
  • Offline playback works sometimes - there is an issue with the Spotify cache being corrupted at times.

Setup

After cloning the project, you must run git submodule init followed by git submodule update in order to download the cocoalibspotify dependency. You will also need to get an application key from https://developer.spotify.com/technologies/libspotify/, and put it into an appkey.c file in the RemoteSpotify directory.

RFduino

After installing the necessary software to program the RFduino and ensuring that the Arduino IDE is configured properly as detailed here, open the /RFDuinoSketches/Remote/Remote.ino sketch and upload it onto the RFduino.

Parts

License

Copyright (c) 2014 Alex Schimp.

Licensed under the MIT License.

remotespotifyapp's People

Contributors

aschimp avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

remotespotifyapp's Issues

Refactor RFduino sketch

Right now the Remote.ino sketch is a little disorganized. Ideally, some of the logic around button presses should be encapsulated in its own class. This could include the debouncing logic and also any logic pertaining to the length of time a button has been held down for.

Fix bug in the button hold logic (doesn't always trigger shutdown as it should)

Holding a button for over 3 seconds is supposed to trigger a system shutdown, but currently this only works approximately half of the time. Instead of trying to use the pin wake callback to watch for a button release, when a button is pressed, exit the sleep state and use the main loop to watch for the button release. When the button is released, the program can enter the sleep state again.

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.