Skip to content
Internet Radio for Raspberry Pi
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Desktop Version 6.7 Jun 27, 2018
bitmaps Version 6.7 Jun 27, 2018
cgi-bin Version 6.7 Jun 27, 2018
configs Version 6.7 Jun 27, 2018
docs Version 6.9 Dec 15, 2018
images Version 6.9 Dec 15, 2018
init.d Version 6.7 Jun 27, 2018
language Version 6.9 Dec 15, 2018
logrotate.d Version 6.7 Jun 27, 2018
lxsession Version 6.7 Jun 27, 2018
oled Version 6.9 Dec 15, 2018
rss Version 6.9 Dec 15, 2018
sgc Version 6.9 Dec 15, 2018
README Version 6.9 Dec 15, 2018
__init__.py Version 6.9 Dec 15, 2018
airplay_class.py Version 6.7 Jun 27, 2018
asound.conf.dist Version 6.2 Jan 10, 2018
build.sh
buildweb.sh Version 6.7 Jun 27, 2018
button_class.py Version 6.9 Dec 15, 2018
config_class.py Version 6.9 Dec 15, 2018
configure_audio.sh Version 6.9 Dec 15, 2018
configure_radio.sh Version 6.9 Dec 15, 2018
cosmic_class.py Version 6.7 Jun 27, 2018
create_playlist.sh Version 6.9 Dec 15, 2018
create_stations.py Version 6.9 Dec 15, 2018
display_class.py Version 6.9 Dec 15, 2018
display_current.py Version 6.2 Jan 10, 2018
display_model.py Version 6.7 Jun 27, 2018
equalizer.cmd Version 6.3 Feb 5, 2018
event_class.py Version 6.9 Dec 15, 2018
gcontrols_class.py Version 6.9 Dec 15, 2018
get_shoutcast.py Version 6.7 Jun 27, 2018
gradio.py Version 6.9 Dec 15, 2018
graphic_display.py
gtest.py Version 6.9 Dec 15, 2018
i2c_class.py Version 6.2 Jan 10, 2018
install_airplay.sh
install_streaming.sh Touch-screen and HDMI version of the radio added Jan 19, 2018
irradiod.service Version 6.2 Jan 10, 2018
language_class.py Version 6.9 Dec 15, 2018
lcd_adafruit_class.py Version 6.9 Dec 15, 2018
lcd_class.py Version 6.7 Jun 27, 2018
lcd_i2c_adafruit.py Version 6.2 Jan 10, 2018
lcd_i2c_pcf8574.py Version 6.2 Jan 10, 2018
lcd_piface_class.py
lircrc.dist Version 6.2 Jan 10, 2018
log_class.py Version 6.9 Dec 15, 2018
menu_class.py Version 6.9 Dec 15, 2018
message_class.py Version 6.9 Dec 15, 2018
no_display.py Version 6.7 Jun 27, 2018
oled_class.py Version 6.9 Dec 15, 2018
oled_hello.py Version 6.7 Jun 27, 2018
patch.sh Version 6.9 Dec 15, 2018
phatbeat_class.py Version 6.9 Dec 15, 2018
piradio Version 6.9 Dec 15, 2018
piradio.postinst Version 6.7 Jun 27, 2018
piradio.postrm Version 6.2 Jan 10, 2018
piradio.preinst Version 6.2 Jan 10, 2018
radio_class.py Version 6.9 Dec 15, 2018
radio_daemon.py Version 6.7 Jun 27, 2018
radiod.conf Version 6.9 Dec 15, 2018
radiod.py Version 6.9 Dec 15, 2018
radiod.service Version 6.2 Jan 10, 2018
radiodweb
radiogd.py Touch-screen and HDMI version of the radio added Jan 19, 2018
radioweb.postinst Version 6.7 Jun 27, 2018
rc_daemon.py Version 6.2 Jan 10, 2018
remote_control.py Version 6.7 Jun 27, 2018
rotary_class.py Version 6.9 Dec 15, 2018
rotary_class_alternative.py Version 6.9 Dec 15, 2018
rotary_switch_class.py Version 6.9 Dec 15, 2018
rss_class.py Version 6.9 Dec 15, 2018
set_mixer_id.sh Version 6.9 Dec 15, 2018
shairport-sync.service Version 6.2 Jan 10, 2018
share.diskstation Version 6.7 Jun 27, 2018
source_class.py Version 6.9 Dec 15, 2018
spotify_class.py Version 6.7 Jun 27, 2018
station.urls Version 6.9 Dec 15, 2018
status_led_class.py Version 6.7 Jun 27, 2018
translate_class.py Version 6.9 Dec 15, 2018
udp_server_class.py Version 6.2 Jan 10, 2018
vgradio.py Version 6.9 Dec 15, 2018
voice.dist Version 6.2 Jan 10, 2018
volume_class.py
web_config_class.py Version 6.7 Jun 27, 2018
wifi_class.py Version 6.9 Dec 15, 2018
wiring.py Version 6.9 Dec 15, 2018

