Skip to main content

CLI Player and notifier for radio paradise

Project description

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 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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paradise_player-0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distributions

paradise_player-0.2-py3.6.egg (7.7 kB view details)

Uploaded Source

paradise_player-0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file paradise_player-0.2.tar.gz.

File metadata

File hashes

Hashes for paradise_player-0.2.tar.gz
Algorithm Hash digest
SHA256 fdb22023835d9cbce405d6fb9a94dd48ad58a4b5dcbbc4625a4004078b892abd
MD5 00e590655f9de2bb9b92b46b1f74e5a5
BLAKE2b-256 e459d54306859637f02c3cfa60463cddbb30796c8406bdb1229d41af1d676555

See more details on using hashes here.

File details

Details for the file paradise_player-0.2-py3.6.egg.

File metadata

File hashes

Hashes for paradise_player-0.2-py3.6.egg
Algorithm Hash digest
SHA256 209ad3c60a23ccbaacbacb5f31e07bec18de6be5fcda147cb493b6bce7bfb3eb
MD5 e97bb97de8e37dfedc8471a6955f5cbd
BLAKE2b-256 2d8a12b401b3254085fb560c90bc8156de7088e444bbae287b02cfd1ce2b798b

See more details on using hashes here.

File details

Details for the file paradise_player-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for paradise_player-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3b4d7300e061df98b1eedb91ef7877a08142f6bd9455865f4e74aeaf5b86f094
MD5 76abfa3b02b90812a3e61ffc8c945588
BLAKE2b-256 c9ea7eeaabce6c129227cd319915312699fe400fe7a7a03e302f393ecb5bd7c4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page