Coder Social home page Coder Social logo

data-science-lab-radio's Introduction

Data Science Lab radio

During work, it can be quiet in the lab. Since we had a leftover amplifier and some decent speakers, we thought to create a jukebox-like music player. It should work with internet radio stations, but also Spotify songs and playlists. This repository contains the frontend as an HTML + JavaScript application to control Modipy hosted on a Raspberry Pi, which is connected to the amplifier and speakers.

We will always make sure that the main branch is stable. But as this jukebox is in use every day, it will be updated regularly. At some point it will pivot to use WebSockets and the GUI will probably change quite often.

Installation

First make sure to have Mopidy installed, together with its TuneIn (radio) and Spotify (Spotify, obviously) extensions.

Then clone this repository and run the HTML file from a browser. Easy does it!

Note: at some point we'll probably move to Mopidy's built-in server to be able to use ES6 Modules, and by extension Mopidy's built-in WebSockets and event system.

Configuration

We assume default settings here, so Mopidy should run on localhost:6680. Our Raspberry Pi's hostname and test sounds are blatantly hardcode in js/add-test-sound.js. Please change that file to point to a test file in your own setup.

Other than that, setup your Mopidy configuration as is required per their documentation, i.e. Spotify credentials.

Software used

data-science-lab-radio's People

Contributors

lucky-loek avatar

Stargazers

Šimon 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.