README

Raspberry Pi Internet Radio 
---------------------------
Author : Bob Rathbone
Site   : http://www.bobrathbone.com
Email  : bob@bobrathbone.com

This program uses  Music Player Daemon 'mpd', its client 'mpc' and the python-mpd library
See http://www.musicpd.org/
Use "apt-get install mpd mpc python-mpd" to install the library
This software uses the python-mpd library. See https://pypi.python.org/pypi/python-mpd/

Version 6.9 release notes
-------------------------
1 December 2018
1) Re-implement verbose=yes feature
2) Added speak_info configuration item
3) Support for Pimoroni pHAT-Beat added 
4) Correct language file minor read error
5) Improve response of volume control
6) Add set_mixer_id.sh program to set mixer_volume_id in /etc/radiod.conf
7) PiFace CAD support added
8) Create stations program skips unsupported UDP protocol
9) mixer_volume_id parameter removed. Mixer ID now stored /var/lib/radiod/mixer_volume_id
10) Correct iqaudio DAC configuration in /boot/config.txt
11) Add hostname to info display on two line LCDs
12) Create install.log when running configure_radio.py

Version 6.8 release notes
-------------------------
18 July 2018
1) Support for small screens 480x320 added
2) Correct display of artwork exiting if mouse hover
3) Playlist creation for music library on an SD card
4) New pull_up_down parameter for configuring button interface pull up/down resistors
5) Improved Cyrillic character handling for LCD versions
6) Support for pulseaudio (if installed) added
7) Allow disabling of rotary encoders to be disabled by setting switch settings to 0
8) Set short date format if using Olimex OLED display
9) Set volume range to 10 if using Olimex OLED display
10) Correct mute function if espeak  enabled and using IQaudIO Cosmic Controller
11) Correct clear OLED last line (Volume text display overwrite error)
12) Display of special characters in graphic versions of radio (gradio and vgradio)
13) Popup messages use language file

Version 6.7 release notes
-------------------------
27th June 2018
1) Spotify (raspotify) implemented
2) Missing [SCREEN] section in radiod.conf added
3) Improved volume slider for OLED version of the radio
4) Correct shift A for volume up in gradio.py and vgradiod.py
5) Keyboard key M mutes vgradio
7) All volume and and mixer functions moved to a new volume_class.py file
7) Support for Adafruit 3.5 inch TFT touch-screen added
8) Auto-load Media (USB stick) if no network

Version 6.6 release notes
-------------------------
1 May 2018
1) vgradio and gradio check for X-windows desktop
2) Cosmic controller from IQAudio (3 button + Rotary encoder) added
3) Olimex 128x64 pixel OLED screen support added (connects to Cosmic controller)
4) Check if user wishes to re-configure radio if upgrading

Version 6.5 release notes
-------------------------
5th April 2018
Version 6.5 release notes
-------------------------
5th April 2018
1) Display model changed to support the Raspberry PI 3B Plus
2) Correct information display (IP, hosname and version info) in gradio.py
3) Shoutcast playlist creation from either command line or web interface added
4) Error in config_class.py test routine corrected
5) UDP clients (remote_control) now close socket after send/receive 
6) New script install_airplay.sh created to install shairport-sync
7) Airplay volume stored in /var/lib/radiod/airplay_volume
8) Improved bad station URL error handling
9) Correct RSS feed and title display end of text being clipped
10) Correct button/rotary encoder insensitivity when in mute 

