Giter Club home page Giter Club logo

internet-radio's Introduction

Internet Radio

An add-on for the Candle Controller / WebThings Gateway that allows you to play internet radio stations.

https://www.candlesmarthome.com

It has a nice interface to find and manage radio stations.

Stations overview

Stations search

It also creates a thing with a few properties:

  • Select the desired station from a drop-down.
  • You can set the audio volume
  • You can turn the radio on and off
  • Artist and song name of currently playing music (if that data is encoded in the stream)
  • Audio output (hdmi, headphone jack, or bluetooth speaker).

It uses persistence to remember the previous state (e.g. selected radio station, volume, playing).

You will need to have vlc-player installed on your system, if it isn't already. Additionally, on Linux, you will need alsa-utils installed.

The Bluetooth functonality only works if Bluealsa is installed (The Candle Controller comes with all this pre-installed)

internet-radio's People

Contributors

flatsiedatsie avatar mrstegeman avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

internet-radio's Issues

How does it work

Hi,

I don´t understand how this is supposed to work.
I´ve added it to my gateway and edited the radio stations, but I cant select them anywhere.

edit:
I have the following reacuring log entries:

2019-09-08 15:16:41.033 ERROR  : internet-radio: Traceback (most recent call last):
2019-09-08 15:16:41.035 ERROR  : internet-radio:   File "/home/pi/.mozilla-iot/addons/internet-radio/main.py", line 12, in <module>
2019-09-08 15:16:41.037 ERROR  : internet-radio:     from pkg.internet_radio_adapter import InternetRadioAdapter  # noqa
2019-09-08 15:16:41.039 ERROR  : internet-radio:   File "/home/pi/.mozilla-iot/addons/internet-radio/pkg/internet_radio_adapter.py", line 14, in <module>
2019-09-08 15:16:41.040 ERROR  : internet-radio:     import requests
2019-09-08 15:16:41.042 ERROR  : internet-radio: ImportError: No module named 'requests'
2019-09-08 15:16:41.169 INFO   : Plugin: internet-radio died, code = 1 restarting after 21000

Dom

no sound after re-install with .deb package on raspi3

After some issues on a custom install of gateway on a rpi3 (flashed pre 1.0 of gateway), I decided to delete and re-install gateway via the .deb package.

I also re-installed your great internet-radio. However I can't get it to play, although the manual test via ffplay -nodisp -vn -infbuf -autoexit http://direct.fipradio.fr/live/fip-midfi.mp3 -volume 100 works.

One thing i noticed (but not sure how it was before the fresh install), is that the addon doesn't list any output devices.

aplay -l output:

**** List of PLAYBACK Hardware Devices ****
card 0: Headphones [bcm2835 Headphones], device 0: bcm2835 Headphones [bcm2835 Headphones]
  Subdevices: 8/8
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
  Subdevice #2: subdevice #2
  Subdevice #3: subdevice #3
  Subdevice #4: subdevice #4
  Subdevice #5: subdevice #5
  Subdevice #6: subdevice #6
  Subdevice #7: subdevice #7

problems with voco?

Hi,

since I installed the voco add-on as well, the internet radio is not working anymore.
Even a fresh install and a reboot seem not help?
Did maybe anybody encounter a similar issue? Any ideas how to fix this?

cheers
Tobias

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.