Coder Social home page Coder Social logo

ohsevin / radiotray-lite Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thekvs/radiotray-lite

0.0 1.0 0.0 529 KB

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

License: Other

CMake 14.63% C++ 85.37%

radiotray-lite's Introduction

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.

radiotray-lite's People

Contributors

thekvs avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.