# DisplayoTron VLC Radio

**URL:** <https://forums.pimoroni.com/t/displayotron-vlc-radio/6813>\
**Category:** Support\
**Created:** [January 3, 2018, 10:37pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813 "2018-01-03T22:37:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![PinkPanther](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PinkPanther](https://forums.pimoroni.com/u/PinkPanther)\
**Post date:** [January 3, 2018, 10:37pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813/1 "2018-01-03T22:37:08Z")

</div>

Good evening, hoping this way maybe get a solution to a problem.  
Displayotron  
I have purchased two new devices, all great, but would like to use the devices very much with the advertised function menu with Internet Radio VLC.py …  
Pi 2, Pi 3, Pi ZeroW latest download RASPBIAN NOV2017  
after installing Pimoroni Displayotron bash oneliner … and starting /examples/“Displayotron”/VLC.py \>\> error message \>\> VLC is not installed please apt-get install vlc

> > > but VLC is installed !!!  
> > > my question what am I doing wrong ??? what is missing??? What should I do???  
> > > For help, I would be very grateful otherwise I am very satisfied with all products, e.g. On; Off Shim, pHAT-DAC …  
> > > Sincerely, Paul

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [January 4, 2018, 1:00pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813/2 "2018-01-04T13:00:37Z")

</div>

Make sure you have the `vlc.sh` file alongside your Python script. This file is used by Python to start up VLC:

> <https://github.com/pimoroni/displayotron/blob/master/examples/dothat/advanced/vlc.sh>

(There might be a better way to do this now, I should look into it)

If you do have the [vlc.sh](http://vlc.sh), run it with `./vlc.sh` and see if any errors are reported.

The `vlc.py` plugin is a little naive and can’t distinguish between VLC not being installed, and any other general error starting VLC.

---

<div class="post-metadata">

**Author:** ![PinkPanther](https://avatars.discourse-cdn.com/v4/letter/p/c67d28/32.png) [@PinkPanther](https://forums.pimoroni.com/u/PinkPanther)\
**Post date:** [January 5, 2018, 3:54pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813/3 "2018-01-05T15:54:49Z")

</div>

Thank you for the fast answer.

below the error message or the problem …

Unfortunately, I am not able to eliminate the problem myself (“I’m too stupid for it” :-()

please again for help

Thanks alot  
Paul

pi@DisplayOtron:~/Pimoroni/displayotron/examples/dothat/advanced sudo ./vlc.sh VLC media player 2.2.6 Umbrella (revision 2.2.6-0-g1aae78981c) 953 pi@DisplayOtron:~/Pimoroni/displayotron/examples/dothat/advanced [01415680] pulse audio output error: PulseAudio server connection failure: Connection refused  
[01424cf8] [cli] lua interface: Listening on host “0.0.0.0:9393”.  
pi@DisplayOtron:~/Pimoroni/displayotron/examples/dothat/advanced $

---

<div class="post-metadata">

**Author:** ![tjc](https://avatars.discourse-cdn.com/v4/letter/t/54ee81/32.png) [@tjc](https://forums.pimoroni.com/u/tjc)\
**Post date:** [January 6, 2018, 9:44pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813/4 "2018-01-06T21:44:21Z")

</div>

To run the Internet radio program open the terminal and navigate to the  
directory with [radio.py](http://radio.py) and type

sudo ./radio.py

you may get some error messages but the program runs.

Trevor

---

<div class="post-metadata">

**Author:** ![gadgetoid](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/gadgetoid/32/13_2.png) [@gadgetoid](https://forums.pimoroni.com/u/gadgetoid)\
**Post date:** [January 9, 2018, 10:54pm UTC](https://forums.pimoroni.com/t/displayotron-vlc-radio/6813/5 "2018-01-09T22:54:51Z")

</div>

This bit is curious: `PulseAudio server connection failure: Connection refused`

I wonder if VLC is trying to establish a connection to Pulse, failing, and bailing out.

If Pulse is running from one of our installers, it might be worth stopping and trying again:

```auto
sudo systemctl stop pulseaudio
./vlc.sh

```

And let me know what sort of output you get.
