Metadata-Version: 2.1
Name: paradise-player
Version: 0.2
Summary: CLI Player and notifier for radio paradise
Home-page: UNKNOWN
Author: Thomas Chiroux
Author-email: 
License: LICENSE
Keywords: radio_paradise radio player notification
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Operating System :: POSIX :: Linux
Description-Content-Type: text/markdown
Requires-Dist: requests

# Radio Paradise player and notifier

Radio paradise: https://www.radioparadise.com

This program plays radio paradise's stream from cli and send notifications on what's currently playing using your desktop notification system.

This is tested (and certainly working only) under linux.

## usage

* Launch the program in command line with

```$ paradise_player```

* or the shortcut

```$ rpp```

* it will start to play the steam and send notification when song changes.


* Ctrl+C to stop it

## installation

```$ pip install paradise_player```

or clone the repository [from github](https://github.com/ThomasChiroux/paradise_player) and run

```$ python setup.py install```

## configuration

config file is stored in ~/.config/paradise_player/config.cfg

see file config_sample.cfg for all configuration parameters.

## dependencies

* This program requires notify-send on your system.

For archlinux, install libnotify:

```$ sudo pacman -S libnotify```

* It also requires a notification server, generally built-in if you use 'big' desktop environments like gnome or kde.

Alternatively, you can use dunst (https://dunst-project.org/)

* playing the radio stream is configurable, vlc is used by default.
  you can use ffplay (from ffmpeg), mplayer, or any cli player capable of playing http streams.

* of course this program requires python 3+ installed in your system.

## credits

Inspired by https://github.com/jmdh/rpnotify/blob/master/rpnotify


# news

## 0.2

- improved data queries using an offset available in config

## 0.1

First version available:
- plays RP using the choosen player in configuration
- notify using notify-send


