Code Monkey home page Code Monkey logo

kenellorando / cadence Goto Github PK

View Code? Open in Web Editor NEW
53.0 53.0 15.0 47.65 MB

All-in-one web radio suite with browser UI, music search, request, artwork, and real-time stream information.

Home Page: https://cadenceradio.com

CSS 3.30% JavaScript 14.81% HTML 6.82% Shell 5.49% Go 65.22% Makefile 1.46% Dockerfile 2.90%
cadenceradio compose docker-compose icecast icecast2 internet-radio internet-station liquidsoap radio radio-player self-hosted selfhosted stream web-player web-radio web-radio-server webradio zutomayo

cadence's People

Contributors

jakobfrank avatar karenwithakay avatar kenellorando avatar za419 avatar zguo19 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cadence's Issues

Display (next few) requested songs

Can just be a table, showing the next nā‰¤4 songs that Cadence has been requested to play, or a message saying "No requests waiting", but I think this information should be available client-side.

Space Station is causing general slowdown on the site

On slower networks like mine at home, loading up the video causes the audio stream to stutter or stop for way too long. I think that it may be best to switch the video for some other relevant space gif. Compare ~4MB to 45 or even the compacted 28.

Song request file names with quotes fail to be passed correctly

Presumably both single and double quotes.
Requesting "sister's noise" server log:

Received: {"path":"/home/ken/Music/fripSide/01. sister"}

(note to self, I've removed the single quote from the filename for now, because I want to request this song.. for future testing, maybe use Sweet Child O'mine)

Space Station doesn't work - IMPORTANT

The space station theme changes the site subtitle correctly, but the background is black. Chicago evening and Cyberpunk bartender work correctly.

These symptoms have been replicated on the following: Edge/Chrome on Windows 10 (same device), Chrome on two different Android devices

Change the server OS (once again)

Pre-install checklist:

  • Backup music library

Install:

  • Apache
  • PHP
  • MySQL

Post-install:

  • Reconfigure streamer client
  • Map IP to domain name
  • Transfer music to new server
  • Rewrite new addresses to code
  • Get the now playing json data to work again
  • Find way to play music on the same computer again

When this is done, look into #3 before reconfiguring the stream

Create a start script

Edit 2019-02-23:

The start script will save time by automating all of the following Cadence admin tasks into a single script.

  1. Kill and start Icecast in the background
  2. Kill and start Liquidsoap in the background
  3. Initialize all webserver configuration in environment variables
  4. Start the webserver

Find way to write drop and add database indexes within index.js

Commands do not seem to work in index.js. They must be run through the database console to enable text indexes.

      // Drop old indexes
      db.collection("music").dropIndexes();
      // Enable text searching
      db.executeDbAdminCommand({
        setParameter: 1,
        textSearchEnabled: true
      });
      // Set search index
      db.collection("music").createIndex({
        title: "text",
        artist: "text",
        album: "text"
      });

Add text-shadows to Space Station theme

Occasionally, the page text becomes hard to read as it passes over clouds on Earth in this theme. Adding a small black text-shadow to outline the letters would improve legibility.

Upon further review, it appears @kenellorando has already set a text-shadow. This would therefore be better names 'improve text-shadows on....'

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.