Lunux player radiotray

By | May 2, 2016

Set up and configure the player radiotray

simple minimalistic radio player that’s designed only for listening to streaming radio. After starting the program minimized in the system tray. List of radio stations, you can add from the settings window of the player.

in a fresh Linux it is mainly the repository, but just in case:

  • sudo add-apt-repository ppa:eugenesan/ppa
  • sudo apt-get update
  • sudo apt-get install radiotray

the radio file can be easily edit, here it is~/.local/share/radiotray/bookmarks.xml

Understands many formats.

radiotray

After upgrading Linux to version xenial, ceased to edit a Cyrillic dialed the radio station’s error

Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/radiotray/BookmarkConfiguration.py”, line 366, in on_edit_bookmark_clicked
self.config.set_title(_(‘Edit %s’) % selectedName)
UnicodeDecodeError: ‘ascii’ codec can’t decode byte 0xd0 in position 0: ordinal not in range(128)

It is easy to fix, edit the file /usr/lib/python2.7/dist-packages/radiotray/BookmarkConfiguration.py  –add at the beginning after the line

import sys

two lines

reload(sys)
sys.setdefaultencoding(‘utf8’)

it – then it works perfectly