Call for testing Pyradio snap

Pyradio is a command line internet radio player.

python 2.6+/3.2+
mplayer or vlc installed and in your path

The latest version of pyradio is now in the beta channel.

Here’s how to test the release:

Install the beta version:

$ sudo snap install pyradio --beta

Run the program:

pyradio --play

This will appear. Choose your station and play it

Sounds interesting. Doesn’t work for me, though, on Ubuntu 16.04:

$ pyradio --play
Traceback (most recent call last):
  File "/snap/pyradio/2/bin/pyradio", line 11, in <module>
    load_entry_point('pyradio==0.5.2', 'console_scripts', 'pyradio')()
  File "/snap/pyradio/2/lib/python3.5/site-packages/pyradio/", line 81, in shell
  File "/snap/pyradio/2/usr/lib/python3.5/curses/", line 94, in wrapper
    return func(stdscr, *args, **kwds)
  File "/snap/pyradio/2/lib/python3.5/site-packages/pyradio/", line 59, in setup
    self.player = player.probePlayer()(self.log)
TypeError: 'NoneType' object is not callable

I don’t think having mplayer or vlc in your PATH is going to help, as a confined snap isn’t going to see them. Would it work if you bundled mplayer in the snap?

Bundle them ? You mean add them as plugins ?
If yes how do i add 2 plugins in the .yaml file ?

no … adding mplayer to “stage-packages:” to bundle it in the snap …

Fixed the error. It sould now work

This is neat! It installs, and I can choose a radio station, but it doesn’t play any audio. Perhaps you need to add the “pulseaudio” and stage-package “libpulse0”?

I get an error about jack.

It has been fixed and its working well

Nice one! - thanks!