Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

A large rewrite for Piface Control & Display and Your inspiration #1

Open
wants to merge 30 commits into
base: master
Choose a base branch
from

Conversation

keinstein
Copy link

The current branch is the result of my attempts to make the radio usable with my Piface Control & Display extension board.

Some limitations of the original piradio annoyed me:
• It doesn't allow autmatic configuration of the radio stations
• It does not support IR remote controls
• It deos not support to browse the directory structure of the music.
• It uses a strange design for the debian project.

Trying to solve these problems, I ended up with something that's more or less a rewrite, but supports additional features as an object oriented menu system.

At least I wanted to inform you about the project. I think some technical details could be interesting to you, too. Feel free to comment, please.

BTW. My distri is based on the MusicBox project (http://pimusicbox.com/) and uses the mopidy repositories.

Warning

As the design changed so much during the development nearly everything I don't use is probably broken.

Tobias Schlemmer added 18 commits September 27, 2014 10:55
The structure of the original radio does not fit very well with the idea
of navigating through the “directories” of mpd. A further incompatibility
between the old code and the new code is that the old radio class has
been designed to be a container for structural programming while the
new LCD code is more object oriented. This made the program inconsistent
and unstable.
The radio is basically usable, now. The development will slow down in the next months if no other people take the challenge.
Conflicts:
	README
	piradio
	piradio.postinst
	radio_class.py
	select_daemon.sh
	translate_class.py
@bobrathbone
Copy link
Owner

Hi Keinstein,

First of all my apologies for not replying to your email straight away.

I am afraid I couldn’t see your real name in the request so I had to use Keinstein.

I am going to take a good look at your code in the coming weeks.

It looks like you have some very good ideas which might be of interest for the main stream code.

Since you say this is a rewrite I think it is better to support your code in your own github repository as you have already done.

Do you have any documentation at all on your project by the way?

Regards

Bob

Bob Rathbone

http://www.bobrathbone.com/ http://www.bobrathbone.com

http://www.lpi.org/ lpic2-logo-extra-small

From: keinstein [mailto:[email protected]]
Sent: 25 November 2014 23:30
To: bobrathbone/piradio
Subject: [piradio] A large rewrite for Piface Control & Display and Your inspiration (#1)

The current branch is the result of my attempts to make the radio usable with my Piface Control & Display extension board.

Some limitations of the original piradio annoyed me:
• It doesn't allow autmatic configuration of the radio stations
• It does not support IR remote controls
• It deos not support to browse the directory structure of the music.
• It uses a strange design for the debian project.

Trying to solve these problems, I ended up with something that's more or less a rewrite, but supports additional features as an object oriented menu system.

At least I wanted to inform you about the project. I think some technical details could be interesting to you, too. Feel free to comment, please.

BTW. My distri is based on the MusicBox project (http://pimusicbox.com/) and uses the mopidy repositories.

Warning

As the design changed so much during the development nearly everything I don't use is probably broken.


You can merge this Pull Request by running

git pull https://github.com/keinstein/piradio tsradio

Or view, comment on, or merge it at:

#1

Commit Summary

  • Fix some white space.
  • Get radio running with piface Control & Diplay
  • Start development of an object oriented menu structure.
  • Get the radio running using the menu class.
  • Enable heartbeat (blinking dot).
  • Start playback upon first enter button press when last menu was the top menu.
  • Avoid unnecessary display updates.
  • Intermediate check in to construct a source package
  • Plain result of dh_make
  • Check in to avoid unneccessary trouble.
  • Many changes.
  • add debian patches and gitignore
  • Ignore certain debian files as well as temporary files.
  • Add a new configuration interface that uses .ini-like structure.
  • change mode of cpHD44780.py
  • First more ore less usable version
  • Merge branch 'master' of github.com:keinstein/piradio into tsradio

File Changes

Patch Links:


Reply to this email directly or view it on GitHub #1 . https://github.com/notifications/beacon/AGeEBqLrYtBZDtyASW4-v1XyXPlye4S7ks5nRPpkgaJpZM4DAqx-.gif

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5577 / Virus Database: 4257/8836 - Release Date: 12/30/14

This temporary enables killing the radio application from init.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants