<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Displayotron3000 Pi Radio</title>
	<atom:link href="http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/</link>
	<description>reading, writing, coding, making</description>
	<lastBuildDate>Tue, 24 Oct 2023 13:43:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
	<item>
		<title>By: Ray</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-97858</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Sun, 14 Jun 2020 10:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-97858</guid>
		<description>Thanks for your reply. I have looked at other Internet Radios for Pi&#039;s and I see there are warnings that updating could cause problems. I am currently experimenting with radios that use MPD/MPC. I am trying a really basic setup this time.

Thanks, Ray</description>
		<content:encoded><![CDATA[<p>Thanks for your reply. I have looked at other Internet Radios for Pi&#8217;s and I see there are warnings that updating could cause problems. I am currently experimenting with radios that use MPD/MPC. I am trying a really basic setup this time.</p>
<p>Thanks, Ray</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blogmywiki</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-97842</link>
		<dc:creator>blogmywiki</dc:creator>
		<pubDate>Fri, 12 Jun 2020 16:04:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-97842</guid>
		<description>Hi Ray - you have my sympathies, I recently updated my &lt;a href=&quot;http://www.suppertime.co.uk/blogmywiki/2017/12/hyperpixel-touchscreen-radio/&quot; rel=&quot;nofollow&quot;&gt;touch-screen Raspberry Pi radio&lt;/a&gt; and had similar (but not identical) problems, and wasted a whole day wrestling with increasingly bizarre sound and screen issues after updating to the latest Raspbian release (Buster, I think).

I have not used my Displayotron for years, but it looks like you&#039;re using the radio program that came with the Displayotron3000 so I would recommend looking on the Pimoroni forum or contact their customer support - they are very helpful folk in my experience. https://forums.pimoroni.com/c/support/5 or email support@pimoroni.com</description>
		<content:encoded><![CDATA[<p>Hi Ray &#8211; you have my sympathies, I recently updated my <a href="http://www.suppertime.co.uk/blogmywiki/2017/12/hyperpixel-touchscreen-radio/" rel="nofollow">touch-screen Raspberry Pi radio</a> and had similar (but not identical) problems, and wasted a whole day wrestling with increasingly bizarre sound and screen issues after updating to the latest Raspbian release (Buster, I think).</p>
<p>I have not used my Displayotron for years, but it looks like you&#8217;re using the radio program that came with the Displayotron3000 so I would recommend looking on the Pimoroni forum or contact their customer support &#8211; they are very helpful folk in my experience. <a href="https://forums.pimoroni.com/c/support/5" rel="nofollow">https://forums.pimoroni.com/c/support/5</a> or email <a href="mailto:support@pimoroni.com">support@pimoroni.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-97841</link>
		<dc:creator>Ray</dc:creator>
		<pubDate>Fri, 12 Jun 2020 11:30:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-97841</guid>
		<description>Hi, I see there has been very little action on this site recently so I hope someones there. After about four years of satisfied use of this Internet radio I made the mistake of updating Linux on my Radio. It now doesn&#039;t work!

The output I get from the terminal is -

amixer: Unable to find simple control &#039;PCM&#039;,0

amixer: Unable to find simple control &#039;PCM&#039;,0

amixer: Unable to find simple control &#039;PCM&#039;,0

amixer: Cannot find the given element from control default

Traceback (most recent call last):
  File &quot;./radio.py&quot;, line 55, in 
    10  # Idle after 10 seconds
  
  File &quot;/usr/local/lib/python2.7/dist-packages/dot3k/menu.py&quot;, line 114, in __init__
    self._setup_menu(self.menu_options)
  
  File &quot;/usr/local/lib/python2.7/dist-packages/dot3k/menu.py&quot;, line 166, in _setup_menu
    value.setup(self.config)
  
  File &quot;../../plugins/volume.py&quot;, line 42, in setup
    self.output_mode = self.get_mode()
  
  File &quot;../../plugins/volume.py&quot;, line 74, in get_mode
    mode = subprocess.check_output(&quot;amixer cget numid=3 &#124; grep &#039;: values=&#039;&quot;, shell=True)
  
  File &quot;/usr/lib/python2.7/subprocess.py&quot;, line 223, in check_output
    raise CalledProcessError(retcode, cmd, output=outp

---------------------------------------------
I have very little experience of programming so doubt whether I could get to the bottom of this. Are there any kind souls out there that could help?

Thanks, Ray</description>
		<content:encoded><![CDATA[<p>Hi, I see there has been very little action on this site recently so I hope someones there. After about four years of satisfied use of this Internet radio I made the mistake of updating Linux on my Radio. It now doesn&#8217;t work!</p>
<p>The output I get from the terminal is -</p>
<p>amixer: Unable to find simple control &#8216;PCM&#8217;,0</p>
<p>amixer: Unable to find simple control &#8216;PCM&#8217;,0</p>
<p>amixer: Unable to find simple control &#8216;PCM&#8217;,0</p>
<p>amixer: Cannot find the given element from control default</p>
<p>Traceback (most recent call last):<br />
  File &#8220;./radio.py&#8221;, line 55, in<br />
    10  # Idle after 10 seconds</p>
<p>  File &#8220;/usr/local/lib/python2.7/dist-packages/dot3k/menu.py&#8221;, line 114, in __init__<br />
    self._setup_menu(self.menu_options)</p>
<p>  File &#8220;/usr/local/lib/python2.7/dist-packages/dot3k/menu.py&#8221;, line 166, in _setup_menu<br />
    value.setup(self.config)</p>
<p>  File &#8220;../../plugins/volume.py&#8221;, line 42, in setup<br />
    self.output_mode = self.get_mode()</p>
<p>  File &#8220;../../plugins/volume.py&#8221;, line 74, in get_mode<br />
    mode = subprocess.check_output(&#8220;amixer cget numid=3 | grep &#8216;: values=&#8217;&#8221;, shell=True)</p>
<p>  File &#8220;/usr/lib/python2.7/subprocess.py&#8221;, line 223, in check_output<br />
    raise CalledProcessError(retcode, cmd, output=outp</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
I have very little experience of programming so doubt whether I could get to the bottom of this. Are there any kind souls out there that could help?</p>
<p>Thanks, Ray</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: blogmywiki</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-88500</link>
		<dc:creator>blogmywiki</dc:creator>
		<pubDate>Tue, 12 Apr 2016 16:07:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-88500</guid>
		<description>Hi Dan - I don&#039;t have the HAT, I have the HAT-less version, so the files may be a little different.

I think the file you need is dot3k.cfg as in https://github.com/pimoroni/dot3k/blob/master/python/examples/dothat/advanced/dot3k.cfg 

The Dot3K makes a great Pi radio, I use mine all the time.

good luck!</description>
		<content:encoded><![CDATA[<p>Hi Dan &#8211; I don&#8217;t have the HAT, I have the HAT-less version, so the files may be a little different.</p>
<p>I think the file you need is dot3k.cfg as in <a href="https://github.com/pimoroni/dot3k/blob/master/python/examples/dothat/advanced/dot3k.cfg" rel="nofollow">https://github.com/pimoroni/dot3k/blob/master/python/examples/dothat/advanced/dot3k.cfg</a> </p>
<p>The Dot3K makes a great Pi radio, I use mine all the time.</p>
<p>good luck!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan Allton</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-88495</link>
		<dc:creator>Dan Allton</dc:creator>
		<pubDate>Mon, 11 Apr 2016 16:23:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-88495</guid>
		<description>Hi there,

I am running the radio on a displayotron HAT and it works brilliantly; however, I am struggling to find the config file to add stations - Help

DAn</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>I am running the radio on a displayotron HAT and it works brilliantly; however, I am struggling to find the config file to add stations &#8211; Help</p>
<p>DAn</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ray Leask</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-87671</link>
		<dc:creator>Ray Leask</dc:creator>
		<pubDate>Tue, 02 Feb 2016 17:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-87671</guid>
		<description>Looking at this web site again I see that I never said thanks for providing the code for the reboot/shutdown menu items.  So - thanks for doing that!

Ray</description>
		<content:encoded><![CDATA[<p>Looking at this web site again I see that I never said thanks for providing the code for the reboot/shutdown menu items.  So &#8211; thanks for doing that!</p>
<p>Ray</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-85009</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 18 Sep 2015 21:45:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-85009</guid>
		<description>hi, great setup guide, just got my displayotron up and running. Did you manage to get station name, song info and time / weather status displayed on the screen during playback of a radio stream? I used to have that feature with my mpd/mpc radio setup on 3x16 lcd. do you think it would be possible to have that done on this tiny but powerfull display?

Greetings from Glasgow, 
Greg</description>
		<content:encoded><![CDATA[<p>hi, great setup guide, just got my displayotron up and running. Did you manage to get station name, song info and time / weather status displayed on the screen during playback of a radio stream? I used to have that feature with my mpd/mpc radio setup on 3&#215;16 lcd. do you think it would be possible to have that done on this tiny but powerfull display?</p>
<p>Greetings from Glasgow,<br />
Greg</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-84473</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 26 Aug 2015 09:58:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-84473</guid>
		<description>forgot to add, when adjusting your / adding to radio.py please follow the indentations of the menu items.</description>
		<content:encoded><![CDATA[<p>forgot to add, when adjusting your / adding to radio.py please follow the indentations of the menu items.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-84471</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Wed, 26 Aug 2015 09:43:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-84471</guid>
		<description>I have now added the shutdown and restart and ipaddress plugins.

They were already available in graph.py in the plugins folder, all that was needed was to add them to radio.py

here is my copy of the relevant section of radio.py

import sys
sys.path.append(&#039;../../&#039;)

import dot3k.joystick as joystick
import dot3k.lcd as lcd
import dot3k.backlight as backlight
from dot3k.menu import Menu
from plugins.utils import Backlight, Contrast
from plugins.volume import Volume
from plugins.clock import Clock
from plugins.radio import Radio
from plugins.graph import GraphCPU, GraphTemp, IPAddress, GraphSysShutdown, GraphSysReboot
import time

# We want to use clock both as an option
# and as the idle plugin
clock = Clock(backlight)

&quot;&quot;&quot;
Using a set of nested dictionaries you can describe
the menu you want to display on dot3k.

A nested dictionary describes a submenu.
An instance of a plugin class ( derived from MenuOption ) can be used for things like settings, radio, etc
A function name will call that function.
&quot;&quot;&quot;
menu = Menu({
    &#039;Clock&#039;:clock,
    &#039;Radio Stream&#039;:Radio(),
    &#039;Volume&#039;:Volume(backlight),
    &#039;Status&#039;: {
      &#039;CPU&#039;:GraphCPU(backlight),
      &#039;Temp&#039;:GraphTemp(),
      &#039;IP Address&#039;:IPAddress()
    },
    &#039;Settings&#039;: {
      &#039;Contrast&#039;:Contrast(lcd),
      &#039;Backlight&#039;:Backlight(backlight),
      &#039;Reboot Pi&#039;:GraphSysReboot(),
      &#039;Shutdown Pi&#039;:GraphSysShutdown()
    }
  },
  lcd,   # Draw to dot3k.lcd
  clock, # Idle with the clock plugin,
  10     # Idle after 10 seconds
)


you will see I have added IPAddress, GraphSysShutdown, GraphSysReboot to the &#039;from plugins.graph import&#039; line

then added those plugins to the menu as follows

menu = Menu({
    &#039;Clock&#039;:clock,
    &#039;Radio Stream&#039;:Radio(),
    &#039;Volume&#039;:Volume(backlight),
    &#039;Status&#039;: {
      &#039;CPU&#039;:GraphCPU(backlight),
      &#039;Temp&#039;:GraphTemp(),
      &#039;IP Address&#039;:IPAddress()
    },
    &#039;Settings&#039;: {
      &#039;Contrast&#039;:Contrast(lcd),
      &#039;Backlight&#039;:Backlight(backlight),
      &#039;Reboot Pi&#039;:GraphSysReboot(),
      &#039;Shutdown Pi&#039;:GraphSysShutdown()
    }
  },

Hope this helps</description>
		<content:encoded><![CDATA[<p>I have now added the shutdown and restart and ipaddress plugins.</p>
<p>They were already available in graph.py in the plugins folder, all that was needed was to add them to radio.py</p>
<p>here is my copy of the relevant section of radio.py</p>
<p>import sys<br />
sys.path.append(&#8216;../../&#8217;)</p>
<p>import dot3k.joystick as joystick<br />
import dot3k.lcd as lcd<br />
import dot3k.backlight as backlight<br />
from dot3k.menu import Menu<br />
from plugins.utils import Backlight, Contrast<br />
from plugins.volume import Volume<br />
from plugins.clock import Clock<br />
from plugins.radio import Radio<br />
from plugins.graph import GraphCPU, GraphTemp, IPAddress, GraphSysShutdown, GraphSysReboot<br />
import time</p>
<p># We want to use clock both as an option<br />
# and as the idle plugin<br />
clock = Clock(backlight)</p>
<p>&#8220;&#8221;"<br />
Using a set of nested dictionaries you can describe<br />
the menu you want to display on dot3k.</p>
<p>A nested dictionary describes a submenu.<br />
An instance of a plugin class ( derived from MenuOption ) can be used for things like settings, radio, etc<br />
A function name will call that function.<br />
&#8220;&#8221;"<br />
menu = Menu({<br />
    &#8216;Clock&#8217;:clock,<br />
    &#8216;Radio Stream&#8217;:Radio(),<br />
    &#8216;Volume&#8217;:Volume(backlight),<br />
    &#8216;Status&#8217;: {<br />
      &#8216;CPU&#8217;:GraphCPU(backlight),<br />
      &#8216;Temp&#8217;:GraphTemp(),<br />
      &#8216;IP Address&#8217;:IPAddress()<br />
    },<br />
    &#8216;Settings&#8217;: {<br />
      &#8216;Contrast&#8217;:Contrast(lcd),<br />
      &#8216;Backlight&#8217;:Backlight(backlight),<br />
      &#8216;Reboot Pi&#8217;:GraphSysReboot(),<br />
      &#8216;Shutdown Pi&#8217;:GraphSysShutdown()<br />
    }<br />
  },<br />
  lcd,   # Draw to dot3k.lcd<br />
  clock, # Idle with the clock plugin,<br />
  10     # Idle after 10 seconds<br />
)</p>
<p>you will see I have added IPAddress, GraphSysShutdown, GraphSysReboot to the &#8216;from plugins.graph import&#8217; line</p>
<p>then added those plugins to the menu as follows</p>
<p>menu = Menu({<br />
    &#8216;Clock&#8217;:clock,<br />
    &#8216;Radio Stream&#8217;:Radio(),<br />
    &#8216;Volume&#8217;:Volume(backlight),<br />
    &#8216;Status&#8217;: {<br />
      &#8216;CPU&#8217;:GraphCPU(backlight),<br />
      &#8216;Temp&#8217;:GraphTemp(),<br />
      &#8216;IP Address&#8217;:IPAddress()<br />
    },<br />
    &#8216;Settings&#8217;: {<br />
      &#8216;Contrast&#8217;:Contrast(lcd),<br />
      &#8216;Backlight&#8217;:Backlight(backlight),<br />
      &#8216;Reboot Pi&#8217;:GraphSysReboot(),<br />
      &#8216;Shutdown Pi&#8217;:GraphSysShutdown()<br />
    }<br />
  },</p>
<p>Hope this helps</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tony</title>
		<link>http://www.suppertime.co.uk/blogmywiki/2014/11/dot3k/#comment-84320</link>
		<dc:creator>Tony</dc:creator>
		<pubDate>Thu, 20 Aug 2015 02:13:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.suppertime.co.uk/blogmywiki/?p=1738#comment-84320</guid>
		<description>I Second This :-)
Many thanks for the blog.</description>
		<content:encoded><![CDATA[<p>I Second This :-)<br />
Many thanks for the blog.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
