A little radio player
pip install cocoricofm==1.4
A simple radio player implemented in Python3.
The currently supported radio stations are:
Dependencies:
Optional dependencies:
Features:
# apt install gstreamer1.0-plugins-{base,good,bad} libsoup2.4-1 python3-pip gir1.2-gst-plugins-base-1.0 gir1.2-gtk-3.0 # apt install liblirc-dev $ pip3 install --user . $ pip3 install --user requirements_linux.txt $ xdg-user-dirs-update
Some of the dependencies can be installed with Homebrew:
$ brew install python3 gobject-introspection libsoup gtk+3 gstreamer gst-plugins-{base,good,bad} gst-python
And the remaining Python packages using pip, optionally inside a dedicated virtualenv:
$ pip3 install -r . $ pip3 install -r requirements_macOS.txt
To run without installing, from the project root directory:
$ python3 -m cocoricofm [options]
To install:
Use gen_pylast_md5sum.py to get your password hashes for libre.fm/last.fm
Copy cocoricofm.cfg.sample to ~/.config/cocoricofm.cfg and edit accordingly
Run either one of these commands:
$ sudo python3 setup.py develop $ sudo python3 setup.py install
A cocoricofm executable script should now be available in your $PATH.