Skip to content
Mirrors the FIP webradios to lastfm, twitter and mastodon.
Python
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
FIP_mirror
systemd-service
.gitignore
LICENSE
Pipfile
Pipfile.lock
README.md
config_sample.ini
setup.py

README.md

FIP_mirror

Scripts mirroring the FIP webradios on lastfm, twitter and mastodon.

Since the FIP redesign, the http://www.fipradio.fr/livemeta containing the metadata in xml format isn't available anymore.

You can find the mirrors on the following lastfm accounts :

The following twitter accounts :

The following mastodon accounts :

Installation

Installation in a virtualenv with pipenv (recommended) :

pipenv install '-e .'

Classic installation :

python setup.py install

You will also have to rename/copy the config_sample.ini to config.ini and fill in your credentials.

Autostarting

A systemd service and its timer are provided in the systemd-service folder. You will have to change the service file to match your configuration.

The timer and the service files allows the script to be run every minute.

cp systemd-service/* ~/.config/systemd/user/
systemctl --user daemon-reload
systemctl --user enable --now FIP_mirror.timer

Help

FIP_mirror -h
usage: FIP_mirror [-h] [--debug] [--no_headless] [--no_posting]
                         [positional_argument]

Mirror the FIP webradios to several services.

optional arguments:
  -h, --help           show this help message and exit
  --debug              Display debugging information.
  --no_headless        Disable headless mode for the selenium browser.
  --no_posting         Disable posting to lastfm.
You can’t perform that action at this time.