A jukebox powered by tweets on a Raspberry Pi
JavaScript Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
init.d
libs
test
.gitignore
.travis.yml
LICENSE
README.md
config.sample.js
gpio_config.sh
init.js
logger.js
package.json

README.md

tweet-jukebox

Build Status

A jukebox powered by tweets on a Raspberry Pi.

                +---------------------------------+
                |                                 |
Tweet           | Raspberry Pi                    |
(music request) |                                 |
   +            | +-----------+      +----------+ |           \o/ Music powered by:
   |            | | Twitter   | +--> | Mopidy   | |             Spotify
   +--------------> Streaming |      | Server   +------------>  Youtube
     network    | | API       | <--+ |          | |  audio      Soundcloud
                | +-----------+      +----------+ |
                |                                 |
                +---------------------------------+

Device

Tweet jukebox picture

Usage

tweet request

Tweet request syntax:

@jukebox_user song name [by artist] [#spotify|#youtube|#soundcloud]

or

@jukebox_user [link to a spotify, youtube or soundcloud music]
  • search will play the first result found for the query
  • artist is optional, but can help to search the right song
  • you can restrict the search to a specific source by using the hashtag with source name
  • if no music #source is specified, it will play the first result found on Spotify, then Youtube, then Soundcloud

A pre-configured admin user can send DM messages to jukebos user to #play, #pause, #next (skip song).

Resources needed

You can run on any device and OS that supports these softwares. I'm running everything on a Raspberry Pi

Schematic

Schematic

More instructions soon...

Copyright 2015 Luis Cipriani. Under Apache v2 License terms