Git Product home page Git Product logo

sounddeez's Introduction

Introduction

This project provides a different front-end to WiFi connected Bose Soundtouch sound systems. This came about by a few problems I had with the official Bose app:

a) Anyone who visited my house and wanted to play music had to download the official Bose App.

b) There was no way to "queue up" a song such that it played after other songs were finished playing. In essence, there is no queueing system.

This project basically turns your device into a virtual jukebox. Anyone on your WiFi can queue up or play any song available on Deezer.

Screenshots

screenshot screenshot screenshot

About

The project consists of two different servers. A back-end server written in Go and a front end server written in node/React. The backend server handles all communication to the sound system and serves JSON to the front end server. The front end server pulls the JSON data from the backend server and displays it in a GUI using a React framework.

Instructions

I plan to make more changes to the setup to make it a little more user friendly, but right now you'll need to do a bit of work.

Open /sounddeez/goBose/bose.go and change this variable to the IP of your sound system:

const SPEAKER_IP = "http://192.168.0.14:8090/"

Start the backend Go server:

go run bose.go

Go to /sounddeez/src/pages/bosemain.js and change this line to the IP of your backend go server. Note: you can run the backand and frontend on the same server, but don't use localhost. Using localhost will cause the end-user's client to look for the server on its localhost.

this.state.controllerIP = "http://192.168.0.16:9000"

The following is a bit of a hack that I'll be changing soon, but you'll need to open /sounddeez/src/components/Queue.js and set you backend IP here:

fetch('http://192.168.0.16:9000/queue')

go to /sounddeez/ and start the frontend server:

npm install
npm start

To see if it's working, go to http://<frontend_ip>:3000/#/bosemain/search

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.