Version 6.4 release notes
-------------------------
16th February 2018
1) Hide cursor if display_cursor=no
2) Screen blanking implemented and screen_saver=<minutes>
3) Report if a stream isn't transmitting
4) Switch between gradio and vgradio.py (if configured)
5) Menu button long press on Adafruit RGB plate issues shutdown
6) Correct radio configuration program when switching from graphic radio to LCD version

Version 6.3 release notes
-------------------------
4th February 2018
1) Date and time uses correct Locale
2) Windowed graphic radio now displays launch equalizer icon
3) Correct mouse wrongly generating click events on hover
4) Added vintage graphic radio
5) Correct hanging after reloading media  

Version 6.2 release notes
-------------------------
18 January 2018
The main change is the introduction of a Graphical/Touchscreen version of the radio
This uses the Raspbian desktop and the pygame interface and is designed
to run on the Raspberry Pi 7 inch touch screen
1) Introduction of the Graphical/Touchscreen version
2) Icecast streaming implemented
3) remote_control now detects if lircd or lirc service must be started
4) Missing create_playlist.sh added to build
5) Correct button versions of the radio not shutting down when menu button held in
6) Skip RSS and INFO if radio has no display configured
7) Create playlists splits large playlists into 5,000 line chunks
8) Create playlists also starts MPD database update
9) Create playlists selection filter implemented 
10) Implement MPD single option:
11) Startup configuration now support options RADIO,MEDIA,LAST or playlist name  
12) Improved overall program response

Version 6.1 release notes
-------------------------
1st December 2017
1) Correct random setting not being stored
2) Prevent time display in Search,Info,Source modes
3) Missing i2c_class.py file added 
4) Correct rotary encoder selection description in configure_radio
5) Prevent occasional hanging when installing
6) Correct failure to create default playlists during installation

Version 6.0 release notes
-------------------------
28th October 2017
Version 6.00 release notes
1) Complete rewrite to use a single radiod program instead of 9 seperate ones
2) LCD text only displayed if it has change. This removes screen flicker
3) New common event handler handles all user interfaces such as push buttons, 
   rotary encoders, IR remote control and web interface
4) New display module provides a common interface to all supported screens
5) New configure_radio.py program allows configuration of any hardware combination
6) PifaceCad display software not supported on Raspbian Stretch. Version 5.12 of the software
   can still be downloaded allowing PiFaceCad to run on Rspbian Jessie
7) Due to lack of PiFace software on Raspbian Stretch the IR remote control has been
   re-written to use the standard LIRC (Linux Remote Control)
8) Push button handler now in a seperate button_class.py file
9) Volume can display either as text or a series of blocks (volume_display parameter)

Manuals
-------
Version 6.x
https://bobrathbone.com/raspberrypi/documents/Raspberry%20PI%20Radio.pdf

Vintage radio
https://bobrathbone.com/raspberrypi/documents/Raspberry%20PI%20Vintage%20Radio.pdf
https://bobrathbone.com/raspberrypi/documents/Raspberry%20PI%20Vintage%20Radio%20Operating%20Instructions.pdf

Version 5.x (For PiFace CAD support only)
https://bobrathbone.com/raspberrypi/documents/Raspberry%20PI%20Radio%20V5.pdf


Github
------
Source available from Github
Version 6.x see:  https://github.com/bobrathbone/piradio6
Version 5.x see:  https://github.com/bobrathbone/piradio 

Licenses
--------
The licences for the source and documentation for this project are:
GNU General Public License. 		http://www.gnu.org/licenses/gpl.html
GNU AFFERO General Public License.	http://www.gnu.org/licenses/agpl.html
GNU Free Documentation License. 	http://www.gnu.org/licenses/fdl.html

Disclaimer 
----------
Software is provided as is and absolutly no warranties are implied or given.
The authors shall not be liable for any loss or damage however caused.


You can’t perform that action at this time.