Skip to content

Online radio streaming player with minimum interface that runs on a Linux system tray

License

Notifications You must be signed in to change notification settings

thekvs/radiotray-lite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

radiotray-lite is a lightweight clone of the original Radio Tray online radio streaming player rewritten in C++.

Screenshot

Key features

  • Runs on a Linux system tray.
  • Has minimum interface possible.
  • Plays most media formats (it uses gstreamer).
  • Supports PLS, M3U, ASX, RAM, XSPF playlists.

Build

For a while this project is only tested on Ubuntu (14.04 and 16.04 versions). In order to build it you need to have installed -dev versions of the following packages:

  • libgtkmm-3.0
  • libgstreamermm-0.10-2 or libgstreamermm-1.0
  • libcurl3
  • libnotify4
  • libappindicator3
  • libmagic

To compile program run following (with obvious amendments) commands from build directory:

  • $ cmake /path/to/radiotray-lite/ -DCMAKE_INSTALL_PREFIX=/usr/
  • $ make
  • $ cpack -G DEB to create package in .deb format or $ cpack -G RPM to create package in .rpm format.

Package will be created in the packages folder of the build directory.

Configuration

Bookmarks

Copy your existing bookmarks.xml from Radio Tray (which is usually located at $HOME/.local/share/radiotray/bookmarks.xml) into $HOME/.config/radiotray-lite/ directory.

Options

Configuration file is located in the same directory as bookmarks file. It has simple XML format and following options are supported:

  • last_station -- name of the last played station. Automatically updated, you don't need to change it.
  • buffer_size -- size of the internal gstreamer's buffer.
  • buffer_duration -- number of seconds to buffer.
  • url_timeout -- timeout in seconds for fetching playlist.
  • notifications -- if set to false disables desktop notification messages. Default is true.

Example:

<?xml version="1.0"?>
<config>
  <option name="last_station" value="Rock 181" />
  <option name="buffer_size" value="102400" />
  <option name="buffer_duration" value="2" />
  <option name="url_timeout" value="5" />
  <option name="notifications" value="false" />
</config>

Licensing

See LICENSE.md file for license information.

About

Online radio streaming player with minimum interface that runs on a Linux system tray

